1$(function(){ 2 var ua = navigator.userAgent; 3 if(ua.indexOf('iPhone') > 0 || ua.indexOf('Android') > 0){ 4 $('.tel-link').each(function(){ 5 if($(this).is('img')) { 6 var str = $(this).attr('alt'); 7 $(this).wrap('<a href="tel:'+str.replace(/-/g,'')+'"></a>'); 8 } else { 9 var str = $(this).text(); 10 $(this).replaceWith('<a href="tel:'+str.replace(/-/g,'')+'">' + str + '</a>'); 11 } 12 }); 13 } 14}); 15 16$(function() { 17 $('a.lightbox').lightBox(); 18}); 19 20$(function(){ 21 $('a[href^=#]').click(function(){ 22 var speed = 500; 23 var href= $(this).attr("href"); 24 var target = $(href == "#" || href == "" ? 'html' : href); 25 var position = target.offset().top; 26 $("html, body").animate({scrollTop:position}, speed, "swing"); 27 return false; 28 }); 29}); 30 31 32$(document).ready(function() { 33$('.simple-menu').sidr({ 34name: 'sidr', 35side: 'right' 36}); 37});
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.