you need to remove the "/Inetpub/wwwroot/" from your frame src="....".
InetPub\wwwroot should be seen as the root by your webserver, so unless you
have inetpub\wwwroot subdirectories off of your wwwroot directory, yor
webserver cannot find the files specified.
Try using simple relative paths.

~Simon

> Simon Horwith
> Allaire Certified ColdFusion Instructor
> Certified ColdFusion Developer
> Fig Leaf Software
> 1400 16th St NW, # 220
> Washington DC 20036
> 202.797.6570 (direct line)
> www.figleaf.com
> 


-----Original Message-----
From: Kevin Gilchrist [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 15, 2001 3:38 PM
To: CF-Talk
Subject: Cannot define a frameset in .CFM file?


Hi,

I'm trying to define some frames in a .cfm file and can't seem to get the
frames to appear and end up with a blank page.  
It works fine if I simply rename the .cfm file to .htm file.  What do I need
to do?

The simple page I'm testing with looks like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
        <title>Untitled</title>
</head>
<!-- frames -->
<frameset  rows="22%,*">
    <frame name=""
src="../../../Inetpub/wwwroot/dashboard_wip/mainheader.htm" marginwidth="10"
marginheight="10" scrolling="auto" frameborder="1">
    <frame name=""
src="../../../Inetpub/wwwroot/dashboard_wip/frame3/shellmid.htm"
marginwidth="10" marginheight="10" scrolling="auto" frameborder="1">
</frameset>

<body>


</body>
</html>


What's strange is that when I do view the source of the blank page I get:



<!DOCTYPE html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>

<META http-equiv="expires" content="Thu, 1 October 1998 00:00:00 PST">
<TITLE>Project Tracking Application Global file</TITLE>
</HEAD>
<BODY>



</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
        <title>Untitled</title>
</head>
<!-- frames -->
<frameset  rows="22%,*">
    <frame name=""
src="../../../Inetpub/wwwroot/dashboard_wip/mainheader.htm" marginwidth="10"
marginheight="10" scrolling="auto" frameborder="1">
    <frame name=""
src="../../../Inetpub/wwwroot/dashboard_wip/frame3/shellmid.htm"
marginwidth="10" marginheight="10" scrolling="auto" frameborder="1">
</frameset>

<body>


</body>
</html>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to