View Full Version : rollover text

09-26-2005, 04:19 PM
Hi all who can help

I have a problem with some javascript!!!

I want the user to veiw some text when they rollover certain links in my page,

but i want specific text that is in another frame in the page, is this possible, and if so can someone please help me

Thanks :confused:

09-26-2005, 04:39 PM
what i really need to know is how can i get the text to change in one frame when i rollover a link in the other.......

yes thats what i ment to say

09-26-2005, 07:24 PM
Sure, it's possible. you can do this:

<a target="targetframenamehere" href="thislinkstext.html" onMouseOver="javascript: parent.targetframenamehere.location='thislinkstext.html'">Your text</a>

If for some reason onMouseOver doesn't work (like if JavaScript is disabled), I added the ability to click the link to get it also. You'll have to change the actual names to what you have of course.