|
 |
aspx_beginners thread: frames and asp
Message #1 by "ian king" <ian@k...> on Sat, 24 Feb 2001 19:10:26
|
|
I am using frames with asp. when i call the frames using frameset the
frames are displayed within the browser but the asp code is ignored which
is in each frame. i am using iis4. any ideas!
code:-
<frameset rows="40%,60%">
<frame name="acc_hdr" src="e:\inetpub\wwwroot\mand\tp\city\acc_hdr.asp">
<frame name="acc_body" src="e:\inetpub\wwwroot\mand\tp\city\acc_body.asp">
</framset>
</html>
frame acc_hdr:-
<%@ LANGUAGE="VBSCRIPT"%>
<%Option Explicit%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Acc_Hdr</title>
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta name="Microsoft Theme" content="tvtoons 001, default">
<meta name="Microsoft Border" content="tl, default">
</head>
<body bgcolor="#009999" text="#FFFFFF" link="#CCFF66" vlink="#FFCC00"
alink="#99CCFF" background="../_themes/tvtoons/tvbkgnd.gif">
<!--msnavigation--><table border="0" cellpadding="0" cellspacing="0"
width="100%"><tr><td>
<!--mstheme--><font face="Arial, Arial, Helvetica">
this is ignored
<%
Dim strHead
strHead = Replace(Request.QueryString("AccommType"),"+"," ")
Response.Write "<h1 style='border-style: inset; margin-left: 3.0in; margin-
right: 3.0in; color: #CCFF66; font: bold; Arial;' align=center >" &
strHead & "</h1>"
%>
<p align="center"><font size="4">
<a href="../home.asp"><img src="../_derived/home_cmp_tvtoons000_hbtn.gif"
width="140" height="60" border="0" alt="Home" align="middle"> </a>
</body>
</html>
thanks
ian
Message #2 by "TieBOB" <tiebob1@p...> on Sun, 25 Feb 2001 19:34:13 +0800
|
|
If you want to run ASP file, you couldn't use the command like [
c://xxx/xxx.asp ]
you MUST use URL to work the ASP like :
http://xxx.xxx.xxx.xxx/yyy.asp
--TieBOB--
|
|
 |