Inserting and Removing UL -- Having Trouble
Posted: Thu Jan 14, 2010 8:33 am
I put together this very short sample of code here:
http://volomike.com/downloads/sample1.tar.gz
(BTW, that's not how I normally write software. The client just wanted something in the fewest amount of files as a kind of one-off thing.)
The code works on Firefox, Chrome, and Safari -- I can expand nodes of UL/LIs and then remove them as I click back up the tree. But on IE and Opera, you can see the bug -- it doesn't seem to like the jQuery very well.
On IE, it expands okay with no issue. But removing nodes is another thing -- it seems to remove like the child of the child.
On Opera, expanding causes the left margin to move. And then removing nodes has the same problem as IE.
What could I be doing wrong?
http://volomike.com/downloads/sample1.tar.gz
(BTW, that's not how I normally write software. The client just wanted something in the fewest amount of files as a kind of one-off thing.)
The code works on Firefox, Chrome, and Safari -- I can expand nodes of UL/LIs and then remove them as I click back up the tree. But on IE and Opera, you can see the bug -- it doesn't seem to like the jQuery very well.
On IE, it expands okay with no issue. But removing nodes is another thing -- it seems to remove like the child of the child.
On Opera, expanding causes the left margin to move. And then removing nodes has the same problem as IE.
What could I be doing wrong?