Want more features on Pastebin? Sign Up, it's FREE!
Guest

methods.js

By: a guest on Apr 5th, 2013  |  syntax: JavaScript  |  size: 0.54 KB  |  views: 45  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. var $j = jQuery.noConflict();
  2. $j(document).ready(function(){
  3.        
  4.         /* Reponsive videos */
  5.         $j(".content-right").fitVids();
  6.        
  7.         /* Reponsive menus */
  8.         $j(".nav").mobileMenu();
  9.        
  10.         /* Drop down menus */
  11.         $j(".inside-primary-nav ul li ul").parent().addClass("arrow");
  12.         $j(".inside-primary-nav ul li").hover(function(){
  13.         $j(this).addClass("hover");
  14.         $j(this).find("ul:first").slideToggle("fast");
  15.     }, function(){
  16.         $j(this).removeClass("hover");
  17.         $j(this).find("ul:first").slideUp("fast");
  18.    
  19.     });
  20.        
  21. });
clone this paste RAW Paste Data