473,839 Members | 1,414 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Clean page

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
4 2936
On 1 Oct, 07:16, BigZero <vijaymajagaon. ..@gmail.comwro te:
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
On 2008-10-01, Chris Jones <ch******@gmail .comwrote:
On 1 Oct, 07:16, BigZero <vijaymajagaon. ..@gmail.comwro te:
>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*******@wpsof tware.net
Only GOD may divide by zero. That is how he created black holes.
-Veselin Jungic
Oct 2 '08 #3
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
On 2008-10-06, BigZero <vi************ **@gmail.comwro te:
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*******@wpsof tware.net
Only GOD may divide by zero. That is how he created black holes.
-Veselin Jungic
Oct 6 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
4996
by: Craig Thomson | last post by:
I was wondering what people do with text provided by the user in a form. Some cleaning needs to be done at some stage if you are going to be putting it in a database or displaying it etc. But when is the time to do that? Do you clean it as soon as you get it? Do you pass around the original text and clean it when you use it? What about magic slashes? You need to addslashes before using in a db statement, but you need to strip them...
5
6276
by: sonic_soul | last post by:
Hello, I am finishing up creating a fairly complex page that is very rich in DHTML. In addition to updating it self every couple of seconds, various components on it support sync and async communication with various web services. The problem is that if a user tries to click on any JS driven content before the page is fully loaded, it will not work properly since it relies on many onLoad scripts that initiate webservices etc.
7
2250
by: Felix Kater | last post by:
Hi, when I need to execute a general clean-up procedure (inside of a function) just before the function returns -- how do I do that when there are several returns spread over the whole function? My first approach: Use "while(1)" and "break", however this doesn't work if there is another loop inside (since I can't break two loops at the same time):
4
1808
by: Rick | last post by:
Hello, Below I create a static instance of an object, works well. public static BasicCounter GlobalCounter = new BasicCounter("GlobalCounter"); private void Page_Load(object sender, System.EventArgs e) { GlobalCounter.Increment();
0
971
by: Larry Charlton | last post by:
Thanks to S. Justin Gengo, MCP, I think I have a viable editing senario that would enable searching etc. The general flow goes like this: Start on a search screen. Select a record. Edit page is displayed. On save or cancel the user is returned to the search screen. I'm doing this by creating two user controls (Search and Edit) and placing them in a multiview with two views. I've got it working but there's a few things that don't seem...
2
1989
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I usually clean the session when the result page is presented to the user. At this time, say an email confirmation was sent to the user and a pdf file they can becdownloaded from the result page. But if the user click the refresh or back button etc. for some reasons, they pdf file is not available since it created on the fly when the request was submitted. So I am thinking about pull pdf file from database, but don't want the...
25
3023
by: Koliber (js) | last post by:
sorry for my not perfect english i am really f&*ckin angry in this common pattern about dispose: ////////////////////////////////////////////////////////// Public class MyClass:IDisposable
3
1471
by: D.Hering | last post by:
General: How do I download a page's data from a clean url. Specific: I'm using PyQt's QHttp and QUrl classes for requests and acquiring the response, but I can't figure out how to access a page's data without knowing the file of the url's path. For instance http://kde.org Thanks, -Dieter
3
3932
by: d3vkit | last post by:
I've been using apache and php to create clean urls for a while, and suddenly the other day it just stopped working. My host is godaddy.com and I think this might be the source of my trouble, but I'm not sure what exactly that trouble is. Here is my .htaccess file: AddHandler x-httpd-php5 .php AddHandler x-httpd-php .php4 <FilesMatch "^comic$|^post$|^characters$|^extras$"> ForceType application/x-httpd-php </FilesMatch> I have a...
0
9697
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10908
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10648
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9426
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7828
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7017
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5682
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4484
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3134
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.