Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function () {
- $('.down-list').width($('.dropdown-menu').width()-2);
- $('.dropdown-menu').hover(
- function () {
- $('.menu-first', this).addClass('slide-down').css({'border-bottom-left-radius': '0', 'border-bottom-right-radius': '0'});
- $('.down-list', this).slideDown(100).css('position', 'fixed');
- },
- function () {
- obj = this;
- $('.down-list', this).slideUp(150, function(){ $('.menu-first', obj).removeClass('slide-down').css({'border-bottom-left-radius': '4px', 'border-bottom-right-radius': '4px'}); });
- }
- );
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement