Forum Moderators: open
You can add a variable to the link of your href:
<a href="page.html?var=value" title="Link Title">..</a>
Then, use the code from this thread:
[webmasterworld.com...]
To stip the variable from the URL at the receiving page.
HTH
<script type="text/javascript">
if (location.search.length > 0) {
launchString = location.search.substring(1, location.search.length);
var launchStringArray = launchString.split("&");
for (var i = 0; i <= launchStringArray.length - 1; i++) {
var left = launchStringArray[i].substring(0, launchStringArray[i].indexOf("="));
var right = launchStringArray[i].substring(launchStringArray[i].indexOf("=") + 1, launchString.length);
if (isNaN(right)) {
right = '"' + right + '"';
}
eval("var " + left + " = " + right);
}
}
</script>