View Full Version : Dynamic Drive Drop Down Menu help, making borders like my current menu


neotokyo
07-11-2005, 06:06 PM
I have the following code for my drop down from dynamic drive:

var menuwidth='165px' //default menu width
var menubgcolor='cd2323' //menu bgcolor
var disappeardelay=250 //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?


I want to add the javascript equiv of:

border:1px solid #000000;

so the main menu items show a border. How do I convert this?

:mario:

iTom
07-17-2005, 05:44 PM
have you tried:

this.style.border = "1px solid black";


or you could try document.getElementByID('menu').style.border = "1px solid black";
But i'm not sure if that works.