Changeset 25999 for extensions/Full_Background/js/full_BG.js
- Timestamp:
- Dec 17, 2013, 11:33:32 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Full_Background/js/full_BG.js
r21903 r25999 1 $(document).ready(function(){2 (function($){1 (function($) { 2 $(document).ready(function(){ 3 3 $.fn.preload = function(options) { 4 4 var opts = $.extend({}, $.fn.preload.defaults, options); … … 17 17 onComplete : function(){return false;} 18 18 }; 19 })(jQuery);20 19 21 20 … … 69 68 70 69 //expand and fit the image to the screen 71 $( '#tf_zoom').live('click',70 $(document).on('click', '#tf_zoom', 72 71 function(){ 73 72 if($tf_bg_img.is(':animated')) … … 120 119 ); 121 120 122 $( '#tf_fullscreen').live('click',121 $(document).on('click', '#tf_fullscreen', 123 122 function(){ 124 123 if($tf_bg_img.is(':animated')) … … 373 372 } 374 373 }); 375 }); 374 }); 375 })(jQuery);
Note: See TracChangeset
for help on using the changeset viewer.