Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Passing ASP Variables to Tree Menu
jrieppel
Newbie

Posts: 1
Registered: 9/29/2005
Member Is Offline
posted on 9/29/2005 at 10:25 PM Reply With Quote
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
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 10/3/2005 at 12:50 PM Reply With Quote

You could try to use javascript function as item's link to prepare link URL and than redirect corresponding frame to that URL.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Multiple Trees
Frames Targeting
Icons and Styles Overloading
Event Handling
Performance Test
Version 1.2 features
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004