www.webdeveloper.com
Results 1 to 2 of 2

Thread: Does facebook gallery reload or not?

  1. #1
    Join Date
    Aug 2009
    Posts
    13

    Question Does facebook gallery reload or not?

    Hi.

    I am developing a picture gallery, where pictures are dynamically loaded with jQuery (Like in the facebook picture gallery - prev/next button)

    Everything is working fine, but there is one thing that bothers me.
    If users want to share a certain picture, by copying the URL, the browser would only point to picture 1 in the collection, since the URL in the address bar cannot (?) be updated via. javascript.

    Then i stumbled across the facebook picture gallery, which seems to have solved the problem.

    Whenever you click 'next' or 'prev', the picture itself is updated, but the rest of the page looks unaltered.
    But the URL in the address bar is changing with every click.

    How? :-)

    Is the whole page being reloaded, but in a very cool way so you dont notice, or is it in fact possible to change the address bar URL with some sneaky code?

    I cannot provide a link, but you can see it in any collection of pictures on facebook.

    /Benjamin
    Last edited by Kor; 08-03-2009 at 06:49 AM.

  2. #2
    Join Date
    Jan 2005
    Location
    Frankfort, KY, USA
    Posts
    6,167
    It could be that these are pages using includes, surrounding the photo. Thus the page "seems" the same, but it's really a different URL.
    FYI
    * My screen resolution is set at 1680x1050
    * I'm accessing your site through a T1 line
    * I'm probably viewing it using Firefox (unless browser is specified)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles