HighDots Forums  

Pure CSS Image Rollover Menus?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Pure CSS Image Rollover Menus? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Casimir
 
Posts: n/a

Default Pure CSS Image Rollover Menus? - 10-25-2007 , 02:30 AM






I am looking into making pure CSS image rollovers.

Do you have any clever (and robust) CSS rollover-tricks?

Or links to such "in the wild"?

I have figured out two methods for this, but have yet to do proper
testing on browser support.

Method I:
On rollover, hide img to reveal background-img.

Method II:
Images in a ul-list, list has a size equal to image size. Overflow
hidden. On rollover, display rollover-img-list-item.

Method II might not work on rollover, but the concept has worked
well with a simple gallery.

Reply With Quote
  #2  
Old   
Bergamot
 
Posts: n/a

Default Re: Pure CSS Image Rollover Menus? - 10-25-2007 , 06:30 AM






Casimir wrote:
Quote:
Do you have any clever (and robust) CSS rollover-tricks?
Or links to such "in the wild"?
Not specific to "rollovers", but some interesting and creative uses of
CSS: http://www.cssplay.co.uk/

--
Berg


Reply With Quote
  #3  
Old   
Casimir
 
Posts: n/a

Default Re: Pure CSS Image Rollover Menus? - 10-25-2007 , 06:52 AM



Bergamot kirjoitti:
Quote:
Not specific to "rollovers", but some interesting and creative uses of
CSS: http://www.cssplay.co.uk/
How nice of you to spam your (nice) site. Off topic though.

Topic: Pure CSS Image Rollover Menus. Here are some I have after a
couple of hours of rummaging around.

The definitive answer first:

"Roll Over, Rollovers -- CSS Style" by Eric A. Meyer, dated 03/23/2001
http://www.oreillynet.com/pub/a/java...rollovers.html

Good advice:
"Fast Rollovers Without Preload"
http://www.wellstyled.com/css-nopreload-rollovers.html

"CSS Image Rollover Buttons"
http://www.webcredible.co.uk/user-fr...-buttons.shtml

Thanks for the bandwidth
Csmr


Reply With Quote
  #4  
Old   
Bergamot
 
Posts: n/a

Default Re: Pure CSS Image Rollover Menus? - 10-26-2007 , 02:14 PM



Casimir wrote:
Quote:
Bergamot kirjoitti:
Not specific to "rollovers", but some interesting and creative uses of
CSS: http://www.cssplay.co.uk/

How nice of you to spam your (nice) site. Off topic though.
Um, it's not my site. I can't fathom why you thought it was. :-\

And posting such a URL is not off topic for this group. The site has
lots of clever CSS examples, among which are rollover effects that you
could apply to whatever you like, assuming you're smart enough to see
past your own nose.

Quote:
Thanks for the bandwidth
You're awfully snooty for a newbie (to this group). You'll go real far
with that attitude.

--
Berg


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.