Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Feel free to talk about anything and everything related to Joomla in this board.

Topic-icon Top Panel in Cars Template Question

  • aaroninbna
  • aaroninbna's Avatar Topic Author
  • Offline
  • HotThemes Member
  • HotThemes Member
  • Just because you can.... Doesn't mean you should !
More
5 years 5 months ago #12091 by aaroninbna
aaroninbna created the topic: Top Panel in Cars Template Question
Can the "top panel" module in the Hot Cars template be intergrated into another template?

I am using Hot Realestate and would like this function and believe my customer would as well.

Take Care,
Aaron

Please Log in to join the conversation.

More
5 years 5 months ago #12100 by ivan.milic
ivan.milic replied the topic: Re: Top Panel in Cars Template Question
Well yes,

you need to put div to be used as top panel with id="top-panel", that will be container for your module positions.Below it:
<div id="sub-panel"><a href="#" id="toggle"><span id="shText">Open</span></a></div>

then you will need this script:

<script type="text/javascript" >

jQuery(document).ready(function(){
jQuery("#sub-panel").click(function(){
jQuery("#top-panel").slideToggle();
var el = jQuery("#shText");
var state = jQuery("#shText").html();
state = (state == 'Close' ? '<span id="shText">Open</span>' : '<span id="shText">Close</span>');
el.replaceWith(state);
});
});

</script>

you need to put in css :

#top-panel{
display:none;
}

and at last some tuning will be probably needed.

Or we can do custom job for you.

Please Log in to join the conversation.

Time to create page: 0.118 seconds

Links, Partners and Social Media