www.webdeveloper.com
Results 1 to 3 of 3

Thread: Creating a persistent sidenav menu? CSS?

  1. #1
    Join Date
    Nov 2005
    Posts
    1

    Creating a persistent sidenav menu? CSS?

    I have multiple pages that rely on the same menu. As it stands right now, I am doing it a rather stupid way, which is to have a copy of the same table on each of the pages it pertains to. Unfortunately with this method, I end up changing the same menu about 20 times when I have to update it. Is there a better way to do this? Can I define the menu somehow in CSS and just change it from one source?

  2. #2
    Join Date
    Jul 2004
    Location
    Sendai, Japan
    Posts
    1,273

  3. #3
    Join Date
    Nov 2005
    Posts
    46
    As mentioned in BonRouge link, you can define your menu in a php or asp file, then use <include> to quickly add the menu on your page.

    If you are using ASP.NET, building a user control will be an option

    Kiat Hau
    http://webidiot.blogspot.com, Learn how to build a web site

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles