1if (typeof(coto)=='undefined') coto={ ive: { } }; 2if (!coto.ive.Controller) coto.ive.Controller = function() { }; 3 4coto.ive.Controller.prototype.build=function(dom,opts){ 5 if (typeof(dom)=='function') return this.build_func=dom; 6 this.dom=dom; 7 if (!(this.options=$(this.dom).data('widget_options'))) this.options={ }; 8 if (!(this.idata=$(this.dom).data('idata'))) this.idata={ }; 9 this.idata.controller=this; 10 this.build_func.call(this,opts); 11 $(dom).data('widget_options',this.options); 12 $(dom).data('idata',this.idata); 13}; 14coto.controllers={ }; // controllers list 15function ive_controller(wtype) { 16 return coto.controllers[wtype]||(coto.controllers[wtype]=new coto.ive.Controller()); 17} 18 19ive_tunings={ }; 20function ive_tuning(cat) { return ive_tunings[cat]||(ive_tunings[cat]={ }); } 21 22// ----- DROPMENU ----- 23$(function() { 24 // old menu.js 25 $('.sitemenu_area ul.sitemenu li, .dropmenu a').bind('mouseover mouseleave',function(ev) { 26 var menuid='dropmenu_'+get_idnum(this.id),$menu=$('#'+menuid); 27 var isenter=(ev.type=='mouseover'||ev.type=='mouseenter'); 28 ctmenu[isenter?'show':'hide'](menuid,this,$menu.hasClass('drop_right_')?'right':'bottom'); 29 }); 30});
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.