Splak.net
http://www.splak.net/forum/

Dreamweaver 8
http://www.splak.net/forum/viewtopic.php?f=3&t=1161
Page 1 of 1

Author:  $torm [ Sat Feb 16, 2008 12:29 pm ]
Post subject:  Dreamweaver 8

Hey. Does anyone know how I can put frames together and save? Cos' I would put the frames together (top and right) and save them all, and when i try to open them it comes out completley different. It doesnt go as one page, it goes as 3?

If anyone gets me, can you help me out. Thankz

Author:  VMAN [ Sat Feb 16, 2008 1:51 pm ]
Post subject: 

frames need external pages to load from, that is prob why its giving three pages, and your mane one is the one where alll the frames will load


or use php includes


ex: lets say u wanna include a menu template
so ur page.php has this in it

Code:
<html>
<body>
<?php include("menu.php"); ?>

<h1>Welcome to my home page</h1>

<p>Some text</p>

</body>
</html>




menu.php has

Code:
<a href="http://www.w3schools.com/default.php">Home</a> |
<a href="http://www.w3schools.com/about.php">About Us</a> |
<a href="http://www.w3schools.com/contact.php">Contact Us</a>




when the code is used, you get this
Code:
<html>
<body>
<a href="http://www.w3schools.com/default.php">Home</a> |
<a href="http://www.w3schools.com/about.php">About Us</a> |
<a href="http://www.w3schools.com/contact.php">Contact Us</a>
<h1>Welcome to my home page</h1>

<p>Some text</p>

</body>
</html>



stuff about php includes http://www.w3schools.com/php/php_includes.asp
stuff about frames http://www.w3schools.com/html/html_frames.asp
http://www.w3schools.com/tags/tag_iframe.asp

Author:  $torm [ Sun Feb 17, 2008 11:27 am ]
Post subject: 

Alright cool, thx vman

Page 1 of 1 All times are UTC - 6 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/