|
-
Jul 22nd, 2005, 01:30 AM
#1
Thread Starter
Lively Member
How to call my target page out and paste on a frame?
Hi! I am decorating my system now. I have 3 parts in my Asp.net page, top is my company logo and address, bottom part (Part2.htm) is divided into left frame and right frame.
My left frame is a Login form, while right frame contains System logo. When I have login into this sytem, the logo in right frame should disappear and replaced by Menu form. However, after I login, Menu page came out in left frame whereas the system logo remains at right frame. I guess I have left out some coding.
Below is default.aspx which 'top.aspx' and 'Part2.htm' are combined into it.
<HTML>
<HEAD>
<TITLE>::
<%=CompanyName%>
|<%=SystemName%>
::</TITLE>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<frameset border="0" frameSpacing="0" rows="86,84%" frameBorder="no">
<frame name="top" marginWidth="5" marginHeight="5" src="top.aspx" noResize scrolling="no"><!-- top contains of Company name and address -->
<frame name="Part2" src="Part2.htm" noResize><!--Part2.htm contains System Logo at first and should be replace by Menu form after logging in-->
<noframes>
<body>
<p><font FACE='Times New Roman' SIZE='2'>This page uses frames, but your browser
doesn't support them.</font></p>
</body>
</noframes>
</frameset>
</HTML>
==================================================
this page is a html page called 'Page2.htm'
<html>
<head>
<TITLE>Part2</TITLE>
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="ProgId" content="VisualStudio.HTML">
<meta name="Originator" content="Microsoft Visual Studio .NET 7.1">
<LINK href="ReSys.css" type="text/css" rel="stylesheet">
</head>
<frameset cols="218,70%" border="0" frameSpacing="0" frameBorder="0">
<frame name="left" marginWidth="0" marginHeight="0" src="frmLogin.aspx" noResize target="_main">
<frame name="right" src="images\images3.jpg" noResize target="_self">
<noframes>
<body>
<p><font FACE='Tahoma' SIZE='2'>This page uses frames, but your browser doesn't support
them.</font></p>
</body>
</noframes>
</frameset>
</html>
This page uses frames, but your browser doesn't support them.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|