Last visit was: It is currently Thu Mar 28, 2024 3:12 pm


All times are UTC-05:00




Post new topic Reply to topic  [7 posts ] 
    Author Message
     Post subject:HTML: Sidebar
    PostPosted:Sat Sep 08, 2007 1:00 pm 
    User avatar
     

    Joined:Sat Mar 11, 2006 8:28 am
    Posts:365
    Location:Canada
    I was wondering if there is a way where I can make the side menu in a separate file so when I add a link I don't have to go through 100 pages.

    _________________
    Best file compression around: "DEL *.*" = 100% compression
    "640K ought to be enough for anybody." - Bill Gates, 1981


    Top
    Offline  
     Post subject:
    PostPosted:Sat Sep 08, 2007 2:59 pm 
    Sagely Amphibian
    User avatar
     

    Joined:Sun Jun 18, 2006 3:06 pm
    Posts:69
    <?php
    include('sidebar.php');
    ?>

    PHP: include - Manual ?


    EDIT: Or search google for 'include file html'?


    Top
    Offline  
     Post subject:
    PostPosted:Sun Sep 09, 2007 8:55 am 
    User avatar
     

    Joined:Sat Mar 11, 2006 8:28 am
    Posts:365
    Location:Canada
    Would "sidebar.php" just be a separate file and all it has are my links?

    _________________
    Best file compression around: "DEL *.*" = 100% compression
    "640K ought to be enough for anybody." - Bill Gates, 1981


    Top
    Offline  
     Post subject:
    PostPosted:Sun Sep 09, 2007 10:27 am 
    Sagely Amphibian
    User avatar
     

    Joined:Sun Jun 18, 2006 3:06 pm
    Posts:69
    Yes that could works.
    1) You would need PHP support on your hosting site.
    2) Probably rename all your file .php


    If you check the google search, you will see that this could also be done with Server Side Includes (if your host support them), it could also be done in javascript (more complicated but don't need any feature on the host).


    Top
    Offline  
     Post subject:
    PostPosted:Sun Sep 09, 2007 12:19 pm 
    User avatar
     

    Joined:Sun Feb 12, 2006 8:56 pm
    Posts:1019
    Website:http://eddieringle.com
    Location:Detroit, MI
    Or if you desperate you could use *gag* frames *gag*.

    _________________
    -- Eddie Ringle

    Check out Elysian Shadows and consider backing us on Kickstarter!

    ====================================

    Image


    Top
    Offline  
     Post subject:
    PostPosted:Sun Sep 09, 2007 1:10 pm 
    User avatar
     

    Joined:Sat Mar 11, 2006 8:28 am
    Posts:365
    Location:Canada
    Frames are HoRiBle

    _________________
    Best file compression around: "DEL *.*" = 100% compression
    "640K ought to be enough for anybody." - Bill Gates, 1981


    Last edited by Darkknight512 on Sun Jan 27, 2008 10:38 pm, edited 1 time in total.

    Top
    Offline  
     Post subject:
    PostPosted:Sun Sep 09, 2007 4:15 pm 
    Sagely Amphibian
    User avatar
     

    Joined:Sun Jun 18, 2006 3:06 pm
    Posts:69
    Not a bad idea, perhaps a iframe?


    Top
    Offline  
    Display posts from previous: Sort by 
    Post new topic Reply to topic

      All times are UTC-05:00


      Who is online

      Users browsing this forum: No registered users and 10 guests


      You cannot post new topics in this forum
      You cannot reply to topics in this forum
      You cannot edit your posts in this forum
      You cannot delete your posts in this forum
      You cannot post attachments in this forum

      Search for:
      Jump to:  
      Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
      Theme created by Miah with assistance from hyprnova