For a background image, add it in to the existing style:
Code:
#dropmenudiv{
position:absolute;
border:1px solid black;
font:normal 12px Verdana;
line-height:18px;
z-index:100;
background:url('some.jpg');
}
You can buttonize the links in the array:
Code:
menu1[0]='<input type="button" onclick="location.href=\'http://www.javascriptkit.com\'" value="JavaScript Kit">'
as well as the one's in the markup:
Code:
<input type="button" onClick="dropdownmenu(this, event, menu1, '150px')" onMouseout="delayhidemenu()" value="Web Design">
But in either, or both cases you will probably want to style them for a better appearance.
Bookmarks