Anothersledhead
Posts: 44
|
Posted: 05/31/2004, 4:04 PM |
|
I have an expanding menu similar to the one on the Code Charge website. My issue is that I need to preserve url parameters on the links on the menu. For portability I am writing all of the text and url's to a javascript file. This way I have only on file to change. I have tried appending the url's in the file with (default.php?client_id={client_id} )and have client_id as a hidden field on the page. the problem is that this is very problematic and doesn't work all of the time. Any thoughts or ideas would be great
Thanks
|
|
|
ghtracey
Posts: 23
|
Posted: 06/07/2004, 2:47 PM |
|
try using something like the folling for your links
<a href = 'page1.asp?'{querystring}>Text1</a>
<a href = 'page2.asp?'{querystring}>Text1</a>
Then in the page_before show:
global $Tpl;
$Tpl->SetVar("querystring",CCGetQueryString("All",""));
This will set all your links to have the same query string as was originally passed to the page.
_________________
Graham Tracey
Council of Yukon First Nations |
|
|
|