bbuttry
Junior Member
Posts: 2
Registered: 4/21/2006
Member Is Offline
|
| posted on 4/23/2006 at 04:17 PM |
|
|
Open Linked PDF Document
I have purchased the Tigra Tree Pro. I am using the mysql function to build the tree menu dynamically. It works great.
Now, the dumb question. By default, when you click on a node, a dialog box pops up with the link displayed in the box. Here's what I'm trying to
do:
1. When you click on a folder or subfolder or it's text, the folder opens with no dialog box.
2. When you click on a file inside the folder or subfolder, the document opens in a separate browser window.
For instance, if I click on a link to a PDF document, it opens in a new browser window.
I don't want the dialog box but I can't figure out where this is controlled. Someone throw me a bone here and I'll figure it out.
Thanks!!!!!!
|
|
|
tigra
Administrator
Posts: 2050
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 4/24/2006 at 02:54 AM |
|
|
I don't know of any dialogs in the tree, you're probably talking about new browser windows. This feature is controlled by 'target' parameter in
the tree_tpl.js set it to _self if you want links opened in the same window/frame by default. Then you can override this global setting for any
particular link with 'tw' item scope setting in the tree_items.js file. See docs and targeting sample in the distribution package for more details.
|
|
|