Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Maintaining Consistent Drop Down Menu

Maintaining Consistent Drop Down Menu

Maintaining Consistent Drop Down Menu

I have a lot of pages on my site and would like to find a better way to manage changes I make to my CSS dropdown menu (from: http://www.dynamicdrive.com/dynamicindex1/chrome/index.htm) for example.

If I update the menu on the homepage with a new item, I would then need to update all subpages.  Obviously this is a far from optimal solution.

Other than an iframe type solution, what options are recommended?  Can I create a menu file and call that file somehow?



RE: Maintaining Consistent Drop Down Menu


Quote (John):

Can I create a menu file and call that file somehow?
Yes. But not with HTML.

Your options :
  • generate the HTML documents offline ( m4, Gema, Haml, Toupl, ... )
  • generate the HTML documents dynamically ( CGI, SSI, PHP, ... )
There is one more, but I would not call it option, as it will stop the bots crawling your site :
  • include the menu data with JavaScript


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close