PDA

View Full Version : Menu Link to Open New Window?


Liz
01-06-2003, 07:37 PM
With cascading menu scripts, is it possible to specify that a new window should open when the browser goes to the link?

I'm using this common menu code:

myMenu.addMenuItem("FAQ","location='/mydir/faq.asp'");

TIA!

Liz

cg9com
01-06-2003, 07:54 PM
are you using a free script?
"target" is what you are looking for, it tells where to open a link.

Liz
01-06-2003, 08:35 PM
What would the syntax be?

I tried the following with no luck:

myMenu.addMenuItem("Balance","location.target.blank='https://web4.onlinecardoffice.com/cincinnati/index.phtml'");

Thanks,

Liz

scroots
01-06-2003, 08:52 PM
could you post/attach or link to your full source code as this all seems a little confusing.

scroots

Liz
01-06-2003, 09:19 PM
The source code is too long to post here.

However, I think I'll be able to figure out the answer because I discovered that the line of code quoted above is passing parameters into a function.

Anyway, thank you all for your time!

Liz