HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
going around in circles re frames
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame
View previous topic :: View next topic  
Author Message
ken.brown.23



Joined: 30 Dec 2007
Posts: 3

PostPosted: Sun Dec 30, 2007 8:48 am     going around in circles re frames Reply with quote

Crying or Very sad I have created a frame set with 3 frames
when I logon to localhost:8080 it appears to find rthe frameset as it returns 3 messages web page not found

here is the frameset code
=========================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>FrameSet.htm</title>
</head>

<frameset rows="80,*" cols="*" framespacing="0" frameborder="NO" border="3" bordercolor="#FF0000">
<frame src="FrameTop.html" name="Top" noresize id="Top">

<frameset cols="80,*" framespacing="0" frameborder="NO" border="3" bordercolor="#CCCCCC">
<frame src="FrameLH.html" name="LH" noresize bordercolor="#FF0000" id="LH">
<frame src="FrameRH.html" name="RH" noresize bordercolor="#FF0000" id="RH">
</frameset>
</frameset>
<noframes><body>
</body></noframes>
</html>


Here is the top frame code
===========================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body>
top
</body>
</html>


Here is the left code
=====================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body>
<!-- ******** BEGIN LIKNODROPDOWNMENUTREE CODE FOR Footer ******** -->
<script type="text/javascript">var TreeName="Footer",TreeLinkedBy="Likno LDMT [1]",awtBN=134</script>
<script type="text/javascript" src="ldmt.js"></script>
<script type="text/javascript" charset="UTF-8" src="Footer.js"></script>
<!-- ******** END LIKNODROPDOWNMENUTREE CODE FOR Footer ******** -->
<script type="text/javascript">var TreeName="tree",TreeLinkedBy="Likno LDMT [1]",awtBN=134</script>

<script type="text/javascript" charset="UTF-8" src="SCM/tree.js"></script>
<!-- ******** END LIKNODROPDOWNMENUTREE CODE FOR tree ******** -->
<div id="treeid" style="position:absolute; width:199px; height: 195px; top: 81px; left: 206px;"></div>
<p>
LH
</p>
</body>
</html>



Here is the Right frame code
==============================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body>
RH
</body>
</html>


--------------------------------------------------
==================================================
any help in solving why is does not work would be appreciated

regards

ken
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8265
Location: Castle Rock CO USA

PostPosted: Sun Dec 30, 2007 10:32 am     Reply with quote



If it appears to find the frameset, what's the issue again? You might try using
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
   "http://www.w3.org/TR/html4/frameset.dtd">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled 1</title>
</head>

<frameset rows="64,*">
   <frame name="banner" scrolling="no" noresize="noresize" target="contents">
   <frameset cols="150,*">
      <frame name="contents" target="main">
      <frame name="main">
   </frameset>
   <noframes>
   <body>

   <p>This page uses frames, but your browser doesn't support them.</p>

   </body>
   </noframes>
</frameset>

</html>
to see if that helps some - changing the paths accordingling.

Or which page is not found? Are on on a *NIX system?

_________________
Corey
Toll Free Fax Numbers | Mile High Merchant Accounts | Expression Web Blog
ken.brown.23



Joined: 30 Dec 2007
Posts: 3

PostPosted: Mon Dec 31, 2007 7:12 am     Reply with quote

not using a nix system
using windows xp professional , Internet explorer 7

tried your code - same result

here is a screen shot of what I get with the sample code
http://www.lifebuoysoftware.com/

regards

ken
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8265
Location: Castle Rock CO USA

PostPosted: Mon Dec 31, 2007 7:58 am     Reply with quote

It looks like the paths (file names) are incorrect. The code I provided did not have any src names listed.

Assuming that FrameLH.html is in the same folder, verify it is actually FrameLH.html and not something like framelh.html.

_________________
Corey
Toll Free Fax Numbers | Merchant Accounts | Microsoft Expressions
ken.brown.23



Joined: 30 Dec 2007
Posts: 3

PostPosted: Mon Dec 31, 2007 10:07 am     Reply with quote

have redone all with lowercase everywhere-same result
all in same folder and
this is part of a 4th dimension database publishing to web using code SEND HTML FILE("menupage.htm")

would it help if I emailed pages to you ?

have a happy new year
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8265
Location: Castle Rock CO USA

PostPosted: Mon Dec 31, 2007 12:13 pm     Reply with quote

So if you enter http://www.example.com/FrameLH.html - the page comes up?

Sorry I am not certain what the 4th dimension is - I know HTML though. It looks like the paths are incorrect. Do you have the path to the framed page up yet?

_________________
Corey
Toll Free Fax Numbers | Merchant Accounts | Microsoft Expressions
sticks464



Joined: 31 Dec 2006
Posts: 1116

PostPosted: Mon Dec 31, 2007 12:52 pm     Reply with quote

I just put your files into a folder on my desktop and made a few minor changes (considering I don't know what the javascript is suppose to do or render like).

frameset.html
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>frameset.htm</title>
</head>
<frameset rows="80,*" border="NO" />
   <frame src="FrameTop.html" name="Top" noresize id="Top" />
      <frameset cols="199,*" framespacing="0" frameborder="NO" border="3" bordercolor="#CCCCCC" />
         <frame src="FrameLH.html" name="LH" noresize bordercolor="#FF0000" id="LH" />
         <frame src="FrameRH.html" name="RH" noresize bordercolor="#FF0000" id="RH" />
      </frameset>
</frameset>
<noframes>
<body>
</body>
</noframes>
</html>

The change in width of the LH frame was an attempt to do away with the bottom scrollbar. (width=div width in FrameLH.html)

FrameLH.html
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>FrameTop.html</title>
</head>
<body>
<!-- ******** BEGIN LIKNODROPDOWNMENUTREE CODE FOR Footer ******** -->
<script type="text/javascript">var TreeName="Footer",TreeLinkedBy="Likno LDMT [1]",awtBN=134</script>
<script type="text/javascript" src="ldmt.js"></script>
<script type="text/javascript" src="Footer.js"></script>
<!-- ******** END LIKNODROPDOWNMENUTREE CODE FOR Footer ******** -->
<script type="text/javascript">var TreeName="tree",TreeLinkedBy="Likno LDMT [1]",awtBN=134</script>
<script type="text/javascript" src="SCM/tree.js"></script>
<!-- ******** END LIKNODROPDOWNMENUTREE CODE FOR tree ******** -->
<!--<div id="treeid" style="position:absolute; width:199px; height: 195px; top: 81px; left: 206px;"></div>-->
<p>
LH
</p>
</body>
</html>

I commented out the absolute positioned div as it puts a scrollbar at the bottom of the frame, and I could not see the purpose as it has no content.

Did not do anything to the other two pages, just made sure they were the same name as listed on the framset.html page.
Worked for me without using localhost. You should not need localhost as javascript is a client side language and requires no server to render.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial