Results 1 to 2 of 2

Thread: Sidebar question

  1. #1
    Join Date
    Nov 2005
    Posts
    4

    Sidebar question

    Hello. I've taken a break from webdesign (2-3 years) I remember most of the
    stuff... but anyways... I need help doing something that I know I've done in
    the past.

    This is not frames (I hate frames!) But there was a way to create an html f
    ile with whatever in it. In my case a bunch of links for a sidebar. Then you
    just type in a code in all your html files to show this html file. So basic
    ly you only have to update one html file and all of your sidebars are update
    d.... Hopefully someone knows what I am talking about. I just need a refresh
    er on how to do this.

    Thanks in advance.

  2. #2
    Join Date
    Mar 2005
    Posts
    127
    Use PHP or ASP to do this.. I'll describe the PHP way as I don't know ASP..
    The files that include your menu must have the .php extension, as must the file with the menu in it.
    Put your menu in menu.php.
    In your page where you want the menu (eg. index.php) put
    Code:
    <? include "menu.php"; ?>

Similar Threads

  1. A question of content
    By revrandysausage in forum General Questions
    Replies: 0
    Last Post: 26 Sep 2005, 02:25 PM

Posting Permissions

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