RE: More drag and drop

2004-09-07 Thread Cornillon, Matthieu (Consultant)
>> However, I can't seem to get it to work 
>> with text unless I select the text  

 
> not 100% surebut the text could be  
> in a div and the div could have somehting  
> along the lines of 

 
John,

 
I'm not sure about the DIV tag that Bryan suggested.  It may indeed work.
The other way to do it is to wrap the text with an  tag.  That's how I
did it.  In my case, they were actually hyperlinks anyway, but I think that
it works the same if you use the  tag with only the name parameter.

 
Matthieu
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: SOT: More drag and drop

2004-09-03 Thread Paul Hastings
> Check out the dragdrop library at http://www.walterzorn.com   We've
> used it for a couple things, and it's pretty slick.

yeah we use walter's stuff (he's got a nifty js drawing lib too) for many
clientside functions. its the bee's knees.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: SOT: More drag and drop

2004-09-03 Thread Barney Boisvert
Check out the dragdrop library at http://www.walterzorn.com   We've
used it for a couple things, and it's pretty slick.

cheers,
barneyb

On Fri, 3 Sep 2004 13:20:13 -0400, Burns, John D
<[EMAIL PROTECTED]> wrote:
> Ok, I know this is off topic, but the previous questions about the
> onDrag and onDrop events got me curious and since most government
> employees (my customers) are off today, I'm kinda piddling around with
> some ideas.  With that said, I got some onDrag and onDrop events working
> with images dropping one on another.  However, I can't seem to get it to
> work with text unless I select the text and then drag the selection.
> I'm basically trying to make a webmail program along the lines of what
> Microsoft did with the new Outlook Web Access where you can select a
> message from the list (From, Date, Subject) and drag it to a folder and
> have it move.  I think the basic problem is that any time I click to
> drag, it selects the text.  Anyone have any ideas on how to make the
> text so it's non-selectable or some way to make this work?  I would
> appreciate any ideas that you would have.
> 
> John Burns

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: More drag and drop

2004-09-03 Thread Bryan Stevenson
not 100% surebut the text could be in a div and the div could have somehting along the lines of

onFocus(this.blur;);  of course that may stop you from dragging it as well ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

  - Original Message - 
  From: Burns, John D 
  To: CF-Talk 
  Sent: Friday, September 03, 2004 10:20 AM
  Subject: SOT: More drag and drop

  Ok, I know this is off topic, but the previous questions about the
  onDrag and onDrop events got me curious and since most government
  employees (my customers) are off today, I'm kinda piddling around with
  some ideas.  With that said, I got some onDrag and onDrop events working
  with images dropping one on another.  However, I can't seem to get it to
  work with text unless I select the text and then drag the selection.
  I'm basically trying to make a webmail program along the lines of what
  Microsoft did with the new Outlook Web Access where you can select a
  message from the list (From, Date, Subject) and drag it to a folder and
  have it move.  I think the basic problem is that any time I click to
  drag, it selects the text.  Anyone have any ideas on how to make the
  text so it's non-selectable or some way to make this work?  I would
  appreciate any ideas that you would have.

  John Burns
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




SOT: More drag and drop

2004-09-03 Thread Burns, John D
Ok, I know this is off topic, but the previous questions about the
onDrag and onDrop events got me curious and since most government
employees (my customers) are off today, I'm kinda piddling around with
some ideas.  With that said, I got some onDrag and onDrop events working
with images dropping one on another.  However, I can't seem to get it to
work with text unless I select the text and then drag the selection.
I'm basically trying to make a webmail program along the lines of what
Microsoft did with the new Outlook Web Access where you can select a
message from the list (From, Date, Subject) and drag it to a folder and
have it move.  I think the basic problem is that any time I click to
drag, it selects the text.  Anyone have any ideas on how to make the
text so it's non-selectable or some way to make this work?  I would
appreciate any ideas that you would have.

 
John Burns
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]