jrieppel
Newbie
Posts: 1
Registered: 9/29/2005
Member Is Offline
|
| posted on 9/29/2005 at 10:25 PM |
|
|
Passing ASP Variables to Tree Menu
I have two frames. Left frame has the tree navigation and the right frame is dictated by what is selected from the tree on the left frame.
The site is almost all .asp.
Problem: I need to be able to get values from a querystring and add that value to the links.html page which will pass along those values. So for
example,, below on the 'Same frame','links.html',
I need the links.html to have my variables attached to it that it gets from the address bar.
something like this!!
links.html?id=<%=pid%>
Question: How to I get my variable which is in asp and how to I add the variable to the link reference below.
This comes from the tree_item.js
var TREE_ITEMS =
[
['Frame targeting', 0, 0,
['Same frame','links.html',{'tw':'_self'}],
['Top frame','links.html',{'tw':'_top'}],
['New window','links.html'
]
];
I'm fairly new to javascript and appreciate any assistance.
thanks,
John
ps. I purchased the Tree Item Pro module
|
|
|
rock
Moderator
Posts: 687
Registered: 4/15/2003
Member Is Offline
|
| posted on 10/3/2005 at 12:50 PM |
|
|
You could try to use javascript function as item's link to prepare link URL and than redirect corresponding frame to that URL.
|
|
|
|