PDA

View Full Version : AnyLink Drop Down Menu



zerwitt14
09-27-2005, 09:33 PM
with this script:
http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

I have multiple menus that i have created, and they all vary in width, is there anyway to set the menuwidth to have variable widths?

Thanks,

zerwitt14
09-28-2005, 04:22 PM
I am sure this is just a sytax thing, but for one of the links in one of my menus I need to add a window.open in place of the <a href></a> tags. When I first attempted this none of the menus would show up. I assue it was due to having the javascript of the window.opne embedded in the a tag.

Also I am not a programmer, so I can easily get lost in syntax ;)

any help greatly appreciated as the deadline for this project approaches rapidly!

zerwitt14
09-28-2005, 05:40 PM
here is the code I am trying to edit:

var menu2=new Array()
menu2[0]='<a href="amenities.htm"><img src="test_stuff/amentities_menu.jpg" alt="a" border="0"></a>'
menu2[1]='<a href="http://www.webervations.com/magic-scripts/resbook.asp?memberid=ff"><img src="test_stuff/availability_menu.jpg" alt="a" border="0"></a>'
menu2[2]='<a href="policies.htm"><img src="test_stuff/policies_menu.jpg" alt="a" border="0"></a>'

I need it to be:

var menu2=new Array()
menu2[0]='<a href="amenities.htm"><img src="test_stuff/amentities_menu.jpg" alt="a" border="0"></a>'
menu2[1]='<a href="http://www.webervations.com/magic-scripts/resbook.asp?memberid=ff"><img src="test_stuff/availability_menu.jpg" alt="a" border="0"></a>'
menu2[2]='<a onClick="javascript:window.open('policies.htm', '_blank', 'fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,location=no,width=500,height=750,left=50,top=50')" href="#" class="reg"><img src="test_stuff/policies_menu.jpg" alt="a" border="0"></a>'

or what ever it needs to be to work!

thanks

zerwitt14
09-30-2005, 02:53 PM
any help would be great! :confused:

HtmlWiz
10-03-2005, 12:50 AM
read on the page, it tells you how to resize them.....its very simple you just change the pixle amount from like 165px to 70px

<a href="default2.htm" onClick="return dropdownmenu(this, event, menu2, '200px')" onMouseout="delayhidemenu()">News Sites</a> (onclick)

on that kind of command change the px value