but iframe are so easy, why dont u like them?
but iframe are so easy, why dont u like them?
REMOVED
Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.
If you use ifraims you cant link to a certain page, and keep the layout around it, aslo you cant make an ifraim fit to a dinaic contents size, this way builds the html direcvtly in to the page.
to make links you just use the normal html
<a href="index.php?go=page">bla</a>
The red bit is what sets the varible go
The p[hp then asks, if that go is set to anything, if its set to say page then it includes what ever page you may have wanted
sort of.
say i have
page.htm
rather than rewrite these links for each page.HTML Code:<b> navigtion</b> <br> *imagnie lots of links are here*
ic an just on each page
wich will thenPHP Code:<?php
include 'page.htm' ;
?>
write all the html in page.htm in to the page u put the include in.
wich is how i do my navigtion, and how i do the outside of my page.
ratehr than rewrite it for each one.
this way say with cutenews if i dont have much news the bit will be short, if i do it will be long. rather than u having to put an exstar biig ifram where u dont need it.. or go in to scroll bars.
it litraly put the contents of the page it inludes, in raplace ment of the include bit.
you following? ish?
EDIT: more deatil on it in the php maule http://us3.php.net/include/
(the site tends to confuse me so i learn form other places
What he saidIts working really well by the way
Basically is you go on mentor's site www.thybag.co.uk then click on one of the navigation links you will see how it works![]()
Last edited by splintercell!; 28-02-2005 at 04:40 PM.
Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
[Thybag.co.uk - Vive la revolutione]
Want to hide these adverts? Register an account for free!