Jump to content

Simple Question Regarding Image Navigation


BorysSokolov

Recommended Posts

I'm in the process of building a photo gallery, but the navigation is sort of clunky. The entire page has to reload whenever the user clicks for the next image to show. I would like the image browsing to work similarly to this: ( http://www.befunky.com/explore/gallery/4042294/ ) - only the image information and the image refresh when the user navigates to the next picture, and the URL changes according to the image. I know how to make the navigation, but I'm not sure about the URL. In the code I previously wrote, it remained static while the images changed (which I don't want).

 

So, how do I change the images along with the URL, on click, without reloading the entire page?

 

I plan to do this in ajax/jQuery by the way.

 

Thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.