View Full Version : clicking transportation (passwords)
08-05-2002, 11:28 PM
I'm looking for a code that if they click on certain links on a page they will be transported to another page...(I have a ton of links on one page and I have a password system so if their name is sumthing the links take them to a different page)
08-05-2002, 11:38 PM
How does your password system work?
08-05-2002, 11:40 PM
they type in a username and password which takes them to the page they wanted to go to...hard to explain
08-05-2002, 11:47 PM
08-05-2002, 11:48 PM
they're in get variables
08-06-2002, 12:09 AM
Great! Then lets do this:
var qString = top.location.search;
qString = unescape(qString.substring(1));
var getVars = qString.split(/[\&]/);
var pageVars = new Array();
for (var j in getVars)
var temp = getVars[j].split(/[=]/);
pageVars[j] = temp;
</script> Now you have an array, pageVars that holds the value of each of the get variables (in sequence of appearance). Do you think this will work for you?
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.