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

Receive Rosettanet Message to SAP 4.6c
Dear all ,

My customer will send the PO details by rosettanet message , Is it

Redirecting Admin
In my members table, I have a field called "perm" and it's set to zero for all members. Ho

php/xmlrpc class issue
I am working on xml-rpc in php to start with.

I have a class that only has variables defined

Add weeks in a query?
I have a SQL that summarizes the quantity per week. The weeks that has no value does not exist in th

mod_rewrite.c on windows ??
why it's not working on windows while it's working on other hosts???

this is the code i got

upload image name with extension using php
hi frds..

<input id="file1" type="file" name="file[]" &a

form problem
below in the form action, i've put "test.php?w=$sw&h=$sh" but when i input the for

Form a inline view based on the results of the previous query?
Hi Experts,
Can we form a inline view on the results of a previous query (another inline view)?

Recode Abap Dynpro into Web Dynpro
Hi All,
A client has asked us to look at rearchitecting a custom transaction that was developed

Convert Binary String to Decimal
Trying to Get:
Decimal: 305419896

Out of:
Binary String: xV4

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