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
https://forums.phpfreaks.com/topic/265823-calling-content-in-a-div/
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

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.