473,385 Members | 1,908 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

How to setup a CSS image menu with mouseover actions

Hey Guys, I'm tryng to do a menu for my blog, with images, using onmouseover, but never works. can someone help me?

This is my code:

div.menu1 { background-image: url('LINK'); width: 0px; height: 0px;}
div.menu1:hover { background-image: url('LINK'); width: 0; height: 0px;}

div.menu2 { background-image: url('LINK'); width: 0px; height: 0px;}
div.menu2:hover { background-image: url('LINK'); width: 0px; height: 0px;}

div.menu3 { background-image: url('LINK'); width: 0px; height: 0px;}
div.menu3:hover { background-image: url('LINK'); width: 0px; height: 0px;}

================================================== =======

<div class="menu1"><a href="LINK.php"></a></div><br>
<div class="menu2"><a href="LINK.php"></a></div><bR>
<div class="menu3"><a href="LINK.php"></a></div><br>
Sep 28 '10 #1
1 1635
RamananKalirajan
608 512MB
Have a look over this link

Thanks and Regards
Ramanan Kalirajan
Sep 28 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Lam | last post by:
hi i have a problem with javascript i have an image in a HTML page i would like to have a rectangle upon mouse cursor when mouse are over the image but i don't know how can i do this any idea ?...
8
by: al | last post by:
Hi, I've been trying to create a image mouseOver effect using CSS - is this possible? Or will I have to use DIV tags or something along those lines? I've tried a number of things - the code...
0
by: Panic Student | last post by:
hi all, i'm having trouble with changing image when mouseover on a particular label. Below is what i attempted to but it didn't seem to work at all. I guess my concept is wrong ): Please...
3
by: Annette Acquaire | last post by:
I have and image map with a dozen hotspot links on it that I'm trying to get to open a new image over existing one on mouseover of each COORD. The only thing I was able to do was swap image on...
11
by: Evolution445 | last post by:
I got this code, and it somehow doesnt work. <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center"> <TR> <TD background="{image-path}navfiller.gif" HEIGHT=40...
1
by: lisles | last post by:
hi; Im using a gridview to display images in 1 of the column...but the size of the images is very small.is there anyway to enlarge the image on mouseover or even without mouseover by adjusting the...
4
by: readbanana | last post by:
I have a column in a gridview that fills with images from the gridview. I am very new to javascript so I googled until I found a good javascript function that enlarges this image onmouseover....
3
by: Torie Photgraph | last post by:
I am wondering if there is a css code that would enable a fade in/fade out image mouseover transparency? picture this: image is slightly transparent, mouseover: *FADE INTO* image mouseout: *FADE...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.