Availability: |
| |||
Property/method value type: | Boolean primitive | |||
JavaScript syntax: | IE | myObject.ondragstart = aHandler | ||
HTML syntax: | <HTMLTag onDragStart="..."> | |||
Argument list: | aHandler | A reference to a function object to handle the event | ||
Supported by objects: | ACRONYM, ADDRESS, B, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CODE, DD, DEL, DFN, DIR, DIV, DL, Document, DT, EM, FIELDSET, FONT, FORM, H1, HR, I, IMG, Input, INS, KBD, LABEL, LEGEND, LI, LISTING, MARQUEE, MENU, OBJECT, OL, P, PLAINTEXT, PRE, Q, S, SAMP, Select, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR |
At the commencement of a drag, this event trigger can be used to initiate some kind of feedback animation effect to tell the user where the dragged items can be deposited.
Prev | Home | Next |
onDragOver | Up | onDrop |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |