Jin Honglei (Talk | contribs) |
Jin Honglei (Talk | contribs) |
||
Line 188: | Line 188: | ||
dropdownOpen(); | dropdownOpen(); | ||
function dropdownOpen() { | function dropdownOpen() { | ||
− | + | var $dropdownLi = $('li.dropdown'); | |
− | + | $dropdownLi.mouseover(function() { | |
− | + | $(this).addClass('open'); | |
− | + | }).mouseout(function() { | |
− | + | $(this).removeClass('open'); | |
− | + | }); | |
− | } | + | } |
+ | }); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 14:16, 8 October 2017