Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2006
    Location
    Doncaster, UK
    Posts
    1,458
    Tokens
    0

    Latest Awards:

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

  2. #2
    Join Date
    Nov 2004
    Location
    HabboWeb FM Offices
    Posts
    3,019
    Tokens
    0

    Latest Awards:

    Default

    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

  3. #3
    Join Date
    Oct 2006
    Location
    Doncaster, UK
    Posts
    1,458
    Tokens
    0

    Latest Awards:

    Default

    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.

  4. #4
    Join Date
    Nov 2004
    Location
    HabboWeb FM Offices
    Posts
    3,019
    Tokens
    0

    Latest Awards:

    Default

    it will just use the whole page, no height ect.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •