Jump to content


Photo

my frames do not work


  • Please log in to reply
1 reply to this topic

#1 jasonc

jasonc
  • Members
  • PipPipPip
  • Advanced Member
  • 841 posts

Posted 16 April 2006 - 10:54 PM

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.../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.

#2 DrDre

DrDre
  • Members
  • PipPipPip
  • Advanced Member
  • 35 posts

Posted 17 April 2006 - 10:38 AM

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.
[a href="http://forums.fanetworks.net" target="_blank"][/a]
» faNetworks Webmaster. [[a href="http://fanetworks.net" target="_blank"]fanetworks.net[/a]]
» faSoftware Developer [[a href="http://software.fanetworks.net" target="_blank"]software.fanetworks.net[/a]]
» faForums - php Resource + more [[a href="http://forums.fanetworks.net" target="_blank"]forums.fanetworks.net[/a]]
» Experienced php Coder - Ill help anyone I can if I have time ;)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users