Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Open links in the same window
ChrisK
Junior Member

Posts: 4
Registered: 9/28/2005
Member Is Offline
posted on 9/28/2005 at 02:44 PM Reply With Quote
Open links in the same window


Hi,
I am very new to JScript and I am using the free version of the Tigra Tree Menu.

The code is currently configured so that when a menu option/link is clicked the relivant page is opened in a new window. I am wanting to open the menu option/link in the current window.

Could someone please advise as to whether or not this is possible, and if so, how I go about achieving this.

Thanks for your time.


Chris.
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 9/29/2005 at 01:33 AM Reply With Quote

set target in tree_tpl.js to _self
View User's Profile View All Posts By User U2U Member
ChrisK
Junior Member

Posts: 4
Registered: 9/28/2005
Member Is Offline
posted on 9/29/2005 at 04:12 PM Reply With Quote
Link Opens In A New Window


Thanks for replying, I've tried changing the code to _self but it still opens the menu link in a separate window. Could you please advise as to what part of the code below needs to be changed to _self ....



var tree_tpl = {
'target' : 'content', // name of the frame links will be opened in


// other possible values are: _blank, _parent, _search, _self and _top

'icon_e' : 'icons/empty.gif', // empty image
'icon_l' :

'icons/line.gif', // vertical line

'icon_48' : 'icons/base.gif', // root icon normal
'icon_52' : 'icons/base.gif', //

root icon selected
'icon_56' : 'icons/base.gif', // root icon opened
'icon_60' : 'icons/base.gif', // root icon selected



'icon_16' : 'icons/folder.gif', // node icon normal
'icon_20' : 'icons/folderopen.gif', // node icon selected
'icon_24' :

'icons/folder.gif', // node icon opened
'icon_28' : 'icons/folderopen.gif', // node icon selected opened

'icon_0' :

'icons/page.gif', // leaf icon normal
'icon_4' : 'icons/page.gif', // leaf icon selected
'icon_8' : 'icons/page.gif', // leaf icon

opened
'icon_12' : 'icons/page.gif', // leaf icon selected

'icon_2' : 'icons/joinbottom.gif', // junction for leaf


'icon_3' : 'icons/join.gif', // junction for last leaf
'icon_18' : 'icons/plusbottom.gif', // junction for closed node


'icon_19' : 'icons/plus.gif', // junctioin for last closed node
'icon_26' : 'icons/minusbottom.gif',// junction for opened node


'icon_27' : 'icons/minus.gif' // junctioin for last opended node
};





var tree_tpl = {
'target' : 'content', // name of the frame links will be opened in


// other possible values are: _blank, _parent, _search, _self and _top

'icon_e' : 'icons/empty.gif', // empty image
'icon_l' :

'icons/line.gif', // vertical line

'icon_48' : 'icons/base.gif', // root icon normal
'icon_52' : 'icons/base.gif', //

root icon selected
'icon_56' : 'icons/base.gif', // root icon opened
'icon_60' : 'icons/base.gif', // root icon selected



'icon_16' : 'icons/folder.gif', // node icon normal
'icon_20' : 'icons/folderopen.gif', // node icon selected
'icon_24' :

'icons/folder.gif', // node icon opened
'icon_28' : 'icons/folderopen.gif', // node icon selected opened

'icon_0' :

'icons/page.gif', // leaf icon normal
'icon_4' : 'icons/page.gif', // leaf icon selected
'icon_8' : 'icons/page.gif', // leaf icon

opened
'icon_12' : 'icons/page.gif', // leaf icon selected

'icon_2' : 'icons/joinbottom.gif', // junction for leaf


'icon_3' : 'icons/join.gif', // junction for last leaf
'icon_18' : 'icons/plusbottom.gif', // junction for closed node


'icon_19' : 'icons/plus.gif', // junctioin for last closed node
'icon_26' : 'icons/minusbottom.gif',// junction for opened node


'icon_27' : 'icons/minus.gif' // junctioin for last opended node
};



Thanks in advance.



Chris.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Tigra Tree Menu
Product Demonstrations Live Demos:
Frames targeting
Win help style
Free Download Free Download
Free Download Menu Builders
Online Builder
Product Documentation Documentation:
Documenation Page
Support Forum Technical Support
Support Forum
   
Tigra Tree Menu PRO
Product Demonstrations Live Demos
Multiple Trees
Frames Targeting
Icons and Styles Overloading
Event Handling
Performance Test
Version 1.2 features
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004