Welcome to WebmasterWorld Guest from 54.147.44.93

Forum Moderators: not2easy

Message Too Old, No Replies

Question about Hover and Action for Image Links

     

Bones6

9:49 am on Jan 14, 2008 (gmt 0)

5+ Year Member



Now, it is about 5AM when I'm posting this, so I apologize in advance for any misspellings...

I'm currently attempting to get images for the links to change on mouse over and on action, but for the life of me can't figure out how!
Now, I believe I've done it before, but I kinda don't remember how I did it. The images are not background images, they are actual images with the words typed into them.

Any help would be appreciated, and agian sorry if this is a simple little snippet of code!

[edited by: engine at 3:29 pm (utc) on Jan. 14, 2008]
[edit reason] No urls, thanks. See TOS [webmasterworld.com] [/edit]

your_store

4:37 pm on Jan 14, 2008 (gmt 0)

10+ Year Member



Only background images can be changed w/ CSS. You'll need to use Javascript.

coopster

7:22 pm on Jan 14, 2008 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Welcome to WebmasterWorld, Bones6.

You may still be able to accomplish the task with CSS. "Hide" your images by either making then display:none or by making their visible space so small that they don't "appear" until you hover over the link.

your_store

2:43 pm on Jan 15, 2008 (gmt 0)

10+ Year Member



Good point Coopster.. I forgot there's also the "sprite" technique:

[#*$!.com...]

 

Featured Threads

Hot Threads This Week

Hot Threads This Month