Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mouse over a smaller image and display a large one?

Status
Not open for further replies.

humour

Programmer
Nov 24, 2003
87
re:Mouse over a smaller image and display a large one?

Because IE now almost always doesnt display popups (unless the user clicks to allow them).

I want to:

- Throw away my old web-design which had users click on a smaller image and have a larger image popup in a new browser window...

What I want is:

Users to mouse over a smaller image and have a larger one show up

q1: Anybody have example code to do this?
q2: Any comments on this approach?
q3: Anybody disagree that this is a BETTER approach given that IE is now quite unfriendly when it comes to using POPUPS legitimately.

Thanks in advance.

Humour
 
You'll have to use either JavaScript or CSS to achieve the affect you are looking for, although both methods may come with certain obstacles. For example, if you use JavaScript what happens if the user has JavaScript disabled? If you use CSS (and the "hover" attribute) then what happens if the user's browser doesn't support CSS?

The best accessible method, would be to simply show a thumbnail and use an anchor tag to direct the user to:

1) The image directly
2) A page which displays the full size image


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top