Posts: 4
Name: Christopher Amirian
Location: Tehran, Iran
|
Hi there do as follows:
1- find crftncntrcts/script/dropdown.js and open it
2- find the code below:
// animate .children on hover
$('#nav .dropdown').hoverIntent(function() {
$(this).find('.children').slideDown(500);
}, function() {
$(this).find('.children').slideUp(500);
});
and change it to this:
// animate .children on hover
$('#nav .dropdown').hoverIntent(function() {
$(this).find('.children').slideDown(500);
$(this).find('a').addClass('hovered');
}, function() {
$(this).find('.children').slideUp(500);
$(this).find('a').removeClass('hovered');
});
3- in the crftncntrcts/information.htm add a css rule like this:
.hovered {
background: #231F20;
background: -webkit-linear-gradient(to bottom, #231F20 0%,#391F36 100%);
-pie-background: -webkit-linear-gradient(to bottom, #231f20 0%,#391f36 100%);
border-radius: 5px;
color: white;
position: relative;
text-shadow: none;
z-index: 0;
}
Hope this can help.
Regards;
Christopher Amirian
|