diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2021-10-25 00:38:24 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2021-10-25 00:38:24 +0300 |
commit | 5533029072a4db95a107fb9685b928d44e035719 (patch) | |
tree | eeb4aca06b7a7996896ebe93e3f0887d2cc2a4e8 /media/js/unused-or-removed/jquery.dropdownPlain.js | |
parent | 5807e4a873fc2a7e7ff554b6f6da228a4c2bc103 (diff) | |
download | troggle-5533029072a4db95a107fb9685b928d44e035719.tar.gz troggle-5533029072a4db95a107fb9685b928d44e035719.tar.bz2 troggle-5533029072a4db95a107fb9685b928d44e035719.zip |
tried old jquery CSS
Diffstat (limited to 'media/js/unused-or-removed/jquery.dropdownPlain.js')
-rw-r--r-- | media/js/unused-or-removed/jquery.dropdownPlain.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/media/js/unused-or-removed/jquery.dropdownPlain.js b/media/js/unused-or-removed/jquery.dropdownPlain.js new file mode 100644 index 0000000..6cdb803 --- /dev/null +++ b/media/js/unused-or-removed/jquery.dropdownPlain.js @@ -0,0 +1,17 @@ +$(function(){ + + $("ul.dropdown li").hover(function(){ + + $(this).addClass("hover"); + $('ul:first',this).css('visibility', 'visible'); + + }, function(){ + + $(this).removeClass("hover"); + $('ul:first',this).css('visibility', 'hidden'); + + }); + + $("ul.dropdown li ul li:has(ul)").find("a:first").append(" » "); + +});
\ No newline at end of file |