Using YUI v2.8.0r4 and Firefox v3.5 (on a Linux RedHat Fedora 8 system).
I've successfully managed to get the drag and drop example
working in my setup.
The problem comes in when the list item has a <div> or <span> element
within it that I want to change the visibility on. Simplified example:
<li class="list1" id="li0_0">
<a onclick="toggleContainer("extra"); return false;"
<img src="/images/expand.jpg" />
<strong>Put Label Here:</strong>
Put Value Here
<div id="extra" style="display: none;">
There is an image that I can click on that calls toggleContainer().
This function toggles the display style of the "extra" div section.
Once this list item is dragged, changing the display style has no effect
(before dragging, it works as expected). Doesn't matter if the item is
dragged to the other box, moved within the same box, or just dragged to
nowhere so that it snaps back into place. Once dragged, changing
just nothing happens. Even line stepped using Firebox to make sure
toggleContainer() is setting the correct value (div.style.display = ...)
and that's fine.
Is <table> screwing things up? I would appreciate any suggestions on
how to get around this or other things to try to help figure out the
Adam Stein @ Xerox Corporation Email: adam@...
Disclaimer: Any/All views expressed
here have been proven to be my own. [http://www.csh.rit.edu/~adam/%5d