ronverdonk
Junior Member
Posts: 3
Registered: 1/31/2006
Member Is Offline
|
| posted on 1/31/2006 at 04:27 PM |
|
|
link to locations in another frame
The folowing question seems a little dumb to me, but I can't find the solution. I have the free version of Tigra tree.
My site has 2 frames, the tree is in the left, the document in the righthand one. I want to click on a tree item and be linked to the correct item in
the document. In short: is there a way to include the target frame name in the tree_wpl or is there another way to this? Thanks in advance - Ron
Verdonk
|
|
|
rock
Moderator
Posts: 687
Registered: 4/15/2003
Member Is Offline
|
| posted on 2/1/2006 at 09:06 AM |
|
|
Yes, exactly as you say it - specify target name via tree template structure:
'target':'my_frame_name'
You can find sample in demo1 from your download package.
|
|
|
ronverdonk
Junior Member
Posts: 3
Registered: 1/31/2006
Member Is Offline
|
| posted on 2/1/2006 at 10:28 AM |
|
|
This not quite what I meant. Your reply is what I already did.
I have the Tigra tree and .js files in the left side frame, named TOC.
I have my document with the headers and <a name=...> in the right hand frame named PLAN.
The tree_tpl specifies target="PLAN"
I want to click on the tree in TOC and be pointed to the correct header in the PLAN frame.
Doing it as you suggest just loads the tree itself in the DOC frame, but does not scroll me to the correct entry in PLAN.
I still must miss something.
|
|
|
rock
Moderator
Posts: 687
Registered: 4/15/2003
Member Is Offline
|
| posted on 2/1/2006 at 01:16 PM |
|
|
Have you specified corresponding name after the link in tree item definition? E.g.:
['PRO', 'http://www.softcomplex.com/products/tigra_tree_menu_pro/docs/#local_tpl'],
|
|
|
ronverdonk
Junior Member
Posts: 3
Registered: 1/31/2006
Member Is Offline
|
| posted on 2/1/2006 at 06:45 PM |
|
|
That did it! Thanks very much.
|
|
|