1/* ========================================================================= */ 2/* Chat Zopim 3/* ========================================================================= */ 4//window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s=d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set._.push(o)};z._=[];z.set._=[];$.async=!0;$.setAttribute("charset","utf-8");$.src="//v2.zopim.com/?3YdpQ9yNhMMPsYabQ5TmpI4Q6KE2laD6";z.t=+new Date;$.type="text/javascript";e.parentNode.insertBefore($,e)})(document,"script"); 5/* ========================================================================= */ 6/* Google Analytics code 7/* =========================================================================
vendor: 340 bytes, lines 7-9
7 8(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); 9 ga('create', '
9UA-78370512-1
vendor: 36 bytes, line 9
9', 'auto'); ga('send', 'pageview');
9*/ 10/* ========================================================================= */ 11 12/**********************Popup start************************/ 13/*var offModalContent = '<div class="offPopupWrp"><div class="offerInnerWrap"><div class="offerWrp"><div class="ofImgWrp"> <span class="closeBtn">X</span><div class="ctaWrp popupCtaWrp"><a target="_blank" href="https://www.myassignmentservices.com/500/?utm_source=tv&utm_medium=popup"><img class="img-responsive" src="https://www.myassignmentservices.com/images/offer-banner-1.png" alt="Get 500 Words FREE"></a></div></div></div></div></div>'; 14$('body').append(offModalContent); 15setTimeout(function(){ 16 $('.offPopupWrp').fadeIn('slow'); 17 $('body').addClass('hideOverflow'); 18 },15000); 19 $('body').on('click','span.closeBtn',function(){ 20 $('.offPopupWrp').fadeOut('slow'); 21 $('body').removeClass('hideOverflow'); 22});*/ 23 24/**********************popup End************************/ 25 26/* Facebook Pixel code MAS 27/* ========================================================================= */
vendor: 415 bytes, lines 27-36
27 28!function(f,b,e,v,n,t,s) 29 {if(f.fbq)return;n=f.fbq=function(){n.callMethod? 30 n.callMethod.apply(n,arguments):n.queue.push(arguments)}; 31 if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; 32 n.queue=[];t=b.createElement(e);t.async=!0; 33 t.src=v;s=b.getElementsByTagName(e)[0]; 34 s.parentNode.insertBefore(t,s)}(window, document,'script', 35 'https://connect.facebook.net/en_US/fbevents.js'); 36 fbq('init', '
36681024988738776
vendor: 32 bytes, lines 36-37
36'); 37 fbq('track', 'PageView');
38/* ========================================================================= */ 39/* Facebook Pixel code 40/* ========================================================================= */
vendor: 395 bytes, lines 40-46
40 41!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? 42n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; 43n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; 44t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, 45document,'script','https://connect.facebook.net/en_US/fbevents.js'); 46fbq('init', '
46754347618068257
vendor: 4 bytes, line 46
46');
46// Insert your pixel ID here. 47fbq('track', 'PageView'); 48fbq('track', 'ViewContent'); 49/* ========================================================================= */ 50/* Google re-captcha 51/* ========================================================================= */ 52var onloadCallback = function () { 53 grecaptcha.render( 'html_element', { 54 'sitekey': '6LeOYmEUAAAAAOPEPgR0BhRLO4I9k8vh27Nlt-cZ' 55 } ); 56 }; 57$(document).ready(function() { 58//$("#testimonailSlider").load("https://www.assignmenthelpcompany.com/fetch_testimonials.php"); 59//$("#testimonailSliderSidebar").load("https://www.assignmenthelpcompany.com/fetch_testimonials-sidebar.php"); 60//$("#blogs").load("https://www.assignmenthelpcompany.com/fetch_blogs.php"); 61$('input[name=deadline]').attr('autocomplete','off'); 62$('input[name=deadline]').attr('readonly','true'); 63$('input[name=email]').attr('type', 'email'); 64$('form[name=myform]').find('input[name="submit"]').attr('id', 'saveForm'); 65$('form[name=myform]').find('button[type="submit"]').attr('id', 'saveForm'); 66/* ========================================================================= */ 67/* Dropdown 68/* ========================================================================= */ 69 function dropMenu() { 70 if ($(window).width() > 991) { 71 $('header .navbar-nav li.dropdown').mouseenter(function() { 72 $(this).find('.dropdown-menu').stop().slideDown(400); 73 $(this).addClass('open'); 74 }); 75 $('header .navbar-nav li.dropdown').mouseleave(function() { 76 $(this).find('.dropdown-menu').stop().slideUp(0); 77 $(this).removeClass('open'); 78 }); 79 $('header .countryDropdown').mouseenter(function() { 80 $(this).find('.dropdown-menu').stop().slideDown(400); 81 }); 82 $('header .countryDropdown').mouseleave(function() { 83 $(this).find('.dropdown-menu').stop().slideUp(0); 84 }); 85 $(window).scroll(function() { 86 "use strict"; 87 if ($(this).scrollTop() > 100) { 88 $('.headerWrapper').addClass('header2'); 89 } else { 90 $('.headerWrapper').removeClass('header2'); 91 } 92 }); 93 } else { 94 $('header .navbar-nav li.dropdown .caretIcon').click(function() { 95 $('.dropdown-menu').stop().slideUp(500); 96 $(this).parent('.dropdown').find('.dropdown-menu').stop().slideToggle(500); 97 }); 98// $('header .navbar-nav li.dropdown .fa').click(function() { 99// $('.resources-nav-inner-wrapper').slideUp(500); 100// $('header .navbar-nav li.dropdown').removeClass('open'); 101// $(this).parent('.dropdown').toggleClass('open'); 102// $(this).parent('.dropdown').find('.resources-nav-inner-wrapper').stop().slideToggle(400); 103// 104// }); 105// 106 $('.footerHeading').on('click touch' ,function(){ 107 if($(this).hasClass('active')){ 108 $('.footerHeading').removeClass('active'); 109 $('.footerHeading').next('div').slideUp(500); 110 }else{ 111 $(this).addClass('active'); 112 $(this).next('div').slideDown(500); 113 } 114 //$('.footerHeading').removeClass('active'); 115// $('.footerHeading').next('div').slideUp(); 116// $(this).toggleClass('active'); 117// $(this).next('div').stop().slideToggle(); 118 }); 119 } 120 } 121 $(window).resize(function() { 122 dropMenu(); 123 }); 124 dropMenu(); 125/* ========================================================================= */ 126/* Subject and university autocomplete 127/* ========================================================================= */ 128 $("input[name=subject_text]").autocomplete({ 129 source: "https://www.assignmenthelpcompany.com/subjects.php", 130 minLength: 1, 131 select: function(event, ui) { 132 $(this).closest("form").find("#subject").val(ui.item.id); 133 } 134 }); 135 $("input[name=university_text]").autocomplete({ 136 source: "https://www.assignmenthelpcompany.com/university.php", 137 minLength: 1, 138 select: function(event, ui) { 139 $(this).closest("form").find("#university").val(ui.item.id); 140 } 141 }); 142 /*------------- Validating form fields start here ------------*/ 143 $("#saveForm").on('click', function(){ 144 var name = $('input[name=name]').val(); 145 if(name.trim() == '') 146 { 147 $('input[name=name]').focus(); 148 $("input[name=name]").css("border-color", "#f44336"); 149 return false;
150 } 151 else{ 152 $("input[name=name]").css("border-color", ""); 153 } 154 var email = $('input[name=email]').val(); 155 if(email.trim() == '') 156 { 157 $('input[name=email]').focus(); 158 $("input[name=email]").css("border-color", "#f44336"); 159 return false; 160 } 161 else{ 162 $("input[name=email]").css("border-color", ""); 163 } 164 var country = $('select[name=country_name]').val(); 165 if(country.trim() == '') 166 { 167 $('select[name=country_name]').focus(); 168 $("select[name=country_name]").css("border-color", "#f44336"); 169 return false; 170 } 171 else{ 172 $("select[name=country_name]").css("border-color", ""); 173 } 174 var subject = $('input[name=subject_text]').val(); 175 if(subject.trim() == '') 176 { 177 $('input[name=subject_text]').focus(); 178 $("input[name=subject_text]").css("border-color", "#f44336"); 179 return false; 180 } 181 else{ 182 $("input[name=subject_text]").css("border-color", ""); 183 } 184 var deadline = $('input[name=deadline]').val(); 185 if(deadline.trim() == '') 186 { 187 $('input[name=deadline]').focus(); 188 $("input[name=deadline]").css("border-color", "#f44336"); 189 return false; 190 } 191 else{ 192 $("input[name=deadline]").css("border-color", ""); 193 } 194 var university = $('input[name=university_text]').val(); 195 if(university.trim() == '') 196 { 197 $('input[name=university_text]').focus(); 198 $("input[name=university_text]").css("border-color", "#f44336"); 199 return false; 200 } 201 else{ 202 $("input[name=university_text]").css("border-color", ""); 203 } 204 var wordcount = $('input[name=wordcount]').val(); 205 if(wordcount.trim() == '') 206 { 207 $('input[name=wordcount]').focus(); 208 $("input[name=wordcount]").css("border-color", "#f44336"); 209 return false; 210 } 211 else{ 212 $("input[name=wordcount]").css("border-color", ""); 213 } 214 if($(this).parents('form').find('input[type="file"]').val() == ""){ 215 alert('Are you sure, you want to submit? You have not attached any file'); 216 } 217 }); 218 $("body").delegate('input[name="wordcount"]', 'keyup', function(){ 219 if($(this).val() < 0){ 220 $(this).val('0'); 221 } 222 }); 223/* ========================================================================= */ 224/* Modal Auto Height 225/* ========================================================================= */ 226function setModalMaxHeight(element) { 227 this.$element = $(element); 228 this.$content = this.$element.find('.modal-content'); 229 var borderWidth = this.$content.outerHeight() - this.$content.innerHeight(); 230 var dialogMargin = $(window).width() < 768 ? 20 : 60; 231 var contentHeight = $(window).height() - (dialogMargin + borderWidth); 232 var headerHeight = this.$element.find('.modal-header').outerHeight() || 0; 233 var footerHeight = this.$element.find('.modal-footer').outerHeight() || 0; 234 var maxHeight = contentHeight - (headerHeight + footerHeight); this.$content.css({ 235 'overflow': 'hidden' 236 }); 237 this.$element 238 .find('.modal-body').css({ 239 'max-height': maxHeight, 240 'overflow-y': 'auto' 241 }); 242}$('.modal').on('show.bs.modal', function() { 243 $(this).show(); 244 setModalMaxHeight(this); 245});$(window).resize(function() { 246 if ($('.modal.in').length != 0) { 247 setModalMaxHeight($('.modal.in')); 248 } 249}); 250/* ========================================================================= */ 251/* Service Slider 252/* ========================================================================= */ 253$('#ServiceSlider').owlCarousel({ 254 loop:true, 255 margin:10, 256 nav:true, 257 smartSpeed:1500, 258 dots: true, 259 autoplay: true, 260 autoplayTimeout: 5000, 261 addClassActive: true, 262 navText: ['<span class="icon-wrap"><i class="fas fa-long-arrow-alt-left"></i></span>' ,'<span class="icon-wrap"><i class="fas fa-long-arrow-alt-right"></i></span>' 263 ], 264 responsive:{ 265 0:{ 266 items:1, 267 dots: false 268 }, 269 600:{ 270 items:1, 271 dots: false 272 }, 273 992:{ 274 items:2 275 }, 276 1300:{ 277 items:3 278 } 279 } 280}); 281$('#ensureSlider').owlCarousel({ 282 loop:true, 283 margin:0, 284 nav:true, 285 smartSpeed:1500, 286 dots: false, 287 autoplay: true, 288 autoplayTimeout: 5000, 289 addClassActive: true, 290 navText: ['<span class="icon-wrap"><i class="fas fa-long-arrow-alt-left"></i></span>' ,'<span class="icon-wrap"><i class="fas fa-long-arrow-alt-right"></i></span>' 291 ], 292 responsive:{ 293 0:{ 294 items:1 295 }, 296 600:{ 297 items:2 298 }, 299 1000:{ 300 items:3 301 } 302 } 303}); 304/* ========================================================================= */ 305/* Header 306/* ========================================================================= */ 307var hedaerHeight = $('.headerWrapper').innerHeight(); 308$('body').css({paddingTop:hedaerHeight}); 309$('.cms_area p, .cms_area a').find('img').parent('p,a').addClass('imageBox'); 310/* ========================================================================= */ 311/* Form Validation 312/* ========================================================================= */ 313 $('.onlyNumber, input[name="phone"], input[name="tel"]').keyup(function() 314 { 315 if (/\D/g.test(this.value)) 316 {
317 // Filter non-digits from input value. 318 this.value = this.value.replace(/\D/g, ''); 319 } 320 }); 321 function recaptchaCallback() { 322 $('#hiddenRecaptcha').valid(); 323 } 324 jQuery.validator.addMethod("noSpace", function(value, element) { 325 return value == '' || value.trim().length != 0; 326 }, "No space please and don't leave it empty"); 327var frm = $('form[action="mail.php"]'); 328//frm.submit(function(e) { 329// 330// e.preventDefault(); 331// // $(this).find('button').text('Please wait...').prop('disabled', true); 332// var formData = new FormData(this); 333// $.ajax({ 334// type: 'POST', 335// url: 'https://www.assignmenthelpcompany.com/addtodata.php', 336// data: formData, 337// async: false, 338// success: function(data) { 339// console.log('Submission was successful.'); 340// console.log(data); 341// if(data == '1') 342// { 343// window.location.href = "https://www.assignmenthelpcompany.com/spam.html"; 344// } 345// else 346// { 347// //alert(data); 348// window.location.href = "https://www.assignmenthelpcompany.com/thanks-calculate.html"; 349// } 350// 351// }, 352// error: function(data) { 353// console.log('An error occurred.'); 354// console.log(data); 355// }, 356// cache: false, 357// contentType: false, 358// processData: false 359// }); 360//}); 361 $('form[action="mail.php"]').validate({ 362 submitHandler: function(form) { 363 // $(this).find('button').text('Please wait...').prop('disabled', true); 364 var formData = new FormData(form); 365 $(this).find('button').text('Please wait...').prop('disabled', true); 366 $.ajax({ 367 type: 'POST', 368 url: 'https://www.assignmenthelpcompany.com/addtodata.php', 369 data: formData, 370 async: false, 371 success: function(data) { 372 console.log('Submission was successful.'); 373 console.log(data); 374 if(data == '1') 375 { 376 window.location.href = "https://www.assignmenthelpcompany.com/spam.html"; 377 } 378 else 379 { 380 //alert(data); 381 //window.location.href = "https://www.assignmenthelpcompany.com/thanks-calculate.html"; 382 window.location.href = "https://www.assignmenthelpcompany.com/thanks.html"; 383 } 384 }, 385 error: function(data) { 386 console.log('An error occurred.'); 387 console.log(data); 388 }, 389 cache: false, 390 contentType: false, 391 processData: false 392 }); 393 } 394 }); 395 $('form[action="offer.php"]').validate({ 396 submitHandler: function(form) { 397 // $(this).find('button').text('Please wait...').prop('disabled', true); 398 var formData = new FormData(form); 399 $(this).find('button').text('Please wait...').prop('disabled', true); 400 $.ajax({ 401 type: 'POST', 402 url: 'https://www.assignmenthelpcompany.com/addtodata.php', 403 data: formData, 404 async: false, 405 success: function(data) { 406 console.log('Submission was successful.'); 407 console.log(data); 408 if(data == '1') 409 { 410 window.location.href = "https://www.assignmenthelpcompany.com/spam.html"; 411 } 412 else 413 { 414 //alert(data); 415 //window.location.href = "https://www.assignmenthelpcompany.com/thanks-calculate.html"; 416 window.location.href = "https://www.assignmenthelpcompany.com/offer-thanks.html"; 417 } 418 }, 419 error: function(data) { 420 console.log('An error occurred.'); 421 console.log(data); 422 }, 423 cache: false, 424 contentType: false, 425 processData: false 426 }); 427 } 428 }); 429 //function Country_code(c_code) { 430 $('form select').on('change', function() { 431 var country = $('form select option:selected').attr('value'); 432 var c_code = country; 433 console.log(c_code); 434 var countryDM; 435 if (country == '') { 436 $('.con_code').val("Phone No."); 437 } 438 if (country == 'Australia') { 439 $('.con_code').val('+61 '); 440 countryDM = 13; 441 } 442 if (country == 'UK') { 443 $('.con_code').val('+44 '); 444 countryDM = 229; 445 } 446 if (country == 'ireland') { 447 $('.con_code').val('+353 '); 448 countryDM = 104; 449 } 450 if (country == 'Canada') { 451 $('.con_code').val('+1 '); 452 countryDM = 38; 453 } 454 if (country == 'USA') { 455 $('.con_code').val('+1 '); 456 countryDM = 230; 457 } 458 if (country == 'New Zealand') { 459 $('.con_code').val('+64 '); 460 countryDM = 158; 461 } 462 if (country == 'Malaysia') { 463 $('.con_code').val('+60 '); 464 countryDM = 133; 465 } 466 if (country == 'Singapore') { 467 $('.con_code').val('+65 '); 468 countryDM = 195; 469 } 470 if (country == 'UAE') { 471 $('.con_code').val('+971 '); 472 countryDM = 227; 473 } 474 if (country == 'Saudi Arabia') { 475 $('.con_code').val('+966 '); 476 countryDM = 228; 477 } 478 if (country == 'Germany') { 479 $('.con_code').val('+49 '); 480 countryDM = 80; 481 } 482 if (country == 'Jordan') { 483 $('.con_code').val('+962 '); 484 countryDM = 111; 485 }
486 if (country == 'Sweden') { 487 $('.con_code').val('+46 '); 488 countryDM = 210; 489 } 490 if (country == 'Other') { 491 $('.con_code').val(""); 492 $('.con_code').attr("placeholder", "Country Code & Phone No."); 493 $('.con_code').addClass('other_country_place'); 494 countryDM = 246; 495 } 496 $("input[name=country]").val(countryDM); 497 }); 498/* ========================================================================= */ 499/* Isotop Search 500/* ========================================================================= */ 501 var qsRegex; 502 /*var $grid = $('.grid').isotope({ 503 itemSelector: '.grid-item', 504 filter: function() { 505 return qsRegex ? $(this).text().match(qsRegex) : true; 506 } 507 });*/ 508 var $quicksearch = $('.quicksearch').keyup(debounce(function() { 509 qsRegex = new RegExp($quicksearch.val(), 'gi'); 510 $grid.isotope(); 511 }, 200)); 512 function debounce(fn, threshold) { 513 var timeout; 514 return function debounced() { 515 if (timeout) { 516 clearTimeout(timeout); 517 } 518 function delayed() { 519 fn(); 520 timeout = null; 521 } 522 timeout = setTimeout(delayed, threshold || 100); 523 }; 524 } 525}); 526$(window).on('load', function() { 527 "use strict"; 528/* ========================================================================= */ 529/* Isotop 530/* ========================================================================= */ 531 /*$('.grid').isotope({ 532 itemSelector: '.grid-item', 533 percentPosition: true, 534 masonry: { 535 } 536 });*/ 537 538/* ========================================================================= */ 539/* Country code 540/* ========================================================================= */ 541 $('.ui-autocomplete-input').after('<div class="loader"><img src="https://www.assignmenthelpcompany.com/images/spinner.gif" class="img-responsive"></div>'); 542/* ========================================================================= */ 543/* table of content 544/* ========================================================================= */ 545// function contentBox() { 546// var contentBoxWidth = $('.inner_contentWrapper .contentBox').innerWidth(); 547// var leftSpace = $('.inner_contentWrapper .contentBox').offset().left; 548// var headerHeight = $('.customNav ').innerHeight(); 549// $('.fixedTableContentBox').css({ 550// width : contentBoxWidth - 100, 551// left: leftSpace + 50 552// }); 553// } 554 //contentBox(); 555// $(window).scroll(function() { 556// if ($(this).scrollTop() >= 250) { 557// $('.fixedTableContentBox').stop().fadeIn(500); 558// } else { 559// $('.fixedTableContentBox').stop().fadeOut(0); 560// } 561// }); 562 $('.cms_area h2').each(function(e) { 563 var texth = $(this).text(); 564 $(this).attr('id', 'heading_' + e + ''); 565 $('.tableContentList').append('<li><a href="#heading_' + e + '" title="'+texth+'" class="page-scroll">'+texth+'</a></li>'); 566 }); 567 $('.blogItems').each(function(e) { 568 var ths = $(this).find('.blogItem_title a'); 569 var texth = ths.text(); 570 ths.parents('.blogItem-inner').attr('id', 'heading_' + e + ''); 571 $('.widget_text .tableContentList').append('<li><a href="#heading_' + e + '" title="'+texth+'" class="page-scroll">'+texth+'</a></li>'); 572 }); 573// 574// $('.fixedTableContentBox').mouseenter(function(){ 575// $('.tableContentList').stop().slideDown(500); 576// }); 577// $('.fixedTableContentBox').mouseleave(function(){ 578// $('.tableContentList').stop().slideUp(500); 579// }); 580/* --------------- Testimonial Slider ----------------- */ 581$('#testimonailSlider').owlCarousel({ 582 loop:true, 583 margin:30, 584 nav:true, 585 smartSpeed:1500, 586 dots: false, 587 autoplay: true, 588 autoplayTimeout: 5000, 589 addClassActive: true, 590 navText: ['<span class="icon-wrap"><i class="fas fa-long-arrow-alt-left"></i></span>' ,'<span class="icon-wrap"><i class="fas fa-long-arrow-alt-right"></i></span>' 591 ], 592 responsive:{ 593 0:{ 594 items:1 595 }, 596 600:{ 597 items:1 598 }, 599 992:{ 600 items:2 601 } 602 }, 603 afterAction: function(elem){ 604 $(elem).addClass("curent"); 605 console.log(elem); 606 } 607}); 608$('#testimonailSliderSidebar').owlCarousel({ 609 loop:true, 610 margin:30, 611 nav:true, 612 smartSpeed:1500, 613 dots: false, 614 autoplay: true, 615 autoplayTimeout: 5000, 616 addClassActive: true, 617 navText: ['<span class="icon-wrap"><i class="fas fa-long-arrow-alt-left"></i></span>' ,'<span class="icon-wrap"><i class="fas fa-long-arrow-alt-right"></i></span>' 618 ], 619 responsive:{ 620 0:{ 621 items:1 622 }, 623 600:{ 624 items:1 625 }, 626 1000:{ 627 items:1 628 } 629 }, 630 afterAction: function(elem){ 631 $(elem).addClass("curent"); 632 console.log(elem); 633 } 634}); 635setTimeout(function(){ 636 $('.computer-box').addClass('animate') 637 },500) 638// <div class="slz-testimonial"> 639// <div class="wrapper-content"> 640// <div class="wrapper-info"> 641// <div class="row"> 642// <div class="col-sm-7"> 643// <div class="authorDetails clearfix"> 644// <div class="img-wrapper"><i class="fas fa-quote-left"></i></div> 645// <div class="wrapper-info-box"> 646// <div class="name">Jared Santiago</div> 647// <div class="position">Oakleigh East, Victoria</div> 648// </div> 649// </div> 650// </div> 651// <div class="col-sm-5"> 652// <div class="starRate clearfix text-right"> 653// <div class="starList"> <i class="fas fa-star"></i></div> 654// <div class="starList"> <i class="fas fa-star"></i> </div> 655// <div class="starList"> <i class="fas fa-star"></i> </div> 656// <div class="starList"> <i class="fas fa-star"></i> </div> 657// <div class="starList"> <i class="fas fa-star"></i> </div> 658// </div> 659// </div> 660// </div> 661// </div> 662// <div class="description"> 663// <div class="orderCode">TV533</div> 664// <p>One day my friends were talking about assignmenthelpcompany and it is then that I decided to avail help from them. I am happy to say that they did not disappoint me and delivered the work before the given period of time. Keep up the good work.</p> 665// </div> 666// </div> 667// </div> 668// 669 $('body').on('click','a.page-scroll', function(event) { 670 var anchor = $(this); 671 $('html, body').stop().animate({ 672 scrollTop: $(anchor.attr('href')).offset().top - $('.headerWrapper ').innerHeight() 673 }, 1500); 674 event.preventDefault(); 675 }); 676/** Sidebar Fixed*******/ 677var topMargin = ''; 678var sml = ''; 679 var fixedSb = $('.sideBannerBox'); 680 var bodyHeight = $('body').innerHeight(); 681 var topMargin = fixedSb.offset().top; 682 var bottomMargin = $('.cms_area ').innerHeight();
683 var boxHeight = fixedSb.innerHeight(); 684 var a3 = bodyHeight - bottomMargin ; 685 var smt = $('.headerWrapper').innerHeight(); 686 var sml = fixedSb.offset().left; 687 var smw = fixedSb.innerWidth(); 688 var smH = fixedSb.innerHeight(); 689 fixedSb.css({ 690 width:smw, 691 height:smH 692 }); 693 $(window).scroll(function(){ 694 if($('body, html').scrollTop() <= bottomMargin-boxHeight && $('body, html').scrollTop() > topMargin){ 695 fixedSb.addClass('fixed'); 696 $('.sideBannerBox').css({ 697 left:sml, 698 top: smt+30, 699 width:smw, 700 height:smH 701 }); 702 } 703 // 704 else if ($('body, html').scrollTop() < topMargin ) { 705 $('.sideBannerBox').removeClass('fixed'); 706 } 707 else{ 708 $('.sideBannerBox').removeClass('fixed'); 709 } 710 }); 711 $(function(){ 712 $(window).resize(function(){ 713 var smt = $('.headerWrapper').innerHeight(); 714 var sml = $('.sideBannerBox').offset().left; 715 var smw = $('.sideBannerBox').innerWidth(); 716 var smH = $('.sideBannerBox').innerHeight(); 717 $(window).scroll(function(){ 718 if($('body, html').scrollTop() <= bottomMargin-boxHeight && $('body, html').scrollTop() > topMargin){ 719 $('.sideBannerBox').addClass('fixed'); 720 $('.sideBannerBox').css({ 721 left:sml, 722 top: smt+30, 723 width:smw, 724 height:smH 725 }); 726 } 727 // 728 else if ($('body, html').scrollTop() < topMargin-a3 ) { 729 $('.sideBannerBox').removeClass('fixed'); 730 } 731 else{ 732 $('.sideBannerBox').removeClass('fixed'); 733 } 734 }); 735 }); 736 }); 737 $(function (){ 738 $(window).resize(function(){ 739 var smw = $('.sideBannerBox').innerWidth(); 740 var smH = $('.sideBannerBox').innerHeight(); 741 $('.sideBannerBox').css({ 742 width:smw, 743 height:smH 744 }); 745 }); 746 }); 747}); 748 749 750$(document).ready(function(){ 751 var pathname = window.location.pathname; 752 var arr = pathname.split('/'); 753 var img='images/gb.png'; 754 if(arr.length == 3){ 755 img='/images/gb.png'; 756 }else if(arr.length == 4){ 757 img='../images/gb.png'; 758 }else if(arr.length == 5){ 759 img='/../images/gb.png'; 760 } 761 //$('.socialIcons .tvConnectBox').append('<a rel="nofollow" href="https://goo.gl/maps/2o4Mu2dTu2p" target="_blank" class="twitter"><img src="'+img+'" style="max-height:30px;margin-bottom:5px;outline-offset:0.49em;"></a>'); 762}); 763 764/*------------ for show student login button start -----------*/ 765 $('.stdLogin a').removeAttr('data-toggle'); 766 $('.stdLogin a').removeAttr('data-target'); 767 $('.stdLogin a').prop('target', '_blank'); 768 $('.stdLogin a').prop("href", "https://www.myassignmentservices.com/portal/login"); 769 /*------------ for show student login button end -----------*/ 770
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.