View Full Version : Using omMouseOver to auto display targeted text of a 2nd page inside a separate frame
07-26-2002, 07:04 PM
What i would like to do is be able to use the 'onMouse Over' property of a link to automatically jump to a specified targeted paragraph of text contained on another html file (display it of course)...BUT can it be done when i want the display to be shown in another frame located outside of the main 'onMouseOver' property activation.
If this can be achieved could this be then used to do multiple targeted paragraphs (of course only using one 'onMouseOver' property link at a time).
07-26-2002, 11:29 PM
from what you describe, it is just "linking" to an anchor in another page in another frame...
//function that does what you want..
if the 'sompage.html' is different..you can always pass everything into the function....ala..
let me know.
07-29-2002, 07:56 AM
Hi there BrightNail,
Well just to let u know it does work but with a few small kinks...
I have added the code you gave me (with my test variables):
and where the onMouseOver effect is to take place the code looks like this:
<a href=logo-menu.html onclick="dblact()" onMouseOver="autolink('firstscroll');return true">
Now the problem is that your code
is not doing anything except giving me an error msg stating:
" 'document.top.location' is null or not an object"
When i replace your code with "parent.top.location.href" it works (slightly), it breaks all frames and displays the 'firstscroll' section of 'top.html' in a clean browser window (by me having to click 'back' to view & retest the onMouseOver area again).
I would like it to do just that BUT inside a frame of its own (aka no breaking frames), whilst still displaying the main onMouseOver area.
If you can't follow what I'm trying to do - let me know your private email (if this is allowed) and i'll get "test" document ready for you to view on the web.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.