1// ------------------------------------------------------------------------------------------- 2// AVIA Image Hotspots 3// ------------------------------------------------------------------------------------------- 4 5(function($) 6{ 7 "use strict"; 8 9 $.fn.aviaHotspots = function( options ) 10 { 11 if( ! this.length ) 12 { 13 return; 14 } 15 16 return this.each(function() 17 { 18 var _self = {}; 19 20 _self.container = $(this); 21 _self.hotspots = _self.container.find('.av-image-hotspot'); 22 23 _self.container.on('avia_start_animation', function() 24 { 25 setTimeout(function() 26 { 27 _self.hotspots.each(function(i) 28 { 29 var current = $(this); 30 setTimeout(function(){ current.addClass('av-display-hotspot'); },300 * i); 31 }); 32 },400); 33 }); 34 35 }); 36 }; 37 38}(jQuery));
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.