Map Hilight Maphilight adds mouseover highlighting to images based on their imagemaps.It works with the Metadata plugin, allowing you to easily customize the display of different areas within the same map. 2008-08-23 16:42:56
js插件开发 jQuery的全局函数就是属于jQuery命名空间的函数,另一种是对象级别的插件开发,即给jQuery对象添加方法。3.};3.};7.调用时和一个函数的一样的:jQuery.foo();jQuery.bar();5.})(jQuery); tinny 2015-03-24 15:32:00
jQuery插件的开发包括两种 jQuery的全局函数就是属于jQuery命名空间的函数,另一种是对象级别的插件开发,即给jQuery对象添加方法。3.};3.};7.调用时和一个函数的一样的:jQuery.foo();jQuery.bar();5.})(jQuery); 超级赛亚人 2012-10-10 12:05:19
jQuery插件开发全解析,类级别与对象级别开发 };调用时和一个函数的一样的:jQuery.foo();jQuery.bar();})(jQuery);我们的插件通过这样被调用: $('#myDiv').hilight();接下来我们开始利用函数对象。//... })(jQuery); asdjkl 2015-01-28 17:03:00
jQuery插件开发全解析 };})(jQuery);稍后继续。(function($) { // plugin definition $.fn.hilight = function(options) { debug(this);// ... })(jQuery); 83453065 2015-02-03 15:39:18