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?
Inserting and Removing UL -- Having Trouble
Moderator: General Moderators
- daedalus__
- DevNet Resident
- Posts: 1925
- Joined: Thu Feb 09, 2006 4:52 pm
Re: Inserting and Removing UL -- Having Trouble
im sure that the margin 'moving' is a styling issue. check your css.
im still trying to figure out what my be wrong with the javascript. i need coffee and i dont want to boot out of windows yet so ill get back to you
im still trying to figure out what my be wrong with the javascript. i need coffee and i dont want to boot out of windows yet so ill get back to you