PageSourceSearch

https://saimm.co.za/modules/mod_roknavmenu/themes/fusion/js/sfhover.js

js saimm.co.za collected 2026-10-02 05:34:59 UTC 1,398 bytes, 14 lines download raw bytes

1/*
2 * @version   $Id: sfhover.js 4586 2012-10-27 01:50:24Z btowles $
3 * @author    RocketTheme http://www.rockettheme.com
4 * @copyright Copyright (C) 2007 - 2017 RocketTheme, LLC
5 * @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
6 */
7var sfHover=function(c,e){if(!e){e="sfHover";
8}var a="sfActive";var b=$$("."+c).getElements("li");b[0].each(function(f){var g=f.getFirst();if(g){b[0].push(g);}});var d=$$("."+c).getElements("li.active");
9if(d[0]&&d[0].length){d=d[0];d.each(function(h){var j=h.getFirst();if(j){j.addClass("active");var g=j.getProperty("class").split(" ");var f=[];for(i=1,l=g.length;
10i<l;i++){f.push(g[0]+"-"+g[i]);}f.push(g.join("-"));f.each(function(k){j.addClass(k);});}});}if(!b.length){return false;}b.each(function(f){f.addEvents({mouseenter:function(){var h=this.getProperty("class").split(" ");
11h=h.filter(function(j){return !j.test("-"+e)&&!j.test("-"+a);});h.each(function(j){if(this.hasClass(j)){this.addClass(j+"-"+e);}},this);var g=h.join("-")+"-"+e;
12if(!this.hasClass(g)){this.addClass(g);}this.addClass(e);},mouseleave:function(){var h=this.getProperty("class").split(" ");h=h.filter(function(j){return j.test("-"+e);
13});h.each(function(j){if(this.hasClass(j)){this.removeClass(j);}},this);var g=h.join("-")+"-"+e;if(!this.hasClass(g)){this.removeClass(g);}this.removeClass(e);
14}});});};window.addEvent("domready",function(){sfHover("menutop");});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.