1jQuery(document).ready(function ($) { 2 /*$(".widget_sme_base_theme_newsletter_widget .main-btn").fancybox({ 3 maxWidth: '800', 4 minHeight: '800', 5 maxheight: '800', 6 height: 'auto', 7 fitToView: true, 8 autoSize: true, 9 closeClick: true, 10 openEffect: 'none', 11 closeEffect: 'none', 12 padding: 0, 13 type: 'iframe' 14 });*/ 15 16 $("a[href$='.jpg'], a[href$='.png'], a[href$='.jpeg'], a[href$='.gif'], .fancybox").fancybox({ 17 beforeLoad: function () { 18 var _title = $(this.element).data('title'); 19 //this.title = _title; 20 this.title = _title + '<span class="image-count">Image ' + (this.index + 1) + ' of ' + this.group.length + '</span>'; 21 }, 22 helpers: { 23 title: { 24 type: 'oustide' 25 } 26 }, 27 padding: 0, 28 height: 'auto', 29 maxWidth: '800', 30 maxheight: '600' 31 }); 32 33 $(".fancybox-inline").fancybox({ 34 maxWidth: '800', 35 maxheight: '600', 36 height: 'auto', 37 fitToView: false, 38 autoSize: false, 39 closeClick: false, 40 openEffect: 'none', 41 closeEffect: 'none', 42 padding: 0 43 }); 44 45 $(this).on('click', '.social-more', function (e) { 46 e.preventDefault(); 47 $(this).parents('.share-bar').find('.share-list').toggleClass('hidden'); 48 }); 49 50 $(this).on('click', '.share-bar .social-share', function (e) { 51 e.preventDefault(); 52 var link = $(this).attr("href"); 53 if ($(this).hasClass('full')) { 54 window.open(link); 55 } else { 56 window.open(link, "popupWindow", "width=670,height=378,scrollbars=no"); 57 } 58 }); 59 60});
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.