|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Dragging and Dropping HTML instead of textI'm trying to drag content into a rich text control and have it render the
formatted HTML instead of dragging in the plain text of the HTML. It seems like the javascript event.dataTransfer object can only handle text and URLs. I was hoping someone had attempted this or could offer some guidance on making this happen. Thanks for your time. You would need to grab the onmousedown event of the element you are dragging.
In the onmouseup event, if you released it over your target, then manually pass the tag and style information. You would have to do bounding box checks on the mouse position to determine where the events fired. -- Show quoteHide quoteStaff Consultant II - Enterprise Web Services - Cardinal Solutions Group Future Business Model - National City Mortgage "Sammy Snyders" wrote: > I'm trying to drag content into a rich text control and have it render the > formatted HTML instead of dragging in the plain text of the HTML. It seems > like the javascript event.dataTransfer object can only handle text and URLs. > I was hoping someone had attempted this or could offer some guidance on > making this happen. > > Thanks for your time.
Validation controls validate before form submits
HtmlInputFile issue binding - DropDownList flaw/bug? asp 2.0 wizard control (how to set focus on button) check if image or file exists Implicit conversion from one object to another Easy way to use bound combo with foreignkey id/value on webform? set focus List'o MyProj CSS Elements? DropDownList replaces the & with & |
|||||||||||||||||||||||