Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Dec 2007
    Posts
    12
    Member #
    16242
    Hi, I'd just like to say I'm not the most inept coder then again I wouldn't be asking for help with this if i were. Anyways, I was wondering is there a way I could code a menu in a css style sheet and then reference it from there into another page. For instance if I had a menu with links that changed often and I only wanted to have to change it once instead of updating it on every page it was on. So if anyone could point me to a tutorial or give me a bit of an explination. For I am a child in need of wisdom from the coders of ol'... or something like that. THANKS!!!

  2.  

  3. #2
    Senior Member kade119's Avatar
    Join Date
    Feb 2007
    Location
    USA
    Posts
    532
    Member #
    14888
    Liked
    1 times
    you can reference the css style sheet... but far as referencing the html structure of the menu you cannot.. just copy and paste the html part of the menu in to each page you want to embed it, and change the links out... if not that route.. im sure the is a way to what your wanting.. but with php.. you would still have to change the links though

  4. #3
    Senior Member Eddy Bones's Avatar
    Join Date
    Jan 2004
    Location
    Washington, USA
    Posts
    1,054
    Member #
    4651
    You can use a server-side language to include a file that holds the navigation HTML into each page.

    Try a google search for "php includes" and you'll get some good results. Please note that you'll need a server that supports PHP.

    Hopefully that wasn't too vague, I'm at work right now... lol.

  5. #4
    Junior Member
    Join Date
    Dec 2007
    Posts
    12
    Member #
    16242
    ok that should help plenty thanks guys much appreciation.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 03:39 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com