Hello!
I´m making a website for a school project, where I´m using layers. I made the design in Illustrator, sliced it and used the slices as links(buttons). All the links have a rollover (mouse enter) and on click they show a layer.
Now, what I want to do is that when the layer connected to one image is showing, I want the image to change to another image (like a "close window" button). And then when you click it and the layer hides I want the image to turn back to normal.
Easily explained I want image x to change IF layer x is visible. But I have no idea how to do that.
Some java scripting could probably do that, but I don´t know javascript, and I certainly don´t know how to incorporate it into the existing code...
Thanks in advance!
...-:Cináed:-...
I´m making a website for a school project, where I´m using layers. I made the design in Illustrator, sliced it and used the slices as links(buttons). All the links have a rollover (mouse enter) and on click they show a layer.
Now, what I want to do is that when the layer connected to one image is showing, I want the image to change to another image (like a "close window" button). And then when you click it and the layer hides I want the image to turn back to normal.
Easily explained I want image x to change IF layer x is visible. But I have no idea how to do that.
Some java scripting could probably do that, but I don´t know javascript, and I certainly don´t know how to incorporate it into the existing code...
Thanks in advance!
...-:Cináed:-...













