1jQuery(document).ready(function() { 2//eraseCookie('hideenrollform'); 3//eraseCookie('hideenroll'); 4 var user1=getCookie("hideenroll"); 5 //document.write(user); 6 if (user1 != "") { 7 jQuery('.banner-enroll').hide(); 8 jQuery('.banner-enroll').addClass('hideenroll'); 9 } else { 10 jQuery('.banner-enroll').removeClass('hideenroll'); 11 jQuery('.banner-enroll').show(); 12 if (user1 != "" && user1 != null) { 13 setCookie("hideenroll", true, 1); 14 } 15 } 16/*****form submit *****/ 17 var user=getCookie("hideenrollform"); 18 if (user != "") { 19 jQuery('.banner-enroll').hide(); 20 jQuery('.banner-enroll').addClass('hideenroll'); 21 } else { 22 if (user1 == "") { 23 jQuery('.banner-enroll').removeClass('hideenroll'); 24 jQuery('.banner-enroll').show(); 25 } 26 if (user != "" && user != null) { 27 setCookieform("hideenrollform", true, 30); 28 } 29 } 30 // Add the event that closes the popup and sets the cookie that tells us to 31 // not show it again until one day has passed. 32 jQuery('#closebanner').click(function() { 33 jQuery('.banner-enroll').hide(); 34 jQuery('.banner-enroll').addClass('hideenroll'); 35 setCookie('hideenroll', true, 1); 36 return false; 37 }); 38 39}); 40function setCookie(cname,cvalue,exdays) { 41 var d = new Date(); 42 d.setTime(d.getTime() + (exdays*24*60*60*1000)); 43 var expires = "expires=" + d.toGMTString(); 44 document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/"; 45} 46function setCookieform(cname,cvalue,exdays) { 47 var d = new Date(); 48 d.setTime(d.getTime() + (exdays*24*60*60*1000)); 49 var expires = "expires=" + d.toGMTString(); 50 document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/"; 51} 52function getCookie(cname) { 53 var name = cname + "="; 54 var decodedCookie = decodeURIComponent(document.cookie); 55 var ca = decodedCookie.split(';'); 56 for(var i = 0; i < ca.length; i++) { 57 var c = ca[i]; 58 while (c.charAt(0) == ' ') { 59 c = c.substring(1); 60 } 61 if (c.indexOf(name) == 0) { 62 return c.substring(name.length, c.length); 63 } 64 } 65 return ""; 66} 67 68function eraseCookie(name) { 69 setCookie(name,"",-1); 70} 71jQuery(document).ready(function() { 72 73jQuery('.videoslider').owlCarousel({ 74 loop:true, 75 margin:30, 76 nav:true, 77 dots:false, 78 items:2, 79 responsiveClass:true, 80 responsive:{ 81 0:{ 82 items:1 83 }, 84 600:{ 85 items:2 86 }, 87 1000:{ 88 items:2 89 } 90 } 91}); 92/* 93 jQuery('.readnextpostsslider').owlCarousel({ 94 loop:false, 95 margin:30, 96 nav:false, 97 dots:false, 98 items:3, 99 responsiveClass:true, 100 responsive:{ 101 0:{ 102 items:1 103 }, 104 600:{ 105 items:2 106 }, 107 1000:{ 108 items:3 109 } 110 } 111}); 112*/ 113jQuery( ".owl-prev").html('<i class="fa fa-angle-left"></i>'); 114 jQuery( ".owl-next").html('<i class="fa fa-angle-right"></i>'); 115jQuery(".enrollnow").click(function(e) { enrollnow 116 e.preventDefault(); 117jQuery('html, body').animate({ 118 scrollTop: jQuery("#pinkpill-next").offset().top-160}, '200'); 119}); 120 121jQuery(".showcomnt").click(function(e) { enrollnow 122 e.preventDefault(); 123jQuery('html, body').animate({ 124 scrollTop: jQuery("#disqus_thread").offset().top-150}, '100'); 125}); 126jQuery(".topics a").click(function(e) { 127 e.preventDefault(); 128 129 jQuery('.viewtopic').hide(); 130 jQuery(".topics a").removeClass('clickedme'); 131 jQuery(this).addClass('clickedme'); 132 var target=jQuery(this).attr('href'); 133 if(jQuery(target).hasClass('viewtopic')){ 134 jQuery(target).hide(); 135 jQuery(".hidetopic").removeClass('viewtopic'); 136 jQuery(".topics a").removeClass('clickedme'); 137 }else{ 138 jQuery(target).show(); 139 jQuery(".hidetopic").removeClass('viewtopic'); 140 jQuery(target).addClass('viewtopic'); 141 } 142 jQuery('html, body').animate({ 143 scrollTop: jQuery(target).offset().top-50}, '100'); 144 }); 145 146jQuery("#sendmemsg").click(function(e) { 147 e.preventDefault(); 148 jQuery('.viewtopic').hide(); 149 jQuery(".topics a").removeClass('clickedme'); 150 var target=jQuery(this).attr('href'); 151 if(jQuery(target).hasClass('viewtopic')){ 152 jQuery(target).hide(); 153 jQuery(".hidetopic").removeClass('viewtopic'); 154 jQuery(".topics a").removeClass('clickedme'); 155 }else{ 156 jQuery(target).show(); 157 jQuery(".hidetopic").removeClass('viewtopic'); 158 jQuery(target).addClass('viewtopic'); 159 } 160 jQuery('html, body').animate({ 161 scrollTop: jQuery(target).offset().top-150}, '700'); 162 163 }); 164}); 165 166jQuery(document).ready(function () { 167 jQuery(".show-pinkpill").click(function () { 168 jQuery(".collapse-pinkpill-banner").slideDown("4000"); 169 }); 170 jQuery(".close-pinkpill").click(function () { 171 jQuery(".collapse-pinkpill-banner").slideUp("slow"); 172 }); 173}); 174jQuery('#logo-slider').owlCarousel({ 175 loop: true, 176autoplay : true, 177slideTransition:'linear', 178autoplayTimeout : 4000, 179autoplayHoverPause : false, 180autoplaySpeed : 4000, 181 margin: 10, 182 responsiveClass: true, 183 dots:false, 184 responsive: { 185 0: { 186 items: 1, 187 nav: false, 188 dots:false, 189 }, 190 500: { 191 items: 2, 192 nav: false, 193 dots:false, 194 }, 195 600: { 196 items: 3, 197 nav: false 198 }, 199 1000: { 200 items: 6, 201 nav: false, 202 loop: true, 203 margin:30 204 } 205 } 206}); 207jQuery('#class-slider').owlCarousel({ 208 loop:true, 209 margin:30, 210 responsiveClass:true, 211 nav:true, 212 dots:false, 213 responsive:{ 214 0:{ 215 items:1, 216 }, 217 600:{ 218 items:2, 219 }, 220 1000:{ 221 items:3, 222 }, 223 1400:{ 224 items:4, 225 }, 226 1500:{ 227 items:5, 228 } 229 } 230}); 231jQuery('#proceed-slider').owlCarousel({ 232 loop:true, 233 margin:10, 234 responsiveClass:true, 235 nav:true, 236 responsive:{ 237 0:{ 238 items:1, 239 nav:true 240 }, 241 600:{ 242 items:1, 243 nav:true 244 }, 245 1000:{ 246 items:1, 247 nav:true, 248 dots:true 249 } 250 } 251}); 252jQuery('#myLink').on('click', function(e) { 253 e.preventDefault(); 254 var radioValue = jQuery("input[name='product_id']:checked").val(); 255 if(radioValue){ 256 window.open(radioValue, '_blank'); 257 } 258}); 259jQuery(document).ready(function(jQuery){ 260jQuery("#es_txt_email").attr("placeholder", "Your Email Address"); 261jQuery(".wpcf7-form-control").prop('required',true); 262jQuery(".wpcf7-form").removeAttr('novalidate'); 263jQuery(".maintop").click(function () { 264 jQuery(this).addClass('filteractive'); 265 jQuery(".pro-filter-mobile").slideDown("4000"); 266}); 267jQuery(".pro-filter-mobile a").click(function () { 268 var val=jQuery(this).data("filter"); 269 jQuery(".pro-filter-mobile").slideUp("4000"); 270 jQuery(".filteractive span").html(val); 271 272}); 273}); 274jQuery(window).bind("load", function() { 275 var heightArray = jQuery(".equal-height").map(function() { 276 return jQuery(this).height(); 277 }).get(); 278 var maxHeight = Math.max.apply(Math, heightArray); 279 jQuery(".equal-height").height(maxHeight); 280 var heightArray = jQuery(".4249equal-heights").map(function() { 281 return jQuery(this).height(); 282 }).get(); 283 var maxHeight = Math.max.apply(Math, heightArray); 284 jQuery(".4249equal-heights").height(maxHeight); 285 var heightArray = jQuery(".4250equal-heights").map(function() { 286 return jQuery(this).height(); 287 }).get(); 288 var maxHeight = Math.max.apply(Math, heightArray); 289 jQuery(".4250equal-heights").height(maxHeight); 290 var heightArray = jQuery(".shop-product").map(function() { 291 return jQuery(this).height(); 292 }).get(); 293 var maxHeight = Math.max.apply(Math, heightArray); 294 jQuery(".shop-product").height(maxHeight); 295}); 296jQuery( function () { 297 jQuery( 'a[href="#search"]' ).on( 'click', function ( event ) { 298 //alert("The paragraph was clicked."); 299 event.preventDefault(); 300 jQuery( '#search' ).addClass( 'open' ); 301 jQuery( '#search > form > input[type="search"]' ).focus(); 302 } ); 303 jQuery( '#search, #search button.close' ).on( 'click keyup', function ( event ) { 304 if ( event.target == this || event.target.className == 'close' || event.keyCode == 27 ) { 305 jQuery( this ).removeClass( 'open' ); 306 } 307 } ); 308}); 309 310 311var offset = 0; 312 var sticky_count = 2; 313 314 //var datavalues = <?php echo json_encode($existing_posts); ?>; 315 jQuery(document).ready(function () { 316 console.log('I am here'); 317 console.log(ajax_url); 318 jQuery("#loadMore").click(function () { 319 jQuery("#loadMore").text('Loading...'); 320 var sticky_post = jQuery(".wbc-sticky-post[data-count='"+sticky_count+"']").attr('data-postid'); 321 322 var sticky_post_length = jQuery(".wbc-sticky-post[data-count='"+sticky_count+"']").length; 323 var datavalues = JSON.parse(jQuery("#wbc-hidden-existing-posts").val()); 324 325 jQuery.ajax({ 326 url: ajax_url, 327 data: {'action':'custom_load_more_values','datavalues': datavalues ,'offset': offset , 'sticky_count' : sticky_count, 'sticky_post' : sticky_post ,'sticky_post_length' : sticky_post_length }, 328 type: 'GET', 329 success: function (data) { 330 331 jQuery("#wbc-hidden-existing-posts").val(data); 332 333 334 } 335 }); 336 337 338 jQuery.ajax({ 339 url: ajax_url, 340 data: {'action':'custom_load_more','datavalues': datavalues ,'offset': offset , 'sticky_count' : sticky_count, 'sticky_post' : sticky_post ,'sticky_post_length' : sticky_post_length }, 341 type: 'GET', 342 success: function (data) { 343 /* console.log(data); */ 344 jQuery("#loadMore").text('Load more'); 345 jQuery(".wbc-main-posts-section").append(data); 346 offset = offset + 5; 347 348 if(sticky_count == 3) 349 { 350 sticky_count = 0; 351 } 352 sticky_count++; 353 354 } 355 }); 356 }); 357 });
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.