#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    11
    Rep Power
    0
    I am building a new site and want to include the same image and the same tables (with a
    menu etc.) on ALL the pages. I want to apply the images and tables at run-time so that
    whenever the images or tables change, ALL the pages change with it...

    I know I could do soemthing similar using frames, but I don't want to 'cause I want the
    whole page being scrollable and not just the single frames...

    It'd be great with a javascript or some php for that...

    Check out my page: http://64.176.64.21/new/newDesign.htm.
    I want to include the logo, the menu + the items on the left and
    right on all pages...

    Any help is appreciated .

    Martin Jorgensen.
  2. #2
  3. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Brussels, Belgium
    Posts
    14,645
    Rep Power
    4492
    use <?php include("yourfile.htm"); ?>

    just put your menu and pictures into myfile.htm and put that include statement where ever you want the menu to appear. it's sort of like using frames, but you don't have to worry about browser versions.

    ---John Holmes...

Similar Threads

  1. combing three pages into one
    By thindery in forum PHP Development
    Replies: 1
    Last Post: February 14th, 2004, 05:07 PM
  2. asp pages not loading
    By mgovatos in forum ASP Programming
    Replies: 5
    Last Post: February 8th, 2004, 12:04 PM
  3. how to speed up local apache/php in processing pages?
    By mickeyren in forum Apache Development
    Replies: 0
    Last Post: January 19th, 2004, 11:11 PM
  4. include() pages not taking CSS style?
    By dackerman in forum CSS Help
    Replies: 9
    Last Post: December 28th, 2003, 06:49 PM
  5. variable content length and div bg sizing to fit page
    By mstrnicegui in forum HTML Programming
    Replies: 0
    Last Post: October 26th, 2003, 12:44 AM

IMN logo majestic logo threadwatch logo seochat tools logo