473,324 Members | 1,646 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

invisible page???

is there a way to keep a client page invisible for a brief moment while it is
checking a few things on the client with javascript?

once checked it may need to redirect to another page...

currently the 1st page flashes up just before the redirection... looks a
little messy.

any help or ideas appreciated.

Jul 22 '05 #1
4 1743
"yabba" wrote in message news:Or*************@tk2msftngp13.phx.gbl...
: is there a way to keep a client page invisible for a brief moment while it
is
: checking a few things on the client with javascript?
:
: once checked it may need to redirect to another page...
:
: currently the 1st page flashes up just before the redirection... looks a
: little messy.
:
: any help or ideas appreciated.

Once the client gets the page, ASP is done.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Jul 22 '05 #2
Do you mean something like this:

- client requests the page
- server sends static page with Javascript
- Javascript runs on client machine and gathers the needed data
- Javascript sends the data back to server
- Server replies with the actual page to show

?

"yabba" <RE*********************@hotmail.com> ha scritto nel messaggio
news:Or*************@tk2msftngp13.phx.gbl...
is there a way to keep a client page invisible for a brief moment while it is checking a few things on the client with javascript?

once checked it may need to redirect to another page...

currently the 1st page flashes up just before the redirection... looks a
little messy.

any help or ideas appreciated.

Jul 22 '05 #3
yes... exactly...

that is how it is working now but page #1 flashes up for a sec... so...

is there a way to keep page #1 invisible till page #2 gets to the client?

thanks

In article <rg********************@twister2.libero.it>,
an******@andylong.cjb.net says...

Do you mean something like this:

- client requests the page
- server sends static page with Javascript
- Javascript runs on client machine and gathers the needed data
- Javascript sends the data back to server
- Server replies with the actual page to show

?

"yabba" <RE*********************@hotmail.com> ha scritto nel messaggio
news:Or*************@tk2msftngp13.phx.gbl...
is there a way to keep a client page invisible for a brief moment while it

is
checking a few things on the client with javascript?

once checked it may need to redirect to another page...

currently the 1st page flashes up just before the redirection... looks a
little messy.

any help or ideas appreciated.



Jul 22 '05 #4
You can use dynamic HTML. Here is some pseudo-code that will work in IE,
you will need to augment it a bit if you need to work in
Netscape/Mozilla/Firefox etc.

<div id=main style='display:none'>
<!-- put all your body here -->
</div>

<script>
//here is your logic
if (redirect)
{
location.replace("newpage.asp");
}
else
{
document.getElementById('main').style.display = '';
}
</script>

Not really ASP related anymore. If you want further help with this kind of
technique, please see a client-side newsgroup, e.g.
Microsoft.public.scripting.jscript ...


On 2/27/05 10:53 AM, in article #s**************@TK2MSFTNGP15.phx.gbl,
"yabba" <RE*********************@hotmail.com> wrote:
yes... exactly...

that is how it is working now but page #1 flashes up for a sec... so...

is there a way to keep page #1 invisible till page #2 gets to the client?

thanks

In article <rg********************@twister2.libero.it>,
an******@andylong.cjb.net says...

Do you mean something like this:

- client requests the page
- server sends static page with Javascript
- Javascript runs on client machine and gathers the needed data
- Javascript sends the data back to server
- Server replies with the actual page to show

?

"yabba" <RE*********************@hotmail.com> ha scritto nel messaggio
news:Or*************@tk2msftngp13.phx.gbl...
is there a way to keep a client page invisible for a brief moment while it

is
checking a few things on the client with javascript?

once checked it may need to redirect to another page...

currently the 1st page flashes up just before the redirection... looks a
little messy.

any help or ideas appreciated.



Jul 22 '05 #5

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

Similar topics

6
by: Matt | last post by:
Is it possible to post form data and open an invisible window? For example, in page1.as <form action="page2.asp" method="POST" It will post the form data from page1.asp to the server, and...
3
by: Matt | last post by:
Are there any settings to make a page invisible to the user until certain time? For example, I want mypage.html is invisible to the user until 12:00am. But mypage.html is already in the IIS server....
41
by: Mr. x | last post by:
Hello, Can I make my java script code be invisible to other people who enter into my site by IE browser ? - How ? Thanks :)
3
by: user | last post by:
Hi to all, I have a couple of tab control pages in a form and I want to make them invisible. I can't make them invisible because one of the control has the focus. I tried to move the focus to...
2
by: john | last post by:
I have some controls that I want to be invisible, but if the user does something, they will become visible using javascript. So I can't set its "visible" property to false, because then they won't...
7
by: Martin | last post by:
Hi, I have a page where according to the mode of use, different controls are visible. I had assumed that Page.DataBind() would only bind visible controls, but apparently not. Do I have to...
6
by: Selden McCabe | last post by:
I have a form with a bunch of image buttons. When the user moves the mouse over a button, I want to do two things: 1. change the Imagebutton's picture, and 2. make another control visible. I'm...
5
by: my.shabby.sheep | last post by:
Hi, I want to do the following. I want to make a table column invisible to the screen, but I still want to be able to get the innertext that would have been stored in the cell for certain...
5
by: Andy B | last post by:
I have 2 TextBoxes and an Add button on a page. When the user fills in the TextBoxes, the values are added to a dataset table. When the page gets done reloading, the TextBoxes are turned into...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.