"Richard Morey" wrote:
: I am trying to build an "in between" page to show an animated "Working.."
: gif while a long process runs on the server via ASP.
:
: The problem is that the table/gif is not displaying when I load the
: inbetween page..
:
: This is my code snippet:
:
: Updating Room Type
: #<%=setRoomTypes.Fields.Item("ROOMTYPE").Value%><b r><br>
: <img src="images/imgPleaseWaitAni.gif"><br>
: <script>
:
:
window.open("pageUpdateMinimumStays.asp?SITEID=<%= Request.QueryString("SITEI
:
D").Item%>&ROOMTYPE=<%=setRoomTypes.Fields.Item("R OOMTYPE").Value%>&index=<%
: =(MM_offset+1)%>","_self");
: </script>
:
: (I have code that opens the db above this code). Should I open the DB,
pull
: out the field values I need, and close the db so I have no ASP in the body
: of the page?
Yes. Open late, close early.
: Its very frustrating because now I just get a blank page and I'm sure this
: will throw off the users..
Or you could just put "This page intentionally left blank" (O:=
What is this, just description?
: Updating Room Type
So then your popup will look something similar to:
<script>window.open("pageUpdateMinimumStays.asp?SI TEID=1&ROOMTYPE=1&index=1"
,"_self");</script> ???
'launch app from page1.asp
location.href='page2.asp'
'page2.asp launches popup
'call popup.asp from client-side
window.open('popup.asp','popup')
'run process
'close popup
'update page
Is this the sequence you're using?
--
Roland
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 Knowledge Base-
http://support.microsoft.com/default...&ln=EN-US&FR=0
-Technet Script Center-
http://www.microsoft.com/technet/tre...er/default.asp
-WSH 5.6 documentation download-
http://www.microsoft.com/downloads/d...displaylang=en
-MSDN Library-
http://msdn.microsoft.com/library/default.asp