PDA

View Full Version : how to build a top navigation that opens new windows?



virtthemaest
11-02-2004, 08:51 AM
Gday!
I was wondering if I could get some instructions.
I just downloaded the top navigation bar 1 works great. But what I would like is, click on the links and they open in a new window.

Iím pretty new to Java and Iím pretty prog savy I thought I could paste something like this in 1 of the 2 .js Ė

<a href="#null"
onclick="window.open('yngwietabs.html',
'welcome','width=300,height=400,menubar=yes,status =yes')">
Yngwie J Malmsteen</A><br>

Or on click open new window..

I donít know. Have I confused anyone yet? my source code is here.. http://dynamicdrive.com/dynamicindex1/sm/index.htm

Marty

cr3ative
11-02-2004, 02:02 PM
Answered in other thread.
Try not to double-post, see the rules.

cr3ative

virtthemaest
11-02-2004, 03:13 PM
Fixed it with "_blank"); at the end of the link. But, I can't control the size of the next window. I would like 300 x 450 for example. I canít see any code I can edit in both the JScript Script Files