[Javascript] Reading a variable from the URL
Terry Riegel
riegel at clearimageonline.com
Tue Jul 17 08:25:36 CDT 2007
Hello everyone,
I am working on a simple slideshow. The page will be static with
javascript added for interactivity. I would like to read the URL do
determine what image is the current image. For example the static
page is.
/sites/thebrowns/photos/200707/id200707030607.html
It could be called like this...
/sites/thebrowns/photos/200707/id200707030607.html?image=5
Since it is static I would like my javascript to parse the URL and
set image to 5.
Any ideas on how to do this?
Thanks for any help.
Terry Riegel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20070717/e9bb9c8e/attachment.htm>
More information about the Javascript
mailing list