Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic page changing

Status
Not open for further replies.

YoelBenYossef

Programmer
Nov 16, 2005
38
CA
Hi There,
I'm updating some legacy code that's dynamically created using ASP. The old page would display the calender, and the start again. The new page should be diplaying the calender, then a security warning page. Unfortunately, it no longer changes pages, and I'm not sure why, so I'm posting the html for it. Thanks Eric

Old:

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset= iso-8859-1">
<title>Meeting Display System</title>
</head>
<body background="background.jpg" text="#006699" link="#0000ff" vlink="#ff00ff" rightmargin=0>
<BR>
<TABLE>
<TR><TD width=100 valign=top><CENTER><IMG height=65 src="cummings3.jpg" width=75 onclick="openDB()"></CENTER></TD>
<TD width=320><CENTER><FONT face="Book Antiqua" color="#F3F49C" size = 6><I>
<OBJECT align=middle classid=clsid:59CCB4A0-727D-11CF-AC36-00AA00A47DD2
codeBase=ietimer.ocx#Version=4,70,0,1161
height=0 id=tmrMain type=application/x-oleobject width=0 VIEWASTEXT border="0">
<PARAM NAME="_ExtentX" VALUE="1323"><PARAM NAME="_ExtentY" VALUE="1323">
<PARAM NAME="Interval" VALUE="12000"><PARAM NAME="Enabled" VALUE="True"></OBJECT>
Maison Cummings House</I></FONT></CENTER></TD><TD><CENTER>
<FONT face="Book Antiqua" color="#F3F49C" size=3>July 24, 2006</FONT><BR>
<FONT face="Book Antiqua" color="#F3F49C" size=5><CENTER>19:08</CENTER></FONT></CENTER></TD></TR></TABLE>
</TABLE>
<TABLE border= 1 bordercolor=black><TR><TD><center><font size=5.5 color=black><B><U>Time</B></font></center></U></TD><td width=500><center><font size=5 color=black><B><U>Meeting</B></font></center></U></td><TD width=200><font size=5 color=black><B><U>Room</B></font><CENTER></CENTER></U></TD></TR><TR bgcolor='#FFFFFF'><TD>&nbsp</TD><TD>&nbsp</TD><TD>&nbsp</TD</TR><TR bgcolor='#3E797D'><TD>&nbsp</TD><TD>&nbsp</TD><TD>&nbsp</TD</TR><TR bgcolor='#FFFFFF'><TD>&nbsp</TD><TD>&nbsp</TD><TD>&nbsp</TD</TR><TR bgcolor='#3E797D'><TD>&nbsp</TD><TD>&nbsp</TD><TD>&nbsp</TD</TR><TR bgcolor='#FFFFFF'><TD>&nbsp</TD><TD>&nbsp</TD><TD>&nbsp</TD</TR><TR bgcolor='#3E797D'><TD>&nbsp</TD><TD>&nbsp</TD><TD>&nbsp</TD</TR><TR bgcolor='#FFFFFF'><TD>&nbsp</TD><TD>&nbsp</TD><TD>&nbsp</TD</TR><TR bgcolor='#3E797D'><TD>&nbsp</TD><TD>&nbsp</TD><TD>&nbsp</TD</TR><TR bgcolor='#FFFFFF'><TD>&nbsp</TD><TD>&nbsp</TD><TD>&nbsp</TD</TR></TABLE>
<script language="VBScript">
<!--

Sub tmrMain_Timer
' Action to by executed by timer control (tmrMain)
Location.HRef = ("./defaulttest.asp?F=true")
End Sub
Function openDB()
' Opens BD when logo is clicked
window.open ("\\meetingsystem\database\meeting.mdb")
End Function
-->
</script>
</body>
</html>

New:

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset= iso-8859-1">
<title>Meeting Display System</title>
</head>
<body background="background.jpg" text="#006699" link="#0000ff" vlink="#ff00ff" rightmargin=0>
<BR>
<TABLE>
<TR><TD width=100 valign=top><CENTER><IMG height=65 src="cummings3.jpg" width=75 onclick="openDB()"></CENTER></TD>
<TD width=320><CENTER><FONT face="Book Antiqua" color="#F3F49C" size = 6><I>
Maison Cummings House</I></FONT></CENTER></TD><TD><CENTER>
<FONT face="Book Antiqua" color="#F3F49C" size=3>July 24, 2006</FONT><BR>
<FONT face="Book Antiqua" color="#F3F49C" size=5><CENTER>19:07</CENTER></FONT></CENTER></TD></TR></TABLE>
</TABLE>
<TABLE border= 1 bordercolor=black><TR><TD><center><font size=5.5 color=black><B><U>Time</B></font></center></U></TD><td width=500><center><font size=5 color=black><B><U>Meeting</B></font></center></U></td><TD width=200><font size=5 color=black><B><U>Room</B></font><CENTER></CENTER></U></TD></TR>
<!--
<script language='VBScript'>
Sub tmrMain_Timer
Location.HRef = ('./Security.asp')
End Sub
Function openDB()
window.open ('\\meetingsystem\database\meeting.mdb')
End Function
</script>
-->
<input type='hidden' name='Security' value=1><TR bgcolor='#FFFFFF'><TD>&nbsp</TD><TD>&nbsp</TD><TD>&nbsp</TD</TR><TR bgcolor='#3E797D'><TD>&nbsp</TD><TD>&nbsp</TD><TD>&nbsp</TD</TR><TR bgcolor='#FFFFFF'><TD>&nbsp</TD><TD>&nbsp</TD><TD>&nbsp</TD</TR><TR bgcolor='#3E797D'><TD>&nbsp</TD><TD>&nbsp</TD><TD>&nbsp</TD</TR><TR bgcolor='#FFFFFF'><TD>&nbsp</TD><TD>&nbsp</TD><TD>&nbsp</TD</TR><TR bgcolor='#3E797D'><TD>&nbsp</TD><TD>&nbsp</TD><TD>&nbsp</TD</TR><TR bgcolor='#FFFFFF'><TD>&nbsp</TD><TD>&nbsp</TD><TD>&nbsp</TD</TR><TR bgcolor='#3E797D'><TD>&nbsp</TD><TD>&nbsp</TD><TD>&nbsp</TD</TR><TR bgcolor='#FFFFFF'><TD>&nbsp</TD><TD>&nbsp</TD><TD>&nbsp</TD</TR></TABLE>
<OBJECT align=middle classid=clsid:59CCB4A0-727D-11CF-AC36-00AA00A47DD2
codebase="ietimer.ocx#Version=4,70,0,1161"
height=0 id=tmrMain type=application/x-oleobject width=0 VIEWASTEXT border="0">
<PARAM NAME="_ExtentX" VALUE="1323"><PARAM NAME="_ExtentY" VALUE="1323">
<PARAM NAME="Interval" VALUE="1200"><PARAM NAME="Enabled" VALUE="True"></OBJECT>
</body>
</html>

Thanks
Eric
 
Eric
Please read faq222-2244 to see why posting to multiple forums is discouraged. Go to your thread333-1258215 and please provide the info requested so we can help.

All
Please follow other thread

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top