SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2002
    Location
    San Diego, CA
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Automatic Change Throughout Website

    I thought I saw a thread about this subject, but couldn't find it when I searched just now. I have finally decided to upgrade my layout to CSS (vs. the tables I just added that are a problem), and want to know if there is a script (CSS or Javascript) that will call the same information every time. I will have navigation graphics/links on the left side, but at the bottom of every page I have text links also. Is there a way to have the text links information inserted on every page automatically?

    I also want to add some other information (copyright, etc) that would appear on every page.

  2. #2
    Grumpy Mole Man Skunk's Avatar
    Join Date
    Jan 2001
    Location
    Lawrence, Kansas
    Posts
    2,066
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can do that with javascript but it's a bad idea, as browsers that don't support javascript will not display the included text. The best way of doing it is with a server side solution - check if your hosting supports SSI or PHP (or ASP) - any of those technologies will allow you to easily set up "includes" for the server to apply to your page before it is delivered to the browser.

  3. #3
    SitePoint Enthusiast
    Join Date
    May 2002
    Location
    San Diego, CA
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the info. I guess its something to look into for the future.


Bookmarks

Posting Permissions

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