Jump to content

Archived

This topic is now archived and is closed to further replies.

jasonc

my frames do not work

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.

Share this post


Link to post
Share on other sites
This is an HTML question, not PHP :/

Im not really a frameset pro, dont recommend even using them, so i cant really help you here.

Share this post


Link to post
Share on other sites

×

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.