Jump to content

Calling content in a div


sspb

Recommended Posts

i am working on a php website and want to create a dynamic product page similar as the following link:

http://www.interioricons.com/product.php?sid=7

 

The moving slides are being created by jquery cycle plugin.

 

when a product is clicked , it displays the product details page (proddetail.php) without refreshing the page in the bottom div. the page url remains the same for all the products in the category.

 

when i copy the product link and paste in browser (http://www.interioricons.com/proddetail.php?prod=CH7), it also displays the same content (proddetail.php) with header and footer content.

 

can anybody explain me how these links display the content. (clicking on product in - http://www.interioricons.com/product.php?sid=7) and (individual product link - http://www.interioricons.com/proddetail.php?prod=CH7)

 

thanks...

Link to comment
Share on other sites

The content is called using ajax.

 

The same page (proddetail.php) is displayed in a div on one page(product.php) with selective content(product details) and on the page (proddetail.php) it displays as an individual page with header and footer content + product details div.

 

can anybody explain this? i shall be very thankful

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.