
August 19th, 2004, 04:08 AM
|
|
Contributing User
|
|
Join Date: Jul 2003
Location: Netherlands
Posts: 99
Time spent in forums: 4 h 1 m 8 sec
Reputation Power: 10
|
|
Quote: | would it be because the page is refreshing every time a case is selected |
yep...
I think what you basicly want is something like:
Code:
// Initialize your list-variable
var list;
function initlist(){
var thispage = window.location.href;
if(thispage.indexOf('?')!=-1)
list = thispage.substring(thispage.indexOf('?'),thispage.length);
}
initlist();
// setting some values to the list-variable in your case statement
function setcaseinfo(){
if(list=='') list = '?case2=2'
else list += '&case2=2';
}
__________________
** Don't expect me to code your needs, but if I am able to help, I'm willing. Shout, grab and use the hand!
** Man can no more own the land we walk upon, as they can lay claim on the air that we breath
** DeepDown I'm addicted to structures.... ohw and music 
** Almost forgot I had an account here [*o*]
|