Log in

View Full Version : 2 Questions - :)



adm
05-10-2006, 03:54 PM
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.

:Blob
05-10-2006, 04:02 PM
1) Yes

Create a index page with the custom top, then below the code of the bar thing add a PHP include like:


<?
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

adm
05-10-2006, 04:04 PM
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.

:Blob
05-10-2006, 04:05 PM
it will just use the whole page, no height ect.

Want to hide these adverts? Register an account for free!