PDA

View Full Version : HV Menu - Open link in new page



jrbk
08-08-2006, 01:24 AM
1) Script Title: HV Menu V5.5

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm

3) Describe problem: Is there a way to make a link open in a new window in this script? I tried adding target="_blank" but it created an error. Any help would be appreciated.

jscheuer1
08-08-2006, 04:47 AM
Menu2_1_1=new Array("CNN","javascript:window.open('http://www.cnn.com')","",0,20,150);

jrbk
08-09-2006, 03:16 PM
Awesome, Thank you. I knew that it could be done with Java but wasn't sure of the code and didn't want POP-UP blockers to keep the new page from loading. Works Great!

Thanks

jr_yeo
08-09-2006, 03:21 PM
just my 2 cents (sense?) :p Java and JavaScript are two different things. :cool: (pointedly looking at OP) :D

jrbk
08-09-2006, 04:53 PM
jr_yeo - Thank you for the enlightenment. I don't know much about java or java script. I know enough to be dangerous...

Thanks for the help