View Single Post
  #1 (permalink)  
Old 08-31-03, 04:53 PM
Caleb Caleb is offline
New Member
 
Join Date: Aug 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Question PLZ HLP! Sending Javascript between two frames.

I'm sure it's possible to send javascript code from one frame to another, right?

What I have is a page with two iframes. One iframe is a seperate page with image links. The seccond iframe is supposed to show an image and a description of the links from the first iframe, when the link is hovered over with the mouse (onmouseover).

What I've come to conclude, is that I want to use:

Code:
onMouseOver="parent.frames['FRAME_02'].document.
I can easily show a different image to the second frame using:

Code:
onMouseOver="parent.frames['FRAME_02'].document.images[IMAGE].src='SOURCE'
but that only does half the job. I need to also show text underneath this image. and i can only assume that sending javascript from one frame to the other will help me out, but i do not know where to begin.

this is why i think javascript should be thrown around. but i can't seem to figure it out.

Any help would be much appreciated. THNX
Reply With Quote