From 4c0ad53b3a5e11be38a55564a0967029fbf4c4cc Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Thu, 1 Apr 2021 02:44:49 +0100 Subject: culling unused JS --- media/js/removed/jquery.dropdownPlain.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 media/js/removed/jquery.dropdownPlain.js (limited to 'media/js/removed/jquery.dropdownPlain.js') diff --git a/media/js/removed/jquery.dropdownPlain.js b/media/js/removed/jquery.dropdownPlain.js new file mode 100644 index 0000000..6cdb803 --- /dev/null +++ b/media/js/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 -- cgit v1.2.3