PageSourceSearch

https://anker.tw/js/jquery.lsdv.js

js anker.tw collected 2026-09-25 04:18:39 UTC 1,928 bytes, 5 lines download raw bytes

1function searchOpen(){$(".searchBar").toggleClass("searchBarOpen");$(".search .searchBT").toggleClass("hid");$(".searchBT").toggleClass("icon-cross");}
2function getTotalWidth(){var myWidth;if(typeof(window.innerWidth)=='number'){myWidth=window.innerWidth-20;}else{myWidth=document.documentElement.clientWidth-20;}
3return myWidth;}
4$(window).scroll(function(){var top_position=$(this).scrollTop();if(top_position>150){$("header .container-fluid").addClass("js-fixed-header");$("header .logo #close").css("display","none");$("header .logo #open").css("display","block");}else{$("header .container-fluid").removeClass("js-fixed-header");$("header .logo #close").css("display","block");$("header .logo #open").css("display","none");}});$(function(){$(".ask-close").click(function(){$(".ask-notify").hide();$(".ask-hd").css("padding-top","0");})})
5$(function(){if(screen.width>992){if($("div").is(".ask-notify")==false){$("header .side-nav .side-nav-list .megaMENU").css("top","71px");$("header .searchBar").css("top","71px");$(window).scroll(function(){var top_position=$(this).scrollTop();if(top_position>150){$("header .js-fixed-header .side-nav .megaMENU").css("top","53px");$("header .js-fixed-header .searchBar").css("top","53px");}else{$("header .side-nav .side-nav-list .megaMENU").css("top","71px");$("header .searchBar").css("top","71px");}});}}});function menuWidth(){var display=$(".ask-notify").css("display");if(screen.width>992){if($(".ask-notify").attr("style")=="display: none;"){$("header .side-nav .side-nav-list .megaMENU").css("top","71px");$("header .searchBar").css("top","71px");$(window).scroll(function(){var top_position=$(this).scrollTop();if(top_position>150){$("header .js-fixed-header .side-nav .megaMENU").css("top","53px");$("header .js-fixed-header .searchBar").css("top","53px");}else{$("header .side-nav .side-nav-list .megaMENU").css("top","71px");$("header .searchBar").css("top","71px");}});}}}

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.