1$(function() { 2 'use strict' 3 4 // ______________LOADER 5 $("#global-loader").fadeOut("slow"); 6 7 8 // This template is mobile first so active menu in navbar 9 // has submenu displayed by default but not in desktop 10 // so the code below will hide the active menu if it's in desktop 11 if (window.matchMedia('(min-width: 992px)').matches) { 12 $('.main-navbar .active').removeClass('show'); 13 $('.main-header-menu .active').removeClass('show'); 14 } 15 // Shows header dropdown while hiding others 16 $('.main-header .dropdown > a').on('click', function(e) { 17 e.preventDefault(); 18 $(this).parent().toggleClass('show'); 19 $(this).parent().siblings().removeClass('show'); 20 $(this).find('.drop-flag').removeClass('show'); 21 }); 22 $('.country-flag1').on('click', function(e){ 23 $('.main-header .dropdown > a').parent().siblings().removeClass('show'); 24 }); 25 26 // ______________Full screen 27 $(document).on("click", ".fullscreen-button", function toggleFullScreen() { 28 if ((document.fullScreenElement !== undefined && document.fullScreenElement === null) || (document.msFullscreenElement !== undefined && document.msFullscreenElement === null) || (document.mozFullScreen !== undefined && !document.mozFullScreen) || (document.webkitIsFullScreen !== undefined && !document.webkitIsFullScreen)) { 29 if (document.documentElement.requestFullScreen) { 30 document.documentElement.requestFullScreen(); 31 } else if (document.documentElement.mozRequestFullScreen) { 32 document.documentElement.mozRequestFullScreen(); 33 } else if (document.documentElement.webkitRequestFullScreen) { 34 document.documentElement.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT); 35 } else if (document.documentElement.msRequestFullscreen) { 36 document.documentElement.msRequestFullscreen(); 37 } 38 } else { 39 if (document.cancelFullScreen) { 40 document.cancelFullScreen(); 41 } else if (document.mozCancelFullScreen) { 42 document.mozCancelFullScreen(); 43 } else if (document.webkitCancelFullScreen) { 44 document.webkitCancelFullScreen(); 45 } else if (document.msExitFullscreen) { 46 document.msExitFullscreen(); 47 } 48 } 49 }) 50 51 // ______________ RATING STAR 52 var ratingOptions = { 53 selectors: { 54 starsSelector: '.rating-stars', 55 starSelector: '.rating-star', 56 starActiveClass: 'is--active', 57 starHoverClass: 'is--hover', 58 starNoHoverClass: 'is--no-hover', 59 targetFormElementSelector: '.rating-value' 60 } 61 }; 62 $(".rating-stars").ratingStars(ratingOptions); 63 64 65 // ______________Cover Image 66 $(".cover-image").each(function() { 67 var attr = $(this).attr('data-image-src'); 68 if (typeof attr !== typeof undefined && attr !== false) { 69 $(this).css('background', 'url(' + attr + ') center center'); 70 } 71 }); 72 73 74 // ______________Toast 75 $(".toast").toast(); 76 77 /* Headerfixed */ 78 $(window).on("scroll", function(e){ 79 if ($(window).scrollTop() >= 66) { 80 $('main-header').addClass('fixed-header'); 81 } 82 else { 83 $('.main-header').removeClass('fixed-header'); 84 } 85 }); 86 87 // ______________Search 88 $('body, .main-header form[role="search"] button[type="reset"]').on('click keyup', function(event) { 89 if (event.which == 27 && $('.main-header form[role="search"]').hasClass('active') || 90 $(event.currentTarget).attr('type') == 'reset') { 91 closeSearch(); 92 } 93 }); 94 function closeSearch() { 95 var $form = $('.main-header form[role="search"].active') 96 $form.find('input').val(''); 97 $form.removeClass('active'); 98 } 99 // Show Search if form is not active // event.preventDefault() is important, this prevents the form from submitting 100 $(document).on('click', '.main-header form[role="search"]:not(.active) button[type="submit"]', function(event) { 101 event.preventDefault(); 102 var $form = $(this).closest('form'), 103 $input = $form.find('input'); 104 $form.addClass('active'); 105 $input.focus(); 106 }); 107 // if your form is ajax remember to call `closeSearch()` to close the search container 108 $(document).on('click', '.main-header form[role="search"].active button[type="submit"]', function(event) { 109 event.preventDefault(); 110 var $form = $(this).closest('form'), 111 $input = $form.find('input'); 112 $('#showSearchTerm').text($input.val()); 113 closeSearch() 114 }); 115 116 117 118 /* ----------------------------------- */ 119 120 // Showing submenu in navbar while hiding previous open submenu 121 $('.main-navbar .with-sub').on('click', function(e) { 122 e.preventDefault(); 123 $(this).parent().toggleClass('show'); 124 $(this).parent().siblings().removeClass('show'); 125 }); 126 // this will hide dropdown menu from open in mobile 127 $('.dropdown-menu .main-header-arrow').on('click', function(e) { 128 e.preventDefault(); 129 $(this).closest('.dropdown').removeClass('show'); 130 }); 131 // this will show navbar in left for mobile only
132 $('#mainNavShow, #azNavbarShow').on('click', function(e) { 133 e.preventDefault(); 134 $('body').addClass('main-navbar-show'); 135 }); 136 // this will hide currently open content of page 137 // only works for mobile 138 $('#mainContentLeftShow').on('click touch', function(e) { 139 e.preventDefault(); 140 $('body').addClass('main-content-left-show'); 141 }); 142 // This will hide left content from showing up in mobile only 143 $('#mainContentLeftHide').on('click touch', function(e) { 144 e.preventDefault(); 145 $('body').removeClass('main-content-left-show'); 146 }); 147 // this will hide content body from showing up in mobile only 148 $('#mainContentBodyHide').on('click touch', function(e) { 149 e.preventDefault(); 150 $('body').removeClass('main-content-body-show'); 151 }) 152 // navbar backdrop for mobile only 153 $('body').append('<div class="main-navbar-backdrop"></div>'); 154 $('.main-navbar-backdrop').on('click touchstart', function() { 155 $('body').removeClass('main-navbar-show'); 156 }); 157 // Close dropdown menu of header menu 158 $(document).on('click touchstart', function(e) { 159 e.stopPropagation(); 160 // closing of dropdown menu in header when clicking outside of it 161 var dropTarg = $(e.target).closest('.main-header .dropdown').length; 162 if (!dropTarg) { 163 $('.main-header .dropdown').removeClass('show'); 164 } 165 // closing nav sub menu of header when clicking outside of it 166 if (window.matchMedia('(min-width: 992px)').matches) { 167 // Navbar 168 var navTarg = $(e.target).closest('.main-navbar .nav-item').length; 169 if (!navTarg) { 170 $('.main-navbar .show').removeClass('show'); 171 } 172 // Header Menu 173 var menuTarg = $(e.target).closest('.main-header-menu .nav-item').length; 174 if (!menuTarg) { 175 $('.main-header-menu .show').removeClass('show'); 176 } 177 if ($(e.target).hasClass('main-menu-sub-mega')) { 178 $('.main-header-menu .show').removeClass('show'); 179 } 180 } else { 181 // 182 if (!$(e.target).closest('#mainMenuShow').length) { 183 var hm = $(e.target).closest('.main-header-menu').length; 184 if (!hm) { 185 $('body').removeClass('main-header-menu-show'); 186 } 187 } 188 } 189 }); 190 $('#mainMenuShow').on('click', function(e) { 191 e.preventDefault(); 192 $('body').toggleClass('main-header-menu-show'); 193 }) 194 $('.main-header-menu .with-sub').on('click', function(e) { 195 e.preventDefault(); 196 $(this).parent().toggleClass('show'); 197 $(this).parent().siblings().removeClass('show'); 198 }) 199 $('.main-header-menu-header .close').on('click', function(e) { 200 e.preventDefault(); 201 $('body').removeClass('main-header-menu-show'); 202 }) 203 204 $(".card-header-right .card-option .fe fe-chevron-left").on("click", function() { 205 var a = $(this); 206 if (a.hasClass("icofont-simple-right")) { 207 a.parents(".card-option").animate({ 208 width: "35px", 209 }) 210 } else { 211 a.parents(".card-option").animate({ 212 width: "180px", 213 }) 214 } 215 $(this).toggleClass("fe fe-chevron-right").fadeIn("slow") 216 }); 217 218 // ___________TOOLTIP 219 $('[data-toggle="tooltip"]').tooltip(); 220 // colored tooltip 221 $('[data-toggle="tooltip-primary"]').tooltip({ 222 template: '<div class="tooltip tooltip-primary" role="tooltip"><div class="arrow"><\/div><div class="tooltip-inner"><\/div><\/div>' 223 }); 224 $('[data-toggle="tooltip-secondary"]').tooltip({ 225 template: '<div class="tooltip tooltip-secondary" role="tooltip"><div class="arrow"><\/div><div class="tooltip-inner"><\/div><\/div>' 226 }); 227 228 // __________POPOVER 229 $('[data-toggle="popover"]').popover(); 230 $('[data-popover-color="head-primary"]').popover({ 231 template: '<div class="popover popover-head-primary" role="tooltip"><div class="arrow"><\/div><h3 class="popover-header"><\/h3><div class="popover-body"><\/div><\/div>' 232 }); 233 $('[data-popover-color="head-secondary"]').popover({ 234 template: '<div class="popover popover-head-secondary" role="tooltip"><div class="arrow"><\/div><h3 class="popover-header"><\/h3><div class="popover-body"><\/div><\/div>' 235 }); 236 $('[data-popover-color="primary"]').popover({ 237 template: '<div class="popover popover-primary" role="tooltip"><div class="arrow"><\/div><h3 class="popover-header"><\/h3><div class="popover-body"><\/div><\/div>' 238 }); 239 $('[data-popover-color="secondary"]').popover({ 240 template: '<div class="popover popover-secondary" role="tooltip"><div class="arrow"><\/div><h3 class="popover-header"><\/h3><div class="popover-body"><\/div><\/div>' 241 }); 242 $(document).on('click', function(e) { 243 $('[data-toggle="popover"],[data-original-title]').each(function() { 244 //the 'is' for buttons that trigger popups 245 //the 'has' for icons within a button that triggers a popup 246 if (!$(this).is(e.target) && $(this).has(e.target).length === 0 && $('.popover').has(e.target).length === 0) { 247 (($(this).popover('hide').data('bs.popover') || {}).inState || {}
247).click = false // fix for BS 3.3.6 248 } 249 }); 250 }); 251 252 // Enable Eva-icons with SVG markup 253 eva.replace(); 254 255 256 // ______________Horizontal-menu Active Class 257 $(document).ready(function() { 258 $(".horizontalMenu-list li a").each(function() { 259 var pageUrl = window.location.href.split(/[?#]/)[0]; 260 if (this.href == pageUrl) { 261 $(this).addClass("active"); 262 $(this).parent().addClass("active"); // add active to li of the current link 263 $(this).parent().parent().prev().addClass("active"); // add active class to an anchor 264 $(this).parent().parent().prev().click(); // click the item to make it drop 265 } 266 }); 267 }); 268 269 270 // ______________Active Class 271 $(document).ready(function() { 272 $(".horizontalMenu-list li a").each(function() { 273 var pageUrl = window.location.href.split(/[?#]/)[0]; 274 if (this.href == pageUrl) { 275 $(this).addClass("active"); 276 $(this).parent().addClass("active"); // add active to li of the current link 277 $(this).parent().parent().prev().addClass("active"); // add active class to an anchor 278 $(this).parent().parent().prev().click(); // click the item to make it drop 279 } 280 }); 281 $(".horizontal-megamenu li a").each(function() { 282 var pageUrl = window.location.href.split(/[?#]/)[0]; 283 if (this.href == pageUrl) { 284 $(this).addClass("active"); 285 $(this).parent().addClass("active"); // add active to li of the current link 286 $(this).parent().parent().parent().parent().parent().parent().parent().prev().addClass("active"); // add active class to an anchor 287 $(this).parent().parent().prev().click(); // click the item to make it drop 288 } 289 }); 290 $(".horizontalMenu-list .sub-menu .sub-menu li a").each(function() { 291 var pageUrl = window.location.href.split(/[?#]/)[0]; 292 if (this.href == pageUrl) { 293 $(this).addClass("active"); 294 $(this).parent().addClass("active"); // add active to li of the current link 295 $(this).parent().parent().parent().parent().prev().addClass("active"); // add active class to an anchor 296 $(this).parent().parent().prev().click(); // click the item to make it drop 297 } 298 }); 299 }); 300 301 302 // ______________ Back to Top 303 $(window).on("scroll", function(e) { 304 if ($(this).scrollTop() > 0) { 305 $('#back-to-top').fadeIn('slow'); 306 } else { 307 $('#back-to-top').fadeOut('slow'); 308 } 309 }); 310 $("#back-to-top").on("click", function(e) { 311 $("html, body").animate({ 312 scrollTop: 0 313 }, 600); 314 return false; 315 }); 316 317 318 319 // ______________Switcher 320 321 322 /*Skin modes*/ 323 $(document).on("click", '#myonoffswitch7', function () { 324 if (this.checked) { 325 $('body').addClass('body-default'); 326 $('body').removeClass('body-style1'); 327 localStorage.setItem("body-default", "True"); 328 } 329 else { 330 $('body').removeClass('body-default'); 331 localStorage.setItem("body-default", "false"); 332 } 333 }); 334 $(document).on("click", '#myonoffswitch6', function () { 335 if (this.checked) { 336 $('body').addClass('body-style1'); 337 $('body').removeClass('body-default'); 338 localStorage.setItem("body-style1", "True"); 339 } 340 else { 341 $('body').removeClass('body-style1'); 342 localStorage.setItem("body-style1", "false"); 343 } 344 }); 345 346 /*Horizontal Styles*/ 347 $(document).on("click", '#myonoffswitch2', function () { 348 if (this.checked) { 349 $('body').addClass('horizontal-light'); 350 $('body').removeClass('horizontal-color'); 351 $('body').removeClass('horizontal-dark'); 352 $('body').removeClass('horizontal-gradient'); 353 localStorage.setItem("horizontal-light", "True"); 354 } 355 else { 356 $('body').removeClass('horizontal-light'); 357 localStorage.setItem("horizontal-light", "false"); 358 } 359 }); 360 $(document).on("click", '#myonoffswitch3', function () { 361 if (this.checked) { 362 $('body').addClass('horizontal-color'); 363 $('body').removeClass('horizontal-light'); 364 $('body').removeClass('horizontal-dark'); 365 $('body').removeClass('horizontal-gradient'); 366 localStorage.setItem("horizontal-color", "True"); 367 } 368 else { 369 $('body').removeClass('horizontal-color'); 370 localStorage.setItem("horizontal-color", "false"); 371 } 372 }); 373 $(document).on("click", '#myonoffswitch4', function () { 374 if (this.checked) { 375 $('body').addClass('horizontal-dark'); 376 $('body').removeClass('horizontal-color'); 377 $('body').removeClass('horizontal-light'); 378 $('body').removeClass('horizontal-gradient'); 379 localStorage.setItem("horizontal-dark", "True"); 380 } 381 else { 382 $('body').removeClass('horizontal-dark'); 383 localStorage.setItem("horizontal-dark", "false"); 384 } 385 }); 386 $(document).on("click", '#myonoffswitch5', function () { 387 if (this.checked) { 388 $('body').addClass('horizontal-gradient'); 389 $('body').removeClass('horizontal-color'); 390 $('body').removeClass('horizontal-light'); 391 $('body').removeClass('horizontal-dark'); 392 localStorage.setItem("horizontal-gradient", "True"); 393 } 394 else { 395 $('body').removeClass('horizontal-gradient'); 396 localStorage.setItem("horizontal-gradient", "false"); 397 } 398 }); 399 $(document).on("click", '#myonoffswitch8', function () { 400 if (this.checked) { 401 $('body').addClass('reset'); 402 $('body').removeClass('horizontal-color'); 403 $('body').removeClass('horizontal-light'); 404 $('body').removeClass('horizontal-dark'); 405 $('body').removeClass('horizontal-gradient'); 406 $('body').removeClass('themestyle'); 407 localStorage.setItem("reset", "True"); 408 } 409 else { 410 $('body').removeClass('reset'); 411 localStorage.setItem("reset", "false"); 412 } 413 }); 414 415 /*Leftmenu Styles*/ 416 $(document).on("click", '#myonoffswitch9', function () { 417 if (this.checked) { 418 $('body').addClass('leftmenu-light'); 419 $('body').removeClass('leftmenu-color'); 420 $('body').removeClass('leftmenu-dark'); 421 $('body').removeClass('leftmenu-gradient'); 422 localStorage.setItem("leftmenu-light", "True"); 423 } 424 else { 425 $('body').removeClass('leftmenu-light'); 426 localStorage.setItem("leftmenu-light", "false"); 427 } 428 }); 429 $(document).on("click", '#myonoffswitch10', function () { 430 if (this.checked) { 431 $('body').addClass('leftmenu-color'); 432 $('body').removeClass('leftmenu-light'); 433 $('body').removeClass('leftmenu-dark'); 434 $('body').removeClass('leftmenu-gradient'); 435 localStorage.setItem("leftmenu-color", "True"); 436 } 437 else { 438 $('body').removeClass('leftmenu-color'); 439 localStorage.setItem("leftmenu-color", "false"); 440 } 441 }); 442 $(document).on("click", '#myonoffswitch11', function () { 443 if (this.checked) { 444 $('body').addClass('leftmenu-dark'); 445 $('body').removeClass('leftmenu-color'); 446 $('body').removeClass('leftmenu-light'); 447 $('body').removeClass('leftmenu-gradient'); 448 localStorage.setItem("leftmenu-dark", "True"); 449 } 450 else { 451 $('body').removeClass('leftmenu-dark'); 452 localStorage.setItem("leftmenu-dark", "false"); 453 } 454 }); 455 $(document).on("click", '#myonoffswitch12', function () { 456 if (this.checked) { 457 $('body').addClass('leftmenu-gradient'); 458 $('body').removeClass('leftmenu-color'); 459 $('body').removeClass('leftmenu-light'); 460 $('body').removeClass('leftmenu-dark'); 461 localStorage.setItem("leftmenu-gradient", "True"); 462 } 463 else { 464 $('body').removeClass('leftmenu-gradient'); 465 localStorage.setItem("leftmenu-gradient", "false"); 466 } 467 }); 468 $(document).on("click", '#myonoffswitch13', function () { 469 if (this.checked) { 470 $('body').addClass('reset'); 471 $('body').removeClass('leftmenu-color'); 472 $('body').removeClass('leftmenu-light'); 473 $('body').removeClass('leftmenu-dark'); 474 $('body').removeClass('leftmenu-gradient'); 475 $('body').removeClass('leftbgimage1'); 476 $('body').removeClass('leftbgimage2'); 477 $('body').removeClass('leftbgimage3'); 478 $('body').removeClass('leftbgimage4'); 479 $('body').removeClass('leftbgimage5'); 480 $('body').removeClass('leftbgimage6'); 481 $('body').removeClass('leftbgimage7'); 482 $('body').removeClass('leftbgimage8'); 483 $('body').removeClass('leftbgimage9'); 484 $('body').removeClass('leftbgimage10'); 485 $('body').removeClass('body-style1'); 486 localStorage.setItem("reset", "True"); 487 } 488 else { 489 $('body').removeClass('reset'); 490 localStorage.setItem("reset", "false"); 491 } 492 }); 493 494 495 496 /*--- Left-menu Image --*/ 497 $('#leftmenuimage1').on('click', function() { 498 $('body').removeClass('leftbgimage2'); 499 $('body').removeClass('leftbgimage3'); 500 $('body').removeClass('leftbgimage4'); 501 $('body').removeClass('leftbgimage5'); 502 $('body').removeClass('leftbgimage6'); 503 $('body').removeClass('leftbgimage7'); 504 $('body').removeClass('leftbgimage8'); 505 $('body').removeClass('leftbgimage9'); 506 $('body').removeClass('leftbgimage10'); 507 $('body').addClass('leftbgimage1'); 508 return false;
509 }); 510 511 $('#leftmenuimage2').on('click', function() { 512 $('body').removeClass('leftbgimage1'); 513 $('body').removeClass('leftbgimage3'); 514 $('body').removeClass('leftbgimage4'); 515 $('body').removeClass('leftbgimage5'); 516 $('body').removeClass('leftbgimage6'); 517 $('body').removeClass('leftbgimage7'); 518 $('body').removeClass('leftbgimage8'); 519 $('body').removeClass('leftbgimage9'); 520 $('body').removeClass('leftbgimage10'); 521 $('body').addClass('leftbgimage2'); 522 return false; 523 }); 524 525 $('#leftmenuimage3').on('click', function() { 526 $('body').removeClass('leftbgimage1'); 527 $('body').removeClass('leftbgimage2'); 528 $('body').removeClass('leftbgimage4'); 529 $('body').removeClass('leftbgimage5'); 530 $('body').removeClass('leftbgimage6'); 531 $('body').removeClass('leftbgimage7'); 532 $('body').removeClass('leftbgimage8'); 533 $('body').removeClass('leftbgimage9'); 534 $('body').removeClass('leftbgimage10'); 535 $('body').addClass('leftbgimage3'); 536 return false; 537 }); 538 539 $('#leftmenuimage4').on('click', function() { 540 $('body').removeClass('leftbgimage1'); 541 $('body').removeClass('leftbgimage2'); 542 $('body').removeClass('leftbgimage3'); 543 $('body').removeClass('leftbgimage5'); 544 $('body').removeClass('leftbgimage6'); 545 $('body').removeClass('leftbgimage7'); 546 $('body').removeClass('leftbgimage8'); 547 $('body').removeClass('leftbgimage9'); 548 $('body').removeClass('leftbgimage10'); 549 $('body').addClass('leftbgimage4'); 550 return false; 551 }); 552 553 $('#leftmenuimage5').on('click', function() { 554 $('body').removeClass('leftbgimage1'); 555 $('body').removeClass('leftbgimage2'); 556 $('body').removeClass('leftbgimage3'); 557 $('body').removeClass('leftbgimage4'); 558 $('body').removeClass('leftbgimage6'); 559 $('body').removeClass('leftbgimage7'); 560 $('body').removeClass('leftbgimage8'); 561 $('body').removeClass('leftbgimage9'); 562 $('body').removeClass('leftbgimage10'); 563 $('body').addClass('leftbgimage5'); 564 return false; 565 }); 566 567 $('#leftmenuimage6').on('click', function() { 568 $('body').removeClass('leftbgimage1'); 569 $('body').removeClass('leftbgimage2'); 570 $('body').removeClass('leftbgimage3'); 571 $('body').removeClass('leftbgimage4'); 572 $('body').removeClass('leftbgimage5'); 573 $('body').removeClass('leftbgimage7'); 574 $('body').removeClass('leftbgimage8'); 575 $('body').removeClass('leftbgimage9'); 576 $('body').removeClass('leftbgimage10'); 577 $('body').addClass('leftbgimage6'); 578 return false; 579 }); 580 581 $('#leftmenuimage7').on('click', function() { 582 $('body').removeClass('leftbgimage1'); 583 $('body').removeClass('leftbgimage2'); 584 $('body').removeClass('leftbgimage3'); 585 $('body').removeClass('leftbgimage4'); 586 $('body').removeClass('leftbgimage5'); 587 $('body').removeClass('leftbgimage6'); 588 $('body').removeClass('leftbgimage8'); 589 $('body').removeClass('leftbgimage9'); 590 $('body').removeClass('leftbgimage10'); 591 $('body').addClass('leftbgimage7'); 592 return false; 593 }); 594 595 $('#leftmenuimage8').on('click', function() { 596 $('body').removeClass('leftbgimage1'); 597 $('body').removeClass('leftbgimage2'); 598 $('body').removeClass('leftbgimage3'); 599 $('body').removeClass('leftbgimage4'); 600 $('body').removeClass('leftbgimage5'); 601 $('body').removeClass('leftbgimage6'); 602 $('body').removeClass('leftbgimage7'); 603 $('body').removeClass('leftbgimage9'); 604 $('body').removeClass('leftbgimage10'); 605 $('body').addClass('leftbgimage8'); 606 return false; 607 }); 608 609 $('#leftmenuimage9').on('click', function() { 610 $('body').removeClass('leftbgimage1'); 611 $('body').removeClass('leftbgimage2'); 612 $('body').removeClass('leftbgimage3'); 613 $('body').removeClass('leftbgimage4'); 614 $('body').removeClass('leftbgimage5'); 615 $('body').removeClass('leftbgimage6'); 616 $('body').removeClass('leftbgimage7'); 617 $('body').removeClass('leftbgimage8'); 618 $('body').removeClass('leftbgimage10'); 619 $('body').addClass('leftbgimage9'); 620 return false; 621 }); 622 623 $('#leftmenuimage10').on('click', function() { 624 $('body').removeClass('leftbgimage1'); 625 $('body').removeClass('leftbgimage2'); 626 $('body').removeClass('leftbgimage3'); 627 $('body').removeClass('leftbgimage4'); 628 $('body').removeClass('leftbgimage5'); 629 $('body').removeClass('leftbgimage6'); 630 $('body').removeClass('leftbgimage7'); 631 $('body').removeClass('leftbgimage8'); 632 $('body').removeClass('leftbgimage9'); 633 $('body').addClass('leftbgimage10'); 634 return false;
635 }); 636 637 638 639}); 640
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.