• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

html global nav bar, quick newb question

I4AT

Platinum Member
I want a tabbed design for my site with a global navigation bar always at the top. Do I need to copy/paste the nav bar code into every html file or is there a better/more efficient way of doing it?

Frames would seem like the most obvious choice for something to be loaded once and 'stick' until the browser is closed, but those are deprecated, so what's the new way of doing things?
 
Last edited:
Frames are terrible, so don't use them. If your site is static, then you have two choices: first, copy the code into every page as you suggested; or second, if your server supports server-side includes you can have a snippet of HTML and include it in every page. You'll need to check with your hosting provider.

Usually, however, this kind of feature is implemented on a site driven by server-side scripts, which is a whole 'nother animal.
 
Back
Top