Jump to content

my frames do not work


jasonc

Recommended Posts

i am wanting to change my exisiting home page to frames, i use at the moment this.

<?
include("header.php");
include("mainpage.php");
include("footer.php");
?>

my header file contains a scroller marquee and each time someone click a link anywhere in the site this marquee restarts, i would like this to continue without restarting until all info is shown then to restart like normal.

i have been told to use frames with iframes in them like this.



my index.php file...

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

<frameset rows="80,*,80" frameborder="NO" border="0" framespacing="0">
<frame src="UntitledFrame-10.htm" name="topFrame" scrolling="NO" noresize >
<frame src="UntitledFrame-7.htm" name="mainFrame">
<frame src="UntitledFrame-9.htm" name="bottomFrame" scrolling="NO" noresize>
</frameset>
<noframes><body>

</body></noframes>
</html>



UntitledFrame-10.htm....

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<IFRAME FRAMEBORDER=0 SCROLLING=NO SRC="../header.php"></IFRAME>
</body>
</html>




UntitledFrame-7.htm....

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
middle text
</body>
</html>




UntitledFrame-9.htm....

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<IFRAME FRAMEBORDER=0 SCROLLING=NO SRC="../footer.php"></IFRAME>
</body>
</html>


.....


the header does not show at all. the middle part seems ok, and the footer is shown but it is not all shown only about 30% of the left hand side of it is seen.


any ideas anyone?

thanks in advance.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.