Advertisement
Guest User

WordPress Theme Piano-Black jscript.js Update

a guest
Feb 28th, 2012
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. jQuery(function(){
  2.   jQuery("a").bind("focus",function(){if(this.blur)this.blur();});
  3.  
  4.   jQuery(".menu > li:first-child").addClass("first_menu");
  5.   jQuery(".menu li ul li:has(ul)").addClass("parent_menu");
  6.  
  7. });
  8.  
  9. function changefc(color){
  10.   jQuery('#search-input').css('color', color);
  11. }
  12.  
  13. jQuery(document).ready(function(){
  14.     jQuery(".menu-item").hover(function() {
  15.         jQuery(this).children('.sub-menu').css('opacity', 100).fadeIn().slideDown();
  16.         },function(){
  17.           jQuery(this).children('.sub-menu').fadeOut();
  18.     });
  19. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement