PDA

View Full Version : Drop down menu not displaying correctly


HotShot
04-15-2004, 09:14 PM
I created a drop down menu in fireworks and added the html file to my web page in dreamweaver, when viewing the page the menu doesn't show propper, the drop down works fine but the links you scroll over go black when the background for mouse oever is set to grey.

You can check the page at...
http://charlotte.poncet.free.fr/hs-lair/home.html
Also the code for the menu can be downloaded from...
http://charlotte.poncet.free.fr/hs-lair/code.zip

I don't know how to show the code in a txt file without the internet loading the nav bar or trying to, so thats why I zipped it up. If it is possible to get it to show the code in a txt file please let me know for future refference. I tried putting // before the code and tried putting the code in brackets but it still tried to load the nav bar or atleast the images for it.

Kram
04-16-2004, 12:39 AM
allrighty...

try this:

Change the td code for the menu items to this:


<td onMouseOver="this.bgColor='#blue'">


this sets the background color of the table data cell.

Also you may want to add in this:


<onMouseOver="this.bgColor='#blue'" style="cursor:hand">


this just makes it look good when the cursor goes over it

HotShot
04-16-2004, 12:31 PM
I did the nav bar again and it seems ok now :)
Thnx for ur help.