Page 1 of 1

Inserting and Removing UL -- Having Trouble

Posted: Thu Jan 14, 2010 8:33 am
by volomike
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?

Re: Inserting and Removing UL -- Having Trouble

Posted: Thu Jan 14, 2010 12:32 pm
by daedalus__
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