Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery(document).ready(function() {
- jQuery('#menu-primary ul.sub-menu').css( 'width', jQuery('#menu-primary').width() );
- /*
- // Menu animation
- jQuery("#access ul ul").css({display: "none"}); // Opera Fix
- jQuery("#access li").hover(function(){
- jQuery(this).find('ul:first').css({visibility: "visible",display: "none"}).show(250);
- },function(){
- jQuery(this).find('ul:first').css({visibility: "hidden"});
- });
- // Social Icons Animation
- jQuery(".socialicons").hover(
- function(){
- jQuery(this).animate({"top": "-5px" },{ queue: false, duration:200});
- jQuery(this).css({
- '-webkit-transform': 'rotate(5deg)',
- '-moz-transform': 'rotate(5deg)',
- '-ms-transform': 'rotate(5deg)',
- '-o-transform': 'rotate(5deg)',
- 'transform': 'rotate(5deg)',
- 'zoom': 1
- });
- },
- function(){
- jQuery(this).animate({ "top": "0px" }, { queue: false, duration:200 });
- jQuery(this).css({
- '-webkit-transform': 'rotate(0deg)',
- '-moz-transform': 'rotate(0deg)',
- '-ms-transform': 'rotate(0deg)',
- '-o-transform': 'rotate(0deg)',
- 'transform': 'rotate(0deg)',
- 'zoom': 1
- });
- });
- */
- }); // ready
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement