Difference between revisions of "Team:Tianjin/js/navigation"

(Blanked the page)
Line 1: Line 1:
 
+
$(document).ready(function(){
 +
    dropdownOpen();
 +
  /* navhide();*/
 +
});
 +
function dropdownOpen() {
 +
 +
    var $dropdownLi = $('li.dropdown');
 +
 +
    $dropdownLi.mouseover(function() {
 +
        $(this).addClass('open');
 +
    }).mouseout(function() {
 +
        $(this).removeClass('open');
 +
    });
 +
}

Revision as of 05:45, 5 October 2018

$(document).ready(function(){

   dropdownOpen();
  /* navhide();*/

}); function dropdownOpen() {

   var $dropdownLi = $('li.dropdown');

   $dropdownLi.mouseover(function() {
       $(this).addClass('open');
   }).mouseout(function() {
       $(this).removeClass('open');
   });

}