By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,615 Members | 1,634 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,615 IT Pros & Developers. It's quick & easy.

Clean page

P: n/a
Hello ppl,

I have any index page that already as lot of information to display i
wanted to make it as the index page should display one image for 5
second and after 5 second the rest data but not the image.

how to clean the old data or image from single loaded page.
"All i m looking for display image for 5 second after 5 second clear
image and show the rest data"

i try sleep() method but it's not working for me it sleeps whole file
for 5 second not the rest part of page. any idea how to solve this
problem.
Thanks
Vm
Oct 1 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
On 1 Oct, 07:16, BigZero <vijaymajagaon...@gmail.comwrote:
Hello ppl,

I have any index page that already as lot of information *to display i
wanted to make it as the index page should display *one image for 5
second and after 5 second the rest data but not the image.

how to clean the old data *or image from single loaded page.
"All i m looking for display image for 5 second after 5 second clear
image and show the rest data"

i try sleep() method but it's not working for me it sleeps whole file
for 5 second not the rest part of page. any idea how to solve this
problem.

Thanks
Vm
Two DIVs, the non-image one initially hidden, then javascript which
runs after 5 seconds to hide the DIV with the image and display the
other one.
Oct 1 '08 #2

P: n/a
On 2008-10-01, Chris Jones <ch******@gmail.comwrote:
On 1 Oct, 07:16, BigZero <vijaymajagaon...@gmail.comwrote:
>Hello ppl,

I have any index page that already as lot of information *to display i
wanted to make it as the index page should display *one image for 5
second and after 5 second the rest data but not the image.

how to clean the old data *or image from single loaded page.
"All i m looking for display image for 5 second after 5 second clear
image and show the rest data"

i try sleep() method but it's not working for me it sleeps whole file
for 5 second not the rest part of page. any idea how to solve this
problem.

Thanks
Vm

Two DIVs, the non-image one initially hidden, then javascript which
runs after 5 seconds to hide the DIV with the image and display the
other one.
Actually, chances are that the image DIV should be the one that is
initially hidden, so that users without Javascript enabled will be
able to see the rest of the site.

An even better solution would be to use two different pages and a
HTTP redirect.

--
Andrew Poelstra ap*******@wpsoftware.net
Only GOD may divide by zero. That is how he created black holes.
-Veselin Jungic
Oct 2 '08 #3

P: n/a
Thanks for reply,

Two DIVs, the non-image one initially hidden, then javascript which
runs after 5 seconds not yet tried,
but the redirecting to other page done but it's not working for me
there are two method >refresh header meta-data request.

well the php srcipt is done such way that it call some method in some
directory then the method reply's to only index page as the index page
contains image only so it looping the thing i tryed with global
variable set true initial but it's not working as page reloading again
and agian.


Thanks
Vm
Oct 6 '08 #4

P: n/a
On 2008-10-06, BigZero <vi**************@gmail.comwrote:
Thanks for reply,

Two DIVs, the non-image one initially hidden, then javascript which
runs after 5 seconds not yet tried,
but the redirecting to other page done but it's not working for me
there are two method >refresh header meta-data request.

well the php srcipt is done such way that it call some method in some
directory then the method reply's to only index page as the index page
contains image only so it looping the thing i tryed with global
variable set true initial but it's not working as page reloading again
and agian.
You should set a cookie, and/or failing that, set a $_GET[] variable
to indicate whether the first page has already been shown.

--
Andrew Poelstra ap*******@wpsoftware.net
Only GOD may divide by zero. That is how he created black holes.
-Veselin Jungic
Oct 6 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.