TemplateToaster
Website Builder | Since 2009
Home
Features
Download
Help
Forum
Support
Documentation
Purchase
Overview
Demo
Screenshots
Free Templates
Blog
Login
Login
Register
TemplateToaster Forum
All Activity
Questions
Unanswered
Tags
Ask a Question
TemplateToaster
Ask a Question
Header as extensions.joomla.org
asked
Apr 30, 2015
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
Please
log in
or
register
to answer this question.
1
Answer
answered
Jul 18, 2015
by
anonymous
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
Please
log in
or
register
to add a comment.
Interested in localizing/Translating TemplateToaster Software in your native language in exchange of a Pro License ?
Contact Us
Categories
All categories
Wordpress Themes
(661)
Joomla Templates
(688)
Magento Themes
(28)
Drupal Themes
(55)
HTML Website
(141)
Issues/Bugs
(291)
New Features Discussion
(191)
General Discussion
(323)
Translation/Localization
(6)
...