Frames

C

cvg brown

Hi guys,

I try to use frames on my ASPs. But nothing appears on the screen.

Below you can find the code.


<%@LANGUAGE="VBSCRIPT"%>
<% If Session("teUserName")="" or Session("teUserName")<>"admin" Then
Response.Redirect("index.asp") End If %>

<!--#include file="header.asp"-->

<table border=0 cellspacing=1 cellpadding=2 bgcolor="#ffe4b5"
width="100%">
<tr>
<td class="smallertext"><a href="index.asp">Home</a> » <a
href="protected.asp">A.S.A. Record Form</a> » <a
href="reports.asp">Reports</a></td>
<td class="smallerheader" width=130 align=right valign=bottom><a
href="manage.asp">DB Manage</a></td>
<td class="smallerheader" width=130 align=right>
<%
if session("teLastAccess") <> "" then
response.write "<span title=""User last access was on '" &
formatdatetime(session("teLastAccess"), 1) & "'" & vbCrLf & "at '"&
formatdatetime(session("teLastAccess"), 3) & "'"">"
else
response.write "<span title=""First time access, Welcome."">"
end if
response.write session("teName") & " " & session("teSurname")
&"</span>"
response.write " (<a href=""logout.asp"">Logout</a>)" &"</span>"
response.write "<a href=""passchange.asp"">Change Password</a>"
&"</span>"
%>
</td>
</tr>
</table>

<table width=100%>
<hr class="hrBar" size="1" noshade>
</table>

<frameset framespacing="2" rows="62,*">
<frame name="toolbar" scrolling="no" target="contents"
src="toolbar.asp" marginwidth="0" marginheight="0">
<frameset cols="49%,*">
<frame name="contents" src="contents.asp" scrolling="yes"
marginwidth="0" marginheight="0" target="main">
<frame name="main" src="main.asp" scrolling="auto"
marginwidth="0" marginheight="0">
</frameset>
</frameset>

<!--#include file="footer.asp"-->
 
K

Kevin Spencer

Hi cvg,

1. This is an ASP.Net newsgroup, not an ASP newsgroup. in the future, you'll
fare much better at getting an answer on the right newsgroup.

2. Frameset pages should have only Frameset HTML in them, not a mixture of
page HTML and Frameset HTML. A Frameset is simply a container for other
pages, not a page by itself.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,077
Latest member
SangMoor21

Latest Threads

Top