Hi Todd,

Just had an idea - not sure if it will work. 

Can you make PHP send data as it becomes available?

Given that the pictures are all the same size, and there aren't too many
of them, a 'for' loop would do it:

for ($i = 1; $i <= 10; $i++)
{
        echo layer containing the picture i with z-index i;
        Wait; 
} 

Etc...

That way the pictures would be stacked on top of each other.

Is this possible?

Cheers,

Jason

> -----Original Message-----
> From: Matthew Sims [mailto:[EMAIL PROTECTED] 
> Sent: 08 July 2004 17:18
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Re: Slideshow using PHP
> 
> > I do have a JavaScript based "SlideShow", however, I would 
> like to use 
> > PHP rather than JavaScript.  Is there a way to "loop" with PHP and 
> > "display" an image without re-displaying the whole page?
> >
> > Todd
> 
> To get a good slideshow you'll need to use client side 
> instructions, aka javascript. You're probably not going to 
> get it to work so well using PHP which is server side instructions.
> 
> Part of getting the slideshow to work is making the browser 
> switch to the next image and well, PHP doesn't really make 
> the browser do anything.
> 
> --Matthew Sims
> --<http://killermookie.org>
> 
> --
> PHP General Mailing List (http://www.php.net/) To 
> unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to