![]() |
Placing $navbar in the header ... impossible?
The Subject: line explains it all.
In my forum (see http://www.cyburbia.org/forums/ ), I'd like to display the navbar at the top of the page, below my header image and web site navigation tabs. (If you visit the page, you'll see a header that I want to duplicate across all the pages on the Web site. The "crumb tail" will be in the grey area.) Thing is ... I've been told that $navbar is generated after the header is generated. I was told once "just post the contents of the $navbar template where you want it to go," but unfortunately that doesn't work either. I tried searching for such a hack here, without much luck. Can $navbar be placed in the header? |
the answer is no, because the header is created in the global.php, and this file is included before you can make your navbar :)
ok, lets say it is doable, but you have to add some code into global.php, and because the navbar isn't just created in one function it would be very much code... |
Sigh. Thanks anyhow.
Lemme' ask another question. (Yes, I've Googled everywhere to find an answer, with no luck.) Are there any HTML tricks you can use to generate $navbar in its normal spot, but display the results up in a "receiving area" that would be in the header area? The HTML would be where it normally is, but the $navbar appears somewhere else. I tried CSS and DHTML tutotial sites, without much luck. Thanks, Dan |
AFAIK you can do it with javascript or DHTML. For example one trick I can think of is to put a form box in the very top of your screen and update the form box with your $navbar value with say "onload" trigger. It's a bit awkard but I'm sure a javascript wiz can find a better way to handle it..
|
All times are GMT. The time now is 08:58 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|