Hello Lee  :)

Well, there is one way that I know of that some people might overlook. What
you can do is use CSS positioning and set the "Uploading Now" message
(Whether it's text, an image, a flash file, etc.) BEHIND the result page by
setting the z-index value of the "Uploading Now" message to a lower number
than the z-index of the result page.

So what happens in this case is that the user will see the "Uploading Now"
message until the other page or image loads, which will automatically load
on top of the message, therefore hiding it once it's loaded. This works
great with images especially. You may need to use some positioning
creativity to do the same with the html pages, as you have to find a way to
be able to hide the transition message (by another image, a colored table,
or just about anything else.

The good thing about this method is that you never need to create an extra
file just to display the message. You can use it in the same file. Or if you
have to use it on many pages, just include it from an include file or a
function or something. Lots of room for creativity here.

Anyway, that's how I would do it. I'm sure there are many other great ways.
But there's my input. Hope it helps you a little.

> -----Original Message-----
> From: Lee Herron [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 26, 2003 6:05 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Transition Page?
>
>
> I'm interested in how most would create a transition page..
>
> I have an upload process that takes a bit before it changes the page
> displayed on the browser.  I would like to create a transition page
> [Uploading Now .. please standby] that would refresh to a result page once
> the upload is done.  Now I've seen this done on other sites
> (loading pages)
> and I'm sure there are many ways to do this, just looking for methods and
> pro/cons to the various approaches.
>
> thanks..
>
>
>
>
>
> --
> 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