-
2 Questions - :)
Ok, I need a couple of questions for 2 of my upcoming projects.
1) Is there a way to make a bar that for every page you visit or scroll, etc that it's always there? For example:-
www.freewebs.com/templateworld113
2) Can you help me think of a name for my upcoming project? It's a design site - web design, logo design etc...
Thanks.
-
1) Yes
Create a index page with the custom top, then below the code of the bar thing add a PHP include like:
PHP Code:
<?
ob_start();
switch("$_GET[view]")
{
default:
include("home.php");
break;
case 'affiliates':
include("affiliates.php");
break;
}
?>
(You copy it ect.) This way when you have a address like index.php?view=affiliates It will show the bar and the page affiliates.php
-
So, just create an index page, and enter what I want on the bar, then include the main page?
How do I define the height, or will it do it automatically.
I'm not with php.
-
it will just use the whole page, no height ect.