HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
complicated rollover image
Post new topic   Reply to topic    HTML Help Forum Index -> General HTML
View previous topic :: View next topic  
Author Message
clampkingdom



Joined: 07 Oct 2009
Posts: 1

PostPosted: Wed Oct 07, 2009 8:36 pm     complicated rollover image Reply with quote

I was curious if its possible to take one image and create 3 different rollovers depending on which part of the image you put the mouse over (left - middle - right) I have a black and white landscape photo thats 3 inches wide and 1 inch tall. I'd like the it to be replaced with a red version of the photo when the mouse is over the left side, a blue version when rolled over in the middle and a yellow version when the mouse is on the right side. Is that even possible? thanks!
PayneLess Designs



Joined: 28 Feb 2007
Posts: 3598
Location: Biloxi, MS

PostPosted: Wed Oct 07, 2009 9:12 pm     Reply with quote

Rather interesting idea. I think that might be done by making the image as an image map for the 3 hot areas then including the JavaScript swap code for each link section. Never tried it myself, but don't see why it couldn't be done, but I've been wrong before. Razz
sticks464



Joined: 31 Dec 2006
Posts: 2311

PostPosted: Thu Oct 08, 2009 8:51 am     Reply with quote

Here's a tutorial for doing an image swap with an image map. Should be exactly what you need.
PayneLess Designs



Joined: 28 Feb 2007
Posts: 3598
Location: Biloxi, MS

PostPosted: Thu Oct 08, 2009 9:17 am     Reply with quote

Well, Sticks, that will save me some time from having to make my own. Razz Hate re-inventing the wheel so may use that one day. Looks exactly like what OP needs.

Thanks. You're always there with the "bestest" of answers.
sticks464



Joined: 31 Dec 2006
Posts: 2311

PostPosted: Thu Oct 08, 2009 1:14 pm     Reply with quote

Thanks Ron, it took me awhile to find it, I started out thinking sprites would do it but that was a no-go.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> General HTML All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial