Board Logo

JavaScript -> target="_blank' ?
Vitoto - 5/5/2006 at 05:32 PM

Hi guys, i need pages load in "_blank" mode and not "_self".

I chaging this code :

File menu.js

Line : 243


this.a_config[2]['tw'] ? ' target="_blank' + '"' : '')
+ (this.a_config[2] && this.a_config[2]['tt'] ? ' title="'

This not working, Any idea ?

tigra - 5/5/2006 at 07:32 PM

see targeting sample in the menu's distribution package. you can use 'tw' configuration key to specify the target for the link in menu_items.js

mesterj - 6/13/2006 at 02:06 AM

I placed tw part to my // menu_items.js file

["MagamrA?l", "magamrol.html", {"tw":"content"},
["CA?lkitűzA?s", "celok.html"],
["Kedves felesA?gem", "andi.html"],
["Hobbi, A?rdeklődA?s", "hobbi.html"]

Where content is an another frame's name on my page.
But those pages are appearing same frame where the menu is.


Back to forum: