Page 1 of 1

Easy PHP problem: please help I'm new!

Posted: Thu Jul 03, 2003 8:50 pm
by heyapat
Hi All,

I have an images problem.
I have a pop-up page with a simple javascript slideshow. The images are stored in an array.

To get to this page, the user clicks one or several thumbnails from another html page.

Iit possible to start the slideshow from say the 5th image in the slideshow when the user clicks on the 5th thumbnail from the orignial HTML page?

Please help..I'm a desperate newbie and have jsut gotten started with php.

Many thanks in advance!!
Patrick :)

Posted: Thu Jul 03, 2003 8:53 pm
by patrikG
Could you post some code?

Posted: Thu Jul 03, 2003 9:00 pm
by heyapat
Well,

I can post a URL:

http://66.97.39.154/images.htm

what i need to be able to do is to open up any thumbnail in a new pop-up window.

I'm not really sure how I can do this. Once the image is opened up in the pop-up I need to make some sort of back and forward button. Most of this works in javascript, though I think I may need to use PHP so that the new window 'knows' which image to start on in the pop-up slideshow.

thanks for your reply,
Patrick

Posted: Fri Jul 04, 2003 11:09 am
by Toneboy
Hmm... thinking...

Could you put a query string in the link to the slideshow, with the appropriate number on each photo?

So the link could possibly work like this:

http://www.yourdomain/.../slideshow.php?startphoto=5
http://www.yourdomain/.../slideshow.php?startphoto=6

etc.