NMCoderMike
Junior Member
Posts: 3
Registered: 2/9/2006
Member Is Offline
|
| posted on 2/9/2006 at 08:25 PM |
|
|
Set target using ASP genersted tree
I have my tree set up but I need to be able to set target to _new for a few pdf files. I am using asp w/sql backend, how do I set the target?
Thanks
|
|
|
rock
Moderator
Posts: 687
Registered: 4/15/2003
Member Is Offline
|
| posted on 2/10/2006 at 10:04 AM |
|
|
PRO version supports independent targeting for items. With free version you could use some JS function as item's URL to call new window with required
content.
|
|
|
NMCoderMike
Junior Member
Posts: 3
Registered: 2/9/2006
Member Is Offline
|
| posted on 2/10/2006 at 02:28 PM |
|
|
I am using the Pro version and I am generating the tree thru asp where do you put the target in.
|
|
|
tigra
Administrator
Posts: 1982
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 2/10/2006 at 08:21 PM |
|
|
In item scope settings ('tw' key) see the Tree
item scope settings in the product documentation and also demo2 in the distribution package.
|
|
|
NMCoderMike
Junior Member
Posts: 3
Registered: 2/9/2006
Member Is Offline
|
| posted on 2/10/2006 at 08:32 PM |
|
|
That would work if I were using the tree_item.js, but I am using the item.asp from the addon folder. How do I do it thru there? Thnx.
|
|
|
tigra
Administrator
Posts: 1982
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 2/14/2006 at 07:15 PM |
|
|
The server side script that comes with Tigra Tree Menu PRO doesn't support targeting.
1. If you need the same target for all the links then you can
1.1. Set the base target for the HTML document hosting the tree
1.2 Modify the items.asp and hard-code the target information into the output ('tw' key in item scope settings)
2. If you need different targets for different links then add the field with the target information to the database table containing the menu items
and modify the items.asp file to print in the target information into the item scope settings from the database field.
Submit a support ticket if want to order those or any other changes.
|
|
|