Is there a way to have the top banner message be regularly contracted to it's icon until someone clicks on it to have it opened? I pretty much would like it to function the opposite way of how it works now.
Start disabled, click to enable.
Is there a way to have the top banner message be regularly contracted to it's icon until someone clicks on it to have it opened? I pretty much would like it to function the opposite way of how it works now.
Start disabled, click to enable.
Hey,
try to replace following line in js/avia.js:
close = $('.close_info_text', container);
with:
close = $('.close_info_text', container);
text.animate({opacity:0});
elements.animate({height:42},0, function()
{
container.animate({width:42},0,'easeOutQuint', function()
{
container.addClass('minimized');
text.css({display:"none"});
});
});Hi Dude,
I tried that and it looked like it works at first, but it actually functions in a really weird way. check it out:
with the code added, it starts white (but as a full strip instead of a single icon) and once you hover over it, the entire strip turns black, and when you click it the original text appears.
How could we fix this?
I corrected the code. Please try it again.
Perfect, thanks so much dude! Much appreciated.
Glad that I could help you :)
You must log in to post.