Board Logo

Targeting New Window
Chick - 1/14/2004 at 07:31 PM

I am running Gold Version 2.4 and I need to know how to get Target="_new" on a line in my menu items something like this:

['Online Forum', 'http://www.', '_new'],

This doesn't seem to be working. Is there a trick?


caymannice - 1/15/2004 at 05:31 AM

Hi chick,

I have had a heck of a time figuring out how this this works too. I'm no expert but I do know the power of a "right click" and copy and paste.

This is what I dug out of this sites demo files to help you out. I hope this will make your venture easier than mine has been.

open up your menu.js file and compare scripts... I copied a couple different targets for YOU. Enjoy

['Special Targets', null, null,
['New Window','', {'tw' : '_blank'}],
['Parent Window','', {'tw' : '_parent'}],
['Same Frame','', {'tw' : '_self'}],

Hope YOU like...?

Back to forum: