modifying query string with no page refresh


Posted on 16th Feb 2014 07:03 pm by admin

Hi everybody,
I've tried to get info about my problem all over the internet but i didn't find out what I need.
The question is: how can I modify the querystring in PHP with no page refresh?
Facebook uses this feature in its images gallery. E.g. When you click on next photo, the query string changes (using Ajax I suppose) and it shows a new photo without refreshing the whole page. The Ajax appends an anchor (#) and the values od the required photo to the url.
Did you know?Explore Trending and Topic pages for more stories like this.
I am building an image gallery that works this way:
1) Clicking on thumbnails on thumb page you reach a page called display.php with the enlargement of the required photo and links for next and previous image.
2) Actually, clicking on next and prev, the whole page is being refreshed. I'd like to avoid that using the fb's solution for its gallery.
Thanx in advance
No comments posted yet

Your Answer:

Login to answer
293 Like 8 Dislike
Previous forums Next forums
Other forums

Find current logon time
Hi,
in my sql script i want to query and find out the logon time of the current session.
<

PHP If Else statement for breadcrumb
Hi

I am trying to use a PHP if else statement to display a breadcrumb link on wordpress

To add a field on the screen XK02.
Hi All,

How to add an additional field in the vendor change control screen XK02.
The

Download Image from URL and Upload it
Ok, I have been googling for the last 1/2 hour trying to figure this out, Most likely I'm just not s

please hep to get values from a table row
can anyone tel me how I can select and get data from one row by pressing an Edit button in that row

Transform value 0 in no and 1 in yes help needed
Hello,
I have this in the table: "value" type int 0 to represent false and 1 to represe

New to Arrays
Hi I am new to PHP (a week and a half now) and I am just beginning to read about arrays. I understan

How do I know when getBounds Method is ready to be called.
I have an application that changes out stylesheets client side. Once I change stylesheet the browse

Basic Question Regarding PHP Includes
Hi

Just starting out with PHP.

Working on a site that uses some basic includes, these

Giving the below syntax error
Dear Experts,

I have used 2 buttons in gui status as display and cjhange.When the user wi

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash