View Full Version : Loading data to a popup

07-03-2005, 05:22 PM
I have database with a table called "artiklar" and nine fields in that table.


On the first page I want to be able to show the four first fields and a clickable link to the right.

Name Weight Creator Country Link
----- ------- ------- ------- ----
blah blah blah blah Click me
blah blah blah blah Click me
blah blah blah blah Click me
blah blah blah blah Click me

Clicking on the link will show a popup with the last five fields which has price-information, about that particular product, and show them in the popup.

How do I....

1# Create a link which opens a popup.
2# Load the specified data to that popup-page.

I haven't found any information about how doing that so... anyone?

07-03-2005, 11:18 PM
Parent page: concatenate the required vars which the child page needs to run, as GET name/value pairs to the 'Click me' URL. Use a target="_blank" link or a javascript window.open link to open the child page.

Child page: write the script up as you normally would where your gathering the required values from GET vars.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum