Top Panel in Cars Template Question

More
13 years 10 months ago #12091 by aaroninbna
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
13 years 10 months ago #12100 by ivan.milic
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.129 seconds
Powered by Kunena Forum