1/*-------------------------------------- 2 CUSTOM FUNCTION WRITE HERE 3--------------------------------------*/ 4"use strict"; 5jQuery(document).on('ready', function() { 6 /* ------------------------------------- 7 SCROLLBAR 8 -------------------------------------- */ 9 if(jQuery('.listar-themescrollbar').length > 0){ 10 var _listar_themescrollbar = jQuery('.listar-themescrollbar'); 11 _listar_themescrollbar.mCustomScrollbar({ 12 axis:"y", 13 }); 14 } 15 if(jQuery('.listar-horizontalthemescrollbar').length > 0){ 16 var _listar_horizontalthemescrollbar = jQuery('.listar-horizontalthemescrollbar'); 17 _listar_horizontalthemescrollbar.mCustomScrollbar({ 18 axis:"x", 19 advanced:{autoExpandHorizontalScroll:true}, 20 theme:"rounded-dots", 21 scrollInertia:400 22 }); 23 } 24 /*-------------------------------------- 25 THEME VERTICAL SCROLLBAR 26 --------------------------------------*/ 27 jQuery('#listar-verticalscrollbar').mCustomScrollbar({ 28 axis:"y", 29 }); 30 /*-------------------------------------- 31 MOBILE MENU 32 --------------------------------------*/ 33 function collapseMenu(){ 34 jQuery('.listar-navigation ul li.menu-item-has-children').prepend('<span class="listar-dropdowarrow"><i class="fa fa-angle-down"></i></span>'); 35 jQuery('.listar-navigation ul li.menu-item-has-children span').on('click', function() { 36 jQuery(this).parent('li').toggleClass('listar-open'); 37 jQuery(this).next().next().slideToggle(300); 38 }); 39 } 40 collapseMenu(); 41 /* --------------------------------------- 42 SIGN IN OPEN CLOSE 43 --------------------------------------- */ 44 jQuery('a[href="#listar-loginsingup"]').on('click', function(event) { 45 event.preventDefault(); 46 jQuery('#listar-loginsingup').addClass('open'); 47 jQuery('body').addClass('listar-hidescroll'); 48 }); 49 jQuery('.listar-btnclose').on('click', function(event) { 50 jQuery('#listar-loginsingup').removeClass('open'); 51 jQuery('body').removeClass('listar-hidescroll'); 52 }); 53 54 jQuery('a[href="#listar-register"]').on('click', function(event) { 55 event.preventDefault(); 56 jQuery('#listar-register').addClass('open'); 57 jQuery('body').addClass('listar-hidescroll'); 58 }); 59 jQuery('.listar-btnclose').on('click', function(event) { 60 jQuery('#listar-register').removeClass('open'); 61 jQuery('body').removeClass('listar-hidescroll'); 62 }); 63 /* ------------------------------------- 64 HOME sLIDER V ONE 65 -------------------------------------- */ 66 if(jQuery('#listar-homeslider').length > 0){ 67 var _listar_homeslider = jQuery('#listar-homeslider'); 68 _listar_homeslider.owlCarousel({ 69 items: 1, 70 nav:false, 71 loop:true, 72 dots: false, 73 autoplay: true, 74 animateIn: 'fadeIn', 75 animateOut: 'fadeOut', 76 dotsClass: 'listar-sliderdots', 77 navClass: ['listar-prev', 'listar-next'], 78 navContainerClass: 'listar-slidernav', 79 navText: ['<span class="icon-chevron-left"></span>', '<span class="icon-chevron-right"></span>'], 80 }); 81 } 82 /* ------------------------------------- 83 TESTIMONIALS SLIDER 84 -------------------------------------- */ 85 if(jQuery('#listar-testimonialslider').length > 0){ 86 var _listar_testimonialslider = jQuery('#listar-testimonialslider'); 87 _listar_testimonialslider.owlCarousel({ 88 items: 1, 89 nav:true, 90 loop:true, 91 dots: true, 92 margin: 15, 93 autoplay: true, 94 dotsClass: 'listar-sliderdots', 95 navClass: ['listar-prev', 'listar-next'], 96 navContainerClass: 'listar-slidernav', 97 navText: ['<span class="icon-chevron-left"></span>', '<span class="icon-chevron-right"></span>'], 98 }); 99 } 100 /* ------------------------------------- 101 CATEGORIES POST SLIDER 102 -------------------------------------- */ 103 var _listar_gridslider = jQuery('[id="listar-categoriespostslider"]'); 104 if(_listar_gridslider.hasClass('listar-gridslider')){ 105 _listar_gridslider.owlCarousel({ 106 items: 4, 107 nav:true, 108 loop:true, 109 dots: true, 110 margin: 40, 111 autoplay: true, 112 dotsClass: 'listar-sliderdots', 113 navClass: ['listar-prev', 'listar-next'], 114 navContainerClass: 'listar-slidernav', 115 navText: ['<span class="icon-arrow-left2"></span>', '<span class="icon-arrow-right2"></span>'], 116 responsive : { 117 // breakpoint from 0 up 118 0 : {items:1,}, 119 // breakpoint from 640 up 120 640 : {items:2,},
121 // breakpoint from 1024 up 122 1024 : {items:3,}, 123 // breakpoint from 1310 up 124 1310 : {items:4,}, 125 } 126 }); 127 } 128 /*-------------------------------------- 129 TOGGLE INNER PAGE SEARCH 130 --------------------------------------*/ 131 if(jQuery('#listar-btnsearchtoggle').length > 0){ 132 jQuery('#listar-innersearch').slideUp(); 133 jQuery('#listar-btnsearchtoggle').on('click', function(){ 134 jQuery('#listar-innersearch').slideToggle(); 135 }); 136 } 137 /*-------------------------------------- 138 ADVANCE FEATURES TOGGLE 139 --------------------------------------*/ 140 if(jQuery('#listar-btnadvancefeatures').length > 0){ 141 jQuery('#listar-btnadvancefeatures').on('click', function(){ 142 jQuery('#listar-advancefitures').slideToggle(); 143 }); 144 } 145 /*-------------------------------------- 146 Google Map 147 --------------------------------------*/ 148 function initialize(){ 149 var _listar_locationmap = jQuery('.listar-locationmap'); 150 var _listar_postlocationmap = jQuery('#listar-postlocationmap'); 151 var gmapStyles = [ 152 {"featureType": "poi", "elementType": "labels", "stylers": [{ "visibility": "off" }]}, 153 {"featureType": "poi", "elementType": "geometry.fill", "stylers": [{ "visibility": "off" }]}, 154 {"featureType": "transit", "elementType": "labels.text", "stylers": [{ "visibility": "off" }]}, 155 {"featureType": "road", "elementType": "labels.text", "stylers": [{ "visibility": "on" }]}, 156 {"featureType": "road", "elementType": "geometry", "stylers": [{ "color": "#7b7b7b" }]}, 157 {"featureType": "road", "elementType": "labels.text", "stylers": [{ "color": "#7b7b7b" }]}, 158 {"featureType": "road", "elementType": "labels.text", "stylers": [{ "color": "#7b7b7b" }]}, 159 {"featureType": "road", "elementType": "labels.text.stroke", "stylers": [{ "visibility": "off" }]}, 160 {"featureType": "road.local", "elementType": "geometry.fill", "stylers": [{ "color": "#7b7b7b" }]}, 161 {"featureType": "road.highway", "elementType": "labels", "stylers": [{ "visibility": "off" }]}, 162 {"featureType": "road.arterial", "elementType": "labels.icon", "stylers": [{ "visibility": "off" }]}, 163 {"featureType": "road.arterial", "elementType": "geometry.fill", "stylers": [{ "color": "#2b2b2b" }]}, 164 {"featureType": "road.arterial", "elementType": "geometry.stroke", "stylers": [{ "color": "#2b2b2b" }]}, 165 {"featureType": "road.arterial", "elementType": "geometry.fill", "stylers": [{ "color": "#2b2b2b" }]}, 166 {"featureType": "water", "elementType": "geometry", "stylers": [{ "visibility": "on" }]}, 167 {"featureType": "water", "elementType": "labels.text", "stylers": [{ "color": "#2b2b2b" }]}, 168 {"featureType": "water", "elementType": "labels.text.stroke", "stylers": [{ "color": "#2b2b2b" }]}, 169 {"featureType": "water", "elementType": "labels", "stylers": [{"visibility": "on"},{"color": "#2b2b2b"}]}, 170 {"featureType": "landscape", "elementType": "geometry", "stylers": [{ "color": "#333" }]}, 171 {"featureType": "administrative", "elementType": "labels", "stylers": [{ "color": "#333" }]}, 172 {"featureType": "administrative.locality", "elementType": "labels.text.stroke", "stylers": [{ "color": "#333" }]}, 173 {"featureType": "transit.line", "stylers": [ { "visibility": "off" }]}, 174 {"featureType": "landscape.natural", "stylers": [ { "visibility": "off" }]}, 175 {"featureType": "landscape.natural", "stylers": [ { "visibility": "on" },{ "color": "#2b2b2b" }]}, 176 {"featureType": "administrative.province", "elementType": "geometry", "stylers": [{ "color": "#2b2b2b" }]}, 177 {"elementType": "geometry.fill", "stylers": [ { "color": "#2b2b2b" }]}, 178 {"featureType": "poi", "elementType": "geometry", "stylers": [{ "visibility": "off" }]}, 179 {"featureType": "administrative.land_parcel", "elementType": "labels.text.fill", "stylers": [{ "visibility": "off" }]}, 180 {"featureType": "landscape", "elementType": "labels.text", "stylers": [{ "visibility": "off" }]}, 181 {"featureType": "administrative", "elementType": "labels", "stylers": [{ "visibility": "off" }]}, 182 ]; 183 _listar_locationmap.gmap3({ 184 marker: { 185 address: '1600 Elizabeth St, Melbourne, Victoria, Australia', 186 options: { 187 title: 'Robert Frost Elementary School', 188 icon: "images/mapmarker.png", 189 animation: google.maps.Animation.BOUNCE, 190 } 191 }, 192 map: { 193 options: { 194 zoom: 16, 195 styles: gmapStyles, 196 scaleControl: true, 197 scrollwheel: false, 198 mapTypeControl: false, 199 disableDefaultUI: true, 200 navigationControl: false, 201 streetViewControl: false, 202 disableDoubleClickZoom: true, 203 } 204 } 205 }); 206 _listar_postlocationmap.gmap3({ 207 marker: { 208 address: '1600 Elizabeth St, Melbourne, Victoria, Australia', 209 options: { 210 title: 'Robert Frost Elementary School', 211 icon: "images/mapmarker.png", 212 animation: google.maps.Animation.BOUNCE, 213 } 214 }, 215 map: { 216 options: { 217 zoom: 16, 218 styles: gmapStyles, 219 scaleControl: true, 220 scrollwheel: false, 221 mapTypeControl: false, 222 disableDefaultUI: true, 223 navigationControl: false, 224 streetViewControl: false, 225 disableDoubleClickZoom: true, 226 } 227 } 228 }); 229 } 230 if(jQuery('.listar-locationmap').length > 0){ 231 initialize(); 232 } 233 if(jQuery('#listar-postlocationmap').length > 0){ 234 jQuery('a[href="#location"]').on('click', function (e) { 235 initialize(); 236 }); 237 } 238 if(jQuery('.listar-rangeslider').length > 0){ 239 jQuery('.listar-rangeslider').slider({ 240 min: 0, 241 max: 120000, 242 value: 65860, 243 tooltip: 'always', 244 formatter: function(value) { 245 return '$'+value; 246 } 247 }); 248 } 249 /*-------------------------------------- 250 DISTANCE RANGE SLIDER 251 --------------------------------------*/ 252 if(jQuery('#listar-distancerangeslider').length > 0){ 253 jQuery("#listar-distancerangeslider").slider({ 254 min: 0, 255 max: 100, 256 value: 29, 257 tooltip: 'always', 258 formatter: function(value) { 259 return value+'km'; 260 } 261 }); 262 } 263 /*-------------------------------------- 264 TTHEME TOOLTIP 265 --------------------------------------*/ 266 if(jQuery('[data-toggle="tooltip"]').length > 0){ 267 jQuery('[data-toggle="tooltip"]').tooltip() 268 } 269 /*-------------------------------------- 270 MASONRY TESTIMONIAL 271 --------------------------------------*/ 272 if(jQuery('#listar-testimonials').length > 0){ 273 var _listar_testimonials = jQuery('#listar-testimonials'); 274 _listar_testimonials.isotope({ 275 itemSelector: '.listar-testimonial', 276 }); 277 } 278 /*--------------------------------------
279 COMMING SOON COUNTER 280 -------------------------------------*/ 281 if(jQuery('#listar-comingsooncounter').length > 0){ 282 // Set the date we're counting down to 283 var countDownDate = new Date("Apr 31, 2018 24:00:00").getTime(); 284 // Update the count down every 1 second 285 var x = setInterval(function() { 286 // Get todays date and time 287 var now = new Date().getTime(); 288 // Find the distance between now an the count down date 289 var distance = countDownDate - now; 290 // Time calculations for days, hours, minutes and seconds 291 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 292 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 293 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 294 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 295 // Display the result in an element with id="demo" 296 document.getElementById("listar-comingsooncounter").innerHTML = "<ul><li><div class='listar-holder'><h3>" + days + "</h3><h4>Days</h4></div></li><li><div class='listar-holder'><h3>" + hours + "</h3><h4>Hours</h4></div></li><li><div class='listar-holder'><h3>" + minutes + "</h3><h4>Mins</h4></div></li><li><div class='listar-holder'><h3>" + seconds + "</h3><h4>Secs</h4></div></li></ul>"; 297 // If the count down is finished, write some text 298 if (distance < 0) { 299 clearInterval(x); 300 document.getElementById("listar-comingsooncounter").innerHTML = "EXPIRED"; 301 } 302 }, 1000); 303 } 304 /*-------------------------------------- 305 SHARE ICONS TOGGLE 306 --------------------------------------*/ 307 var _bt_btnshare = jQuery('.listar-btnshare'); 308 _bt_btnshare.on('click', function(event) { 309 event.preventDefault(); 310 var _bt_shareicons = jQuery('.listar-shareicons'); 311 jQuery(this).parent('.listar-btnquickinfo').toggleClass('listar-showicon'); 312 }); 313 /*-------------------------------------- 314 MAP CLUSTRING INITIALIZE 315 --------------------------------------*/ 316 if(jQuery('.listar-listingmap').length > 0){ 317 sp_init_map_script('listar-listingmap'); 318 } 319 /*-------------------------------------- 320 POST GALLERY MASONRY 321 --------------------------------------*/ 322 jQuery('a[data-toggle="tab"]').on('shown.bs.tab', function (e) { 323 var _listar_postgallery = jQuery('#listar-postgallery'); 324 _listar_postgallery.isotope({ 325 itemSelector: '.listar-masnory', 326 }); 327 }); 328 /* ------------------------------------- 329 RELATED LISTING SLIDER 330 -------------------------------------- */ 331 if(jQuery('#listar-relatedlistingslider').length > 0){ 332 var _listar_relatedlistingslider = jQuery('#listar-relatedlistingslider'); 333 _listar_relatedlistingslider.owlCarousel({ 334 items: 3, 335 nav:true, 336 loop:true, 337 dots: true, 338 margin: 40, 339 autoplay: true, 340 dotsClass: 'listar-sliderdots', 341 navClass: ['listar-prev', 'listar-next'], 342 navContainerClass: 'listar-slidernav', 343 navText: ['<span class="icon-arrow-left2"></span>', '<span class="icon-arrow-right2"></span>'], 344 responsive : { 345 // breakpoint from 0 up 346 0 : {items:1,}, 347 // breakpoint from 640 up 348 640 : {items:2,}, 349 // breakpoint from 1024 up 350 1024 : {items:3,} 351 } 352 }); 353 } 354 /* ------------------------------------- 355 SINGLE PAGE NAVIGATION 356 -------------------------------------- */ 357 if(jQuery('#listar-themetabnav').length > 0){ 358 var lastId, topMenu = jQuery(".listar-themetabnav"), topMenuHeight = topMenu.outerHeight()+15, 359 menuItems = topMenu.find("a"), 360 scrollItems = menuItems.map(function(){ 361 var item = jQuery(jQuery(this).attr("href")); 362 if (item.length) { return item; } 363 }); 364 menuItems.click(function(e){ 365 var href = jQuery(this).attr("href"), offsetTop = href === "#" ? 0 : jQuery(href).offset().top-topMenuHeight+1; 366 jQuery('html, body').stop().animate({ 367 scrollTop: offsetTop 368 }, 300); 369 e.preventDefault(); 370 }); 371 jQuery(window).scroll(function(){ 372 var fromTop = jQuery(this).scrollTop()+topMenuHeight; 373 var cur = scrollItems.map(function(){ 374 if (jQuery(this).offset().top < fromTop) 375 return this; 376 }); 377 cur = cur[cur.length-1]; 378 var id = cur && cur.length ? cur[0].id : ""; 379 if (lastId !== id) { 380 lastId = id; 381 menuItems.parent().removeClass('listar-active').end().filter("[href='#"+id+"']").parent().addClass('listar-active'); 382 } 383 }); 384 } 385 if(jQuery('#listar-themetabnav').length > 0){ 386 var topPosition = jQuery('#listar-themetabnav').offset().top - 100; 387 jQuery(window).on( 'scroll', function(){ 388 console.log(topPosition); 389 if (jQuery(window).scrollTop() >= topPosition) { 390 jQuery('#listar-fixedtabnav').addClass('listar-shownav'); 391 } else { 392 jQuery('#listar-fixedtabnav').removeClass('listar-shownav'); 393 } 394 }); 395 } 396 /* ------------------------------------- 397 SHOW TOOLTIP 398 -------------------------------------- */ 399 if(jQuery('.listar-range').length > 0){ 400 jQuery('.listar-range > .listar-themetooltip').tooltip('show'); 401 } 402 /* ------------------------------------- 403 STICK IN PARENT 404 -------------------------------------- */ 405 if(jQuery('#listar-mapclustring').length > 0){ 406 var _listar_mapclustring = jQuery("#listar-mapclustring"); 407 _listar_mapclustring.stick_in_parent({ 408 offset_top: 80, 409 }); 410 } 411 /* ------------------------------------- 412 FIXED HEADER ON SCROLL 413 -------------------------------------- */ 414 var _listar_header = jQuery('[id="listar-header"]'); 415 if(_listar_header.hasClass('listar-fixedheader')){ 416 jQuery(window).scroll(function(){ 417 if (jQuery(this).scrollTop() > 5) { 418 _listar_header.addClass('listar-fixed'); 419 } else { 420 _listar_header.removeClass('listar-fixed'); 421 } 422 }); 423 } 424 /*-------------------------------------- 425 PRETTY PHOTO GALLERY 426 --------------------------------------*/ 427 jQuery("a[data-rel]").each(function () { 428 jQuery(this).attr("rel", jQuery(this).data("rel")); 429 }); 430/* jQuery("a[data-rel^='prettyPhoto']").prettyPhoto({ 431 animation_speed: 'normal', 432 theme: 'dark_square', 433 slideshow: 3000, 434 autoplay_slideshow: false, 435 social_tools: false 436 }); 437*/ 438 /*-------------------------------------- 439 HEADER SHOW HIDE ON SCROLL 440 --------------------------------------*/ 441 jQuery(window).resize(function() { 442 if(jQuery('.cd-auto-hide-header').length > 0){ 443 if (screen.width < 639) { 444 jQuery('body').css({ 445 'padding-top': '139px', 446 }); 447 }else{ 448 jQuery('body').css({
449 'padding-top': '80px', 450 }); 451 } 452 } 453 }); 454 /*-------------------------------------- 455 DASHBOARD MENU 456 --------------------------------------*/ 457 if(jQuery('#listar-btnmenutoggle').length > 0){ 458 jQuery("#listar-btnmenutoggle").on('click', function(event) { 459 event.preventDefault(); 460 jQuery('#listar-wrapper').toggleClass('listar-openmenu'); 461 jQuery('body').toggleClass('listar-noscroll'); 462 jQuery('.listar-navdashboard ul.sub-menu').hide(); 463 }); 464 } 465 466 if(jQuery('.listar-statistics').length > 0){ 467 jQuery('.listar-statistics').appear(function () { 468 jQuery('.listar-statistics li h3').countTo(); 469 }); 470 } 471 /*-------------------------------------- 472 TINYMCE WYSIWYG EDITOR 473 --------------------------------------*/ 474 if(jQuery('#listar-tinymceeditor').length > 0){ 475 tinymce.init({ 476 selector: 'textarea#listar-tinymceeditor', 477 height: 314, 478 menubar: false, 479 theme: 'modern', 480 plugins: [ 'advlist autolink lists link image charmap print preview hr anchor pagebreak', 'searchreplace wordcount visualblocks visualchars code fullscreen', 'insertdatetime media nonbreaking save table contextmenu directionality', 'emoticons template paste textcolor colorpicker textpattern imagetools codesample toc help'], 481 toolbar: 'insert | undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright al
481ignjustify | bullist numlist outdent indent | removeformat | help', 482 }); 483 } 484 /*-------------------------------------- 485 JQUERY SORTABLE 486 --------------------------------------*/ 487 if(jQuery('#listar-sortable').length > 0){ 488 var listar_sortable = document.getElementById("listar-sortable"); 489 var sort = Sortable.create(listar_sortable, { 490 animation: 150, 491 handle: '.listar-arangeslot', 492 filter: '.listar-btndelete', 493 onFilter: function (evt) { 494 var el = sort.closest(evt.item); 495 el && el.parentNode.removeChild(el); 496 } 497 /*onClone: function (evt) { 498 var origEl = evt.item; 499 var cloneEl = evt.clone; 500 }*/ 501 }); 502 } 503 /*-------------------------------------- 504 GOOGLE CHARTS 505 --------------------------------------*/ 506 if(jQuery('#listar-donutchart').length > 0){ 507 google.charts.load("current", {packages:["corechart"]}); 508 google.charts.setOnLoadCallback(drawChart); 509 function drawChart() { 510 var data = google.visualization.arrayToDataTable([ 511 ['Task', 'Hours per Day'], 512 ['Transactions', 67], 513 ['New Visits', 10], 514 ['Bounce', 23], 515 ]); 516 var options = { 517 title: '', 518 pieHole: 0.5, 519 width: '100%', 520 height: 356, 521 showLables: 'true', 522 pieSliceText: "none", 523 pieSliceText: 'value', 524 pieSliceBorderColor: "none", 525 tooltip: { trigger: "none"}, 526 tooltip : {trigger: 'none'}, 527 pieSliceTextStyle: { 528 fontSize: 20, 529 color: '#fff', 530 }, 531 legend: { 532 position: 'right', 533 alignment: 'center', 534 }, 535 chartArea: { 536 top: '10%', 537 left: '5%', 538 width:"90%", 539 height:"90%", 540 }, 541 tooltip: { trigger:'none' }, 542 animation: {duration:800,easing:'in'}, 543 colors: ['#ea3986','#f98925','#18a4e1'], 544 fontName : 'Saira', 545 }; 546 var chart = new google.visualization.PieChart(document.getElementById('listar-donutchart')); 547 chart.draw(data, options); 548 } 549 } 550 if(jQuery('.listar-home').length > 0){ 551 var _listar_header = jQuery('.listar-home .listar-header'); 552 jQuery(window).on('scroll', function() { 553 var scroll = jQuery(window).scrollTop(); 554 if (scroll >= 200) { 555 _listar_header.addClass('listar_darkheader'); 556 } else { 557 _listar_header.removeClass('listar_darkheader'); 558 } 559 }); 560 } 561 /*-------------------------------------- 562 AUTO COMPLETE JQUERY 563 --------------------------------------*/ 564 if(jQuery('#listar-autosearch').length > 0){ 565 jQuery('#listar-autosearch').autoComplete({ 566 minChars: 1, 567 source: function(term, suggest){ 568 term = term.toLowerCase(); 569 var choices = ['ActionScript', 'AppleScript', 'Asp', 'Assembly', 'BASIC', 'Batch', 'C', 'C++', 'CSS', 'Clojure', 'COBOL', 'ColdFusion', 'Erlang', 'Fortran', 'Groovy', 'Haskell', 'HTML', 'Java', 'JavaScript', 'Lisp', 'Perl', 'PHP', 'PowerShell', 'Python', 'Ruby', 'Scala', 'Scheme', 'SQL', 'TeX', 'XML']; 570 var suggestions = []; 571 for (i=0;i<choices.length;i++) 572 if (~choices[i].toLowerCase().indexOf(term)) suggestions.push(choices[i]); 573 suggest(suggestions); 574 } 575 }); 576 if (~window.location.href.indexOf('http')) { 577 (function() {var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;po.src = 'https://apis.google.com/js/plusone.js';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);})(); 578 (function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.4&appId=114593902037957";fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk')); 579 !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs'); 580 jQuery('#github_social').html('\ 581 <iframe style="float:left;margin-right:15px" src="//ghbtns.com/github-btn.html?user=Pixabay&repo=jQuery-autoComplete&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>\ 582 <iframe style="float:left;margin-right:15px" src="//ghbtns.com/github-btn.html?user=Pixabay&repo=jQuery-autoComplete&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>\ 583 '); 584 } 585 } 586 /* ------------------------------------- 587 THREE GRID SLIDER 588 -------------------------------------- */ 589 var _listar_threecolumnsslider = jQuery('[id="listar-threecolumnsslider"], [id="listar-testimonialslidervthree"], [id="listar-recentlistingsliderone"], [id="listar-recentlistingslidertwo"], [id="listar-recentlistingsliderthree"], [id="listar-recentlistingsliderfour"], [id="listar-recentlistingsliderfive"]'); 590 if(_listar_threecolumnsslider.hasClass('listar-threecolumnsslider')){ 591 _listar_threecolumnsslider.owlCarousel({ 592 items: 3, 593 nav:true, 594 loop:true, 595 dots: true, 596 margin: 40, 597 autoplay: true, 598 dotsClass: 'listar-sliderdots', 599 navClass: ['listar-prev', 'listar-next'], 600 navContainerClass: 'listar-slidernav', 601 navText: ['<span class="icon-arrow-left2"></span>', '<span class="icon-arrow-right2"></span>'], 602 responsive : { 603 // breakpoint from 0 up 604 0 : {items:1,}, 605 // breakpoint from 640 up 606 640 : {items:2,},
607 // breakpoint from 1024 up 608 1024 : {items:3,}, 609 } 610 }); 611 } 612}); 613/*-------------------------------------- 614 PRELOADER 615-------------------------------------- 616jQuery(window).load(function() { 617 jQuery(".preloader-outer").fadeIn("slow"); 618 jQuery(".pins").fadeIn("slow"); 619 jQuery( document ).ready(function() { 620 jQuery(".preloader-outer").fadeOut("slow"); 621 jQuery(".pins").fadeOut("slow"); 622 }); 623}); 624*/
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.