Im using IE but i am writing my code so that it is compatable with both Netscape and IE. What i have is a main image on the screen and series of layers, which pop up at specific click points on the image with relevant information, links, etc. They start of hidden, at the moment i am doing that the dirty way, by using a function and using each layers name, but i would rather my code was tidy and used a for loop to hide all.
Another quick question is that i wanted to put in a piece of code to trap the left mouse button when clicked off the certain point where it reveals a layer it will then close the active layer. The trouble is when i do that the resulting layers which pop up now no longer function, ie: the links dont work when you click on them. I realise this is because im trapping the left mouse event then passing the function to hide all layers, but how do you then do it without affecting the functionality of the newly visible layer?
Matt
ps: Hope you follow all that