pop up window with predefined sponsers

A

Anonymous

Guest
OK now I know how to use javascript to create dynamic html pages when you want the user to click on a thumnail to enlarge (using two seperate images)

What I would like to try to do is use php to create dynamic pages with lets say sponsers at the bottom of each enlarged image(within the popup) when the user clicks on the thumnail.

I have thought about some how calling it from the javascript code but not sure how since I am a newbie.


thanx
 
So you got a page with thumbnails and if a user clicks on a thubnail you want a popup with the larger image and an advertisement?

That's not so difficult.

link to another page from the thumbnails.
On that page show the image and the advertisment.

so you got:

thumnails.php --> shows thumnails and links to image.php
image.php --> shows image and advertisement

use parameters to tell image.php wich image to show.

Everything is easy :)

Greetz Daan
 
DoppyNL said:
So you got a page with thumbnails and if a user clicks on a thubnail you want a popup with the larger image and an advertisement?

That's not so difficult.

link to another page from the thumbnails.
On that page show the image and the advertisment.

so you got:

thumnails.php --> shows thumnails and links to image.php
image.php --> shows image and advertisement

use parameters to tell image.php wich image to show.

Everything is easy :)

is there any way I could get you to show us some code?
or this thumnails.php and image.php?

daized and confused LOL

Robert

Greetz Daan
 
Back
Top