jQuery

Installing Thickbox Directions

Hi Mario,

thanx for your question.

For a popup like this you don't need ajax. As I saw on target.com when you click on "Quick info" then a popup box appears and loads inside an iframe.

So what you need to do:

Download and install on your website Thickbox. It's a jQuery plugin that you place on your website.

You can find instructions here http://jquery.com/demo/thickbox/

You for exaple want more information about a product or item, then you make an html, php or whatever you use file with the details or some more information about this item and then you place this inside Thickbox.

On the Thickbox plugin page are detailed information about "iFramed Content".

Use for example this:

<a href="your-item-info.php?keepThis=true&TB_iframe=true&height=250&width=400" title="add a caption to title attribute / or leave blank" class="thickbox">More Info</a>
 

Hope it helped ! See ya :)


Syndicate content