Hi All,
ich musste eine Frames-Seite bauen, sorry, braucht der Kunde halt so. Naja ein aktiver Menüpunkt enthält bei diesem Projekt ein kleines Gif vor dem Menüpunkt. Jetzt will ich aber auf keinen Fall 20 .html-Navigationsseiten bauen, sondern dieses Gif dynamisch auswechseln…was muss ich tun? Ich kenn mich noch nicht so gut mit js aus, aber kann das zeugs schon ganz gut einbauen, verändern und damit spielen.
Grüsse
Timsta
BITTE HELF TMIR IST ZEÌTLICH SEHR WICHITIG DANKE DANKE!
ein aktiver Menüpunkt enthält bei diesem Projekt
ein kleines Gif vor dem Menüpunkt. Jetzt will ich aber auf
keinen Fall 20 .html-Navigationsseiten bauen, sondern dieses
Gif dynamisch auswechseln
I must say, this is one awsome script. This is perfect if you are using a bunch of mouse overs in frames and want the user to
see what image they clicked. This script can also use 3 images. You can have a different image when the user click on the
link just like in this example.
This following lines of code go into your tag. You need to change IMAGE ON, IMAGE OFF, and IMAGE
STAY.
These are your images put them anywhere in your page. Change YOUR LINK, FRAME NAME(if you are using frames), and
IMAGE OFF.
Now if you want add more images, you’ll have to adjust the top script by adding these additional lines. (This is an example
of how to add a third image image) This goes after the lines that look identical.
image3 = new Image();
image3.src = "IMAGE OFF #3";
image3on = new Image();
image3on.src = "IMAGE ON #3";
image3stay = new Image();
image3stay.src = "IMAGE STAY #3";
Notice how „image2“ went to „image3“ and „image2on“ went to „image3on“ and „image2stay“ went to „image3stay“. To
add a fourth image you would replace all the „image3“'s with „image4“ and so on.
Now put this link in the body of your document to make the third image visible.
Notice how the image number went up to „image3“. Repet all the steps that I just showed you to put in a fourth or fifth image
and change „image3“ to „image4“ or „image5“.