View Full Version : Hover and Target


Aenka
05-26-2003, 02:25 AM
I am using a javascript code so that when you hover over an image link, the image changes. Unfortunately, I am also using iframes, and I cannot figure out how to make the link target into my iframe. How can I do this?

Cherchezlafemme
05-26-2003, 02:35 AM
Ok on the page that holds the frames you have this code:

<iframe src="URL" name="Inlineframe" width="200" height="575" style="border: 1 dashed #ffdb1b" style="position: absolute; left: 10px; top: 175px;"></iframe>


Now when you target, target it the name you gave your iframe so the link would be this:

<a href="URL" target="Inlineframe">Whatever goes here</a>


If you still don't get it search the forum!!!

Aenka
05-26-2003, 02:38 AM
Okay, I understand that, but the javascript code I'm using looks like this:

<applet code="fphover.class" codebase="../_fpclass/" width="82" height="51">
<param name="url" value="http://silverthorns.net/me.html" valuetype="ref">
<param name="image" value="dunno_2x1.jpg" valuetype="ref">
<param name="hoverimage" value="2x1_2.jpg" valuetype="ref">
</applet>

And I don't know where to put the target on that. Is there an easier hover code? Or is there a way to target the link?

Cherchezlafemme
05-26-2003, 02:45 AM
after the width and hieght stuff and value stuff!

Aenka
05-26-2003, 02:49 AM
Wooo...guess who feels stupid now? I think I tried sticking it everywhere but there...

Thanks so much for the help!!