Jump to content
Sign in to follow this  
thecomputerlab

Mouse Rollover on image

Recommended Posts

thecomputerlab    0
thecomputerlab
Kate    3
Kate
What I would do is assign the image as a background, and then use the a:hover state to change the background ;) You would also have to use "display:block" on the anchor tag, and assign it a height/width equal to that of the image(s).

Share this post


Link to post
Share on other sites
thecomputerlab    0
thecomputerlab
Kate. Thanks for the prompt response, i do have the 2 images eg the primary and then the image to change to once hovered over but unsure on the code and how it should be laid out. Also would you place in the side bar text widget. Thanks Grant

Share this post


Link to post
Share on other sites
Rob    547
Rob
Placing this in a sidebar widget would only be done with a text widget. I'm not sure how, other than Kate's suggestion, you'd actually achieve this. Have you looked for plugins or at some of the CSS training sites?

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
tradewindowspreston    0
tradewindowspreston

If anyone is still following this subject, i am also trying to get the effect of a image changing when rolled over purely in a button format so the user knows its clickable eg change from normal to a darker version of the same image (i have done this before in dreamweaver, but the effect is automated).

I have had a route around the forum and the internet in general i cant seem to get anything to work.

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

Tradewindowperson - please create you own topic and someone will help you out. thanks 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
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

Sign in to follow this  

×