Forum Moderators: open
Is a DHTML the right answer, or is an unordered list better? Maybe just a few category links in the navigation, and sub links on the category pages?
It completely depends on the situation, the content, and the audience. Does your menu make sense? Is it intuitive?
Just adding ?s=b to the end of the URL would let you pick out those clicks from the regular menu clicks. And then you'll be able to make an informed decision about whether to go forward with that feature or not.
<select style="background-color: #99CCFF;" name="url" onChange="loadPage(this)" class="boxform">
<option selected>Choose a Destination</option>
<option value="index.htm?s=b">Home</option>
(please note the bolding)
as opposed to this:
just to clarify, if i made my code look like this:
<select style="background-color: #99CCFF;" name="url" onChange="loadPage(this)" class="boxform">
<option selected>Choose a Destination</option>
<option value="index.htm">Home</option>
would allow me to go check out if these pages have been checked. do i have to add any additional code or anything. will a linux server get all this? you may have to explain this to me like i'm a child becuase i'm relatively new to a lot of this. (if you have the time). thanks
The query string doesn't actually serve any other function in this case - it's sort of a dummy string, just to identify which link was clicked. So you don't need to add any other code - just change the URLs exactly as you illustrated.
I do this a LOT - for instance, to check on the clickthroughs for different email campaigns. Some log analysis packages even create a nice query string report, which simplifies pulling out the required data from the logs.
<added>
If you don't have this function in your stats package, just remember that the query string can also end up in the referer as well, if someone clicks once and then uses a dropdown on the destination page. So in analyzing your logs, you want to zero in on the intial GET for the html document only, and not end up counting the referer strings as well, by accident.
</added>
[edited by: tedster at 7:56 am (utc) on Aug. 5, 2003]