Jump to content

Creating a popup window or using a frame


Guest mlckiwigirl

Recommended Posts

Guest mlckiwigirl

I have been working on a small project where I want an image to appear after the cursor hovers over a smaller image. I also wanted the larger images to load when the page loads, not when the user hover their cursor over the thumbnail.I have managed to figure out how to change an image by mouseover.The bottom image on this page illustrates this:http://www.thenaturalstructure.com/test.htmlWhat I want to happen from this is when the cursor hovers over the small image I want the larger image to pop-up within a customised frame. Once the cursor moves away from the smaller image the large image would disappear.From what I have read frames maybe the best way to go. I have found a few examples but it difficult to understand the code at this point.examples:http://www.istockphoto.com/file_search.php...file&text=beadshttp://www.premiumwanadoo.com/dhteumeuleu/index.phpIf anyone could give me some tips to get me started I would be really grateful.Maria

Link to comment
Share on other sites

  • 2 weeks later...

And what about the window.createPopup() (IE only) function?It can be showed at hover and not-showed at mouseout :(:) p = window.createPopup() p.specificationsfunction ShowPopup(State){ if (State == "show") p.show(width,height,horizposition,verticposition) else if (State == "hide") p.show(0,0,0,0)}<element onmouseover='ShowPopup("show")' onmouseout='ShowPopup("hide")'>:)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...