i am creating a web-album for my site. what i am trying to do, is on the homepage, if a user clicks on a specific thumbnail, it will got to the album using a #image[number] tag.
i have this code so far for changing the images based on the tag
the problem that i am having is that this code, placed with the rest of the code, always executes, leaving me with a final image of Image1.jog even if i have not sent the #image1.
Where should i put this code so that it will only execute when i go directly to it. Thanks