BuildMyWeb
05-10-2010, 10:05 PM
1) Script Title: AnyLink JS Drop Down Menu v2.2
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm
3) Describe problem:
In the above script, I am trying to edit the submenu that drops-down with individual targets for each link.
for instance, in the following block, i want the .php file to open in the parent window but the other 3 .pdfs to open in a separate tab/window. some help would be much appreciated.
var anylinkmenu1={divclass:'anylinkmenu', inlinestyle:'width:150px; background:#DFFDF4', linktarget:'_parent'} //Second menu variable. Same precaution.
anylinkmenu1.items=[
["Why Cleanse?", "why.php"],
["Allergens Table", "forms/allergens_table.pdf"],
["Product Ingredients", "forms/ingredients.pdf"],
["Medical study", "forms/med_study.pdf"]
]
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm
3) Describe problem:
In the above script, I am trying to edit the submenu that drops-down with individual targets for each link.
for instance, in the following block, i want the .php file to open in the parent window but the other 3 .pdfs to open in a separate tab/window. some help would be much appreciated.
var anylinkmenu1={divclass:'anylinkmenu', inlinestyle:'width:150px; background:#DFFDF4', linktarget:'_parent'} //Second menu variable. Same precaution.
anylinkmenu1.items=[
["Why Cleanse?", "why.php"],
["Allergens Table", "forms/allergens_table.pdf"],
["Product Ingredients", "forms/ingredients.pdf"],
["Medical study", "forms/med_study.pdf"]
]