Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Images

pop up window with predefined sponsers

images php coding issues or problems here.

Moderators: macek, egami, gesf

pop up window with predefined sponsers

Postby astro_sk » Mon Oct 21, 2002 5:36 am

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
astro_sk
New php-forum User
New php-forum User
 
Posts: 8
Joined: Sun Oct 13, 2002 5:00 pm
Location: Brasil

Postby DoppyNL » Mon Oct 28, 2002 10:51 am

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
 

Postby astro_sk » Tue Oct 29, 2002 5:47 am

DoppyNL wrote: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
astro_sk
New php-forum User
New php-forum User
 
Posts: 8
Joined: Sun Oct 13, 2002 5:00 pm
Location: Brasil


Return to PHP coding => Images

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron