I've been looking for a way to pass a parameter via a normal HTML link and to then retrieve the value in the same way as you do in ASP using Request.Querystring. Well I found the following article on how this can be achieved:
Now my question is that I want to use the parameter passed via the HTML link to decide on what DIV container is made visible to the user. For example, the HTML link might something like viewfiles.html?sport=football. Then on my viewfiles.html page I will have a separate DIV container for Football, Golf, Rugby, Swimming. All of these DIV containers will be hidden except for the one associated with the value of the 'sport' parameter passed in the HTML link. So in this example all of the DIV containers will be hidden except for the Football DIV container. The article above does a good job of explaining how the parameter is retrieved in the HTML link but I don't know it can then be used to make the DIV container visible. Any ideas?