Changing image BG onclick

Reply

Join Date: Mar 2008
Posts: 268
Reputation: Traicey is an unknown quantity at this point 
Solved Threads: 19
Traicey's Avatar
Traicey Traicey is offline Offline
Posting Whiz in Training

Changing image BG onclick

 
0
  #1
Mar 25th, 2009
Hi guys

I have 5 images which are hyperlink, so each time I click their color should change to yellow until I click another hyperlink image and also they need to change their height too, I was wandering if thats possible and please I cant use Javascript I need a plain HTML page with css only,

thanks in advance
Some people get so rich they lose all respect for humanity. That's how rich I want to be.
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 77
Reputation: mj080 is an unknown quantity at this point 
Solved Threads: 5
mj080's Avatar
mj080 mj080 is offline Offline
Junior Poster in Training

Re: Changing image BG onclick

 
0
  #2
Mar 25th, 2009
you would have to use Java to rotate your images
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 434
Reputation: FC Jamison is on a distinguished road 
Solved Threads: 20
Team Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Re: Changing image BG onclick

 
0
  #3
Mar 25th, 2009
I don't believe that's possible using straight html and css.

I could be wrong, though.

Are you sure you mean when you click on the hyperlink image and not when you roll over the image?
Last edited by FC Jamison; Mar 25th, 2009 at 9:01 am.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 268
Reputation: Traicey is an unknown quantity at this point 
Solved Threads: 19
Traicey's Avatar
Traicey Traicey is offline Offline
Posting Whiz in Training

Re: Changing image BG onclick

 
0
  #4
Mar 25th, 2009
Yha when u roll over and it should stay like that until u make another click to another image
Some people get so rich they lose all respect for humanity. That's how rich I want to be.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC