PDA

View Full Version : Need Help With This Script



ragnarok
07-22-2005, 09:41 AM
Hi I Need Help From The SCript Links
http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

The background color is Always Light Yellow
can I Change To Pictures?
How Do I Change It Then

Also The Links ,
How To Change It To Button
It Is Simple Text , Can I Change It To Button Shape?

Please Help Me Thanks :)

jscheuer1
07-22-2005, 10:06 AM
For a background image, add it in to the existing style:

#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:

menu1[0]='<input type="button" onclick="location.href=\'http://www.javascriptkit.com\'" value="JavaScript Kit">'as well as the one's in the markup:

<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.

ragnarok
07-22-2005, 01:15 PM
Thanks You Are A Great Help :P :) :rolleyes: :cool:

ragnarok
07-22-2005, 01:22 PM
Eh Ragnarok Here
Still Cant Seems To Work
Can You Give Me The Email Of You And I SEnd My WEb Page To You
I Will Indicate In The SCript Where To Edit
Please Contact Me At
Wong_wei_foong@hotmail.com

ragnarok
07-22-2005, 01:26 PM
Theres A

var menubgcolor='lightyellow' //menu bgcolor

Shld I need TO Do Something ABout It?
Kinda Need Immediate Help To Change The Light YelloW Background TO My Pic Background


Thanks You
Bery Much

ragnarok
07-22-2005, 01:31 PM
Sorri Again A Bit Retarded
It Works AGAIN
Thanks You
I Hate My Computer