MyBB Community Forums

Full Version: Can't get a jquery to show up in fixed header?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Are the two slides supposed to appear alongside one another? How could the login-slide appear on the fixed_header if the fixed_header is on another template. I don't think you could have two Divs with the same ID. ID's are supposed to be unique and used only once.
<div id="fixed_header">
(2013-07-22, 04:48 PM)ronangelo Wrote: [ -> ]Are the two slides supposed to appear alongside one another? How could the login-slide appear on the fixed_header if the fixed_header is on another template. I don't think you could have two Divs with the same ID. ID's are supposed to be unique and used only once.
<div id="fixed_header">

I fixed it! I had to add this code inside my fixed header divs located inside my header template.
<hr class="hidden" />
	<div id="login_container">
	        {$welcomeblock}
	</div>

So now, what ever I put inside my header_welcomeblock_guest, it will show up inside my fixed header.
Pages: 1 2