Rollover across frames??

They have: 75 posts

Joined: Mar 2000

Just curious if anyone out there knows if it's possible to have one image(or text) effect an image in another frame?
If it's possible, what would be necessary to do it?

Thanks,
-Tallon-

-tallon

AndyB's picture

They have: 344 posts

Joined: Aug 1999

Yep.

If you have an image NAMEd image1 in the frame called LEFT

image src="some.gif" name=image1

then adapt the 'standard' onMouseOver, onMouseOut code so that it includes something like ...

parent.left.document.images.image1.src='another.gif'

that changes whatever image was occupying the space NAMEd image 1 ("some.gif" in this example) into the image called "another.gif"

[This message has been edited by AndyB (edited 20 March 2000).]

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi,

Along the same lines, you should be able to have one pop another -- ala dHTML. Although I've never tried it (no need), I don't see any problems other than the DOM's syntax.

Vinny

------------------
GrassBlade: cut&paste javascript

Where the world once stood
the blades of grass cut me still

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.