472,995 Members | 1,488 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,995 software developers and data experts.

Pure CSS Image Rollover Menus?

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.
Oct 25 '07 #1
2 3402
Casimir wrote:
>
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
Oct 25 '07 #2
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.

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
Oct 25 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Kanuf | last post by:
On a page I am designing, I'm trying to create a "div rollover". Basically, I want a div's contents to change (or a new div to replace the old one) via hover. I have tried this, but it doesn't...
6
by: Zach | last post by:
i have code using pixel to define how i want preview image to appear when someone does rollover on one of my menus (css menu code from eric meyer!) and i cannot figure out how to make the image...
1
by: Dave | last post by:
Hi all, I was trying to make an image submit button with a rollover and discovered to my suprise that there is no way to access a form element of the "image" type. I tried specifying it by name...
2
by: Cynthia | last post by:
I'm looking for javascript code that when I mouse over a menu item will display a picture elsewhere on the page. I know it exists, but the ones I've found so far just swap out the menu item in...
0
by: Les Caudle | last post by:
Anyone have some sample code for a database generated menu based on a DataList (or other control). that would also generate the javascript necessary for a rollover to a 2nd image when the mouse...
8
by: Nathan Sokalski | last post by:
I have several System.Web.UI.WebControls.HyperLink Controls which I want to display as rollover images. I know how to make these manually using the <a> and <img> tags or the <a> tag and a...
1
by: Andrew Poulos | last post by:
I'm working with one of those vertical menus that use CSS and lists. The menu is contained with a DIV (DIV.1) with a height of 100% that's within an absolutely positioned DIV (DIV.2). DIV.1 has a...
7
by: simchajoy2000 | last post by:
Hi, I am just a javascript beginner so maybe this is a simple problem but I am trying to do some rollovers on images in a separate <div>. Here is the relevent piece of my code: <html>...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
3
SueHopson
by: SueHopson | last post by:
Hi All, I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.