in Joomla Templates by s-lejeunes (260 points)
Hi,

There is a special code or module to have a header exactly the same as extensions.joomla.org ?
I know that we can make a header fixed in TT with javascript:

<script>
$("document").ready(function($)
{
var nav =document.getElementById('ttr_header');
var isFixedMenu=false;
$(window).scroll(function ()
{
if($(this).scrollTop() >0)
{
nav.style.cssText="width:100% !important; position: fixed; left: 0; top: 0px;z-index:999;";

}
else
{
nav.style.cssText = null;


}
});
});

</script>

But I would like exactly the same header as in joomla extension, and there is something more above the menu like a module or header which close when you scroll the page.

Could you help me to have this kind of header ?

Thank you

1 Answer

by
ive done something like this before on xoops,it was a navigation bar,i set the position fixed,the div position which my codes were in it,so i think you can do the same,also the module between them is not fixed,so when you scroll down it seems closes
Interested in localizing/Translating TemplateToaster Software in your native language in exchange of a Pro License ? Contact Us
...