| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Aug 2004
Posts: 21
|
Ideas on image maps?
I need some help figuring out a project. I want to talke a picture of a firefighter in his gear. I want the user to be able to mouse over diferent parts of the firefighters gear to get a description of what it is. Flash is out of the question, so do I go with an image map? Any suggestions would be helpful! |
|
|
|
|
|
#2 (permalink) |
|
Registered User
Join Date: Nov 2006
Posts: 6
|
Javascript would be the key to that. You could write a script that makes a DIV visible over where u hold the mouse, displaying your fire fighter's gear description. (Just recently got back into web designing, but that sounds about right to me) |
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Aug 2004
Posts: 21
|
I was sent this link from a buddy: http://bf2s.com/player/43457727/ If you scroll down to the Awards section, that is the affect I want I think. I suppose that is made from javascript and css maybe? |
|
|
|
#4 (permalink) |
|
Registered User
Join Date: Nov 2006
Posts: 6
|
Checked the source code, and yep, that's javascript. It makes use of the onmouseover="show_mine(this)" and onmouseout="hide_mine(this)" It uses scripts named show_mine and hide_mine which make the div visible/invisible, and (this) referring to the element it was labeled in. this is the source of the javascript: http://static.bf2s.com/js/show.js |
|
![]() |