![]() |
|
|
|
#1 |
|
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"--> *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! cvg brown |
|
|
|
|
#2 |
|
Posts: n/a
|
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. "cvg brown" <> wrote in message news:... > 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"--> > > > *** Sent via Developersdex http://www.developersdex.com *** > Don't just participate in USENET...get rewarded for it! Kevin Spencer |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Frames | McClain26 | The Lounge | 0 | 12-07-2007 09:27 AM |
| How can i capture some frames from a DVD? | [mfk] | DVD Video | 1 | 09-19-2007 06:15 PM |
| Handling frames in asp.net | rizwan_087 | Software | 2 | 04-23-2007 07:12 AM |
| Re: GOD=G_uv HOW TO MAKE AN INVISIBLE GOD MOVIE | George Hammond | DVD Video | 1 | 10-11-2005 06:16 PM |
| Re: GOD=G_uv HOW TO MAKE AN INVISIBLE GOD MOVIE | George Hammond | DVD Video | 0 | 10-11-2005 06:21 AM |