[Typo3] Drag and drop in backend
Stephane Schitter
stephane.schitter at free.fr
Wed Jun 22 07:51:15 CEST 2005
Thanks a lot Jeff!
I tested it successfully on IE as well. Now it's in the ss_dragdrop version
0.6.0
I have however no access to test it on Opera or Konqueror (or any other
browser), I hope it does not break them.
Cheers,
Stephane
Quoting Jeff Segars <jsegars at alumni.rice.edu>:
> 2 changes to ux_alt_db_navframe.php make the page icon work...
>
> At line 15, I just added an ID to the span tag so that it can be
> referenced later on....
> 15: return '<span id="'.$row['uid'].'" ondragstart=....
>
> At line 117, I inserted a new line. This line grabs the image
> corresponding to the ID we set up earlier and sets the dragIcon's
> image to it.
> 117: document.getElementById("dragIcon").innerHTML =
> document.getElementById(dragID).innerHTML;
>
> I don't have access to IE to test there but I believe IE supports
> innerHTML so it should be fine. It does work correctly in Safari and
> Firefox.
More information about the TYPO3-english
mailing list