Board Logo

Passing ASP Variables to Tree Menu
jrieppel - 9/29/2005 at 10:25 PM

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!!


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

['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.



ps. I purchased the Tree Item Pro module

rock - 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.

Back to forum: