Hi,
I'm adding some <li> elements to a list that already exists using JS. The <li> elements are added and shown correctly, but the code I append to each <li>, using innerHTML, is not being...
Hi,
I'm having some problems printing a webpage whose contents are partially created using JS, through the addition of innerHTML.
I have gone through the following 'troubleshooting':
Yep, that was it. I applied the handler to different divs assuming that only one of them in the stack would actually be 'clickable'. Now it works perfectly. :) Cheers!
I absolutely know. :) I managed to host the page and the entire js code at http://filmen.planetaclix.pt/test.
Both DIVs to be removed ('MSG_cont1' and 'MSG_cont2') are also generated...
Hi all,
I'm trying to remove a div using JavaScript. I've noticed that the best way to do this is to use the parentNode of the element we want to manipulate.
Here's the basic code:
That wasn't it.
It seems the relative position between layers, when nesting, is dealt with differently in both browsers. :mad: Therefore, the events associated to the...
Hi,
Thanks for the fast reply.
My bad... That DIV does exist, I just didn't include it in the pasted code. By the way, this works wonderfully on IE, but not on FireFox.
Hi all,
I've built a menu through which the visibility of certain layers (among other details) is controlled through the onMouse events applied to block (DIV) elements.
Here's the code:
Well, it works fine in both IE and Firefox (the two main browsers).
I'm using such a function (without applying the CSS styles you've proposed) so I have some flexibility regarding behaviors.
...
Hi,
I'm sort of new to JavaScript.
I would like to create a function which, when called, changes the background color of the paragraph over which the mouse is pointed. I could apply the code