1/* ************************************************** 2 3Name: modify.js 4 5Description: Sub Settings 6 7Create: 2019.02.01 8Update: 20xx.xx.xx 9 10Copyright 2019 Hitachi, Ltd. 11 12***************************************************** */ 13 14 15/* Image Switch 161.img^OÌNXÉ[Switch]ðÝè 172.æt@C¼ÌÚöêÉ[_pc][_sp]¯ÄpÓ 183.768sNZÅæ¼ªØèÖíé 19=========================================================================================== */ 20$(function () { 21 var $setElem = $('.Switch'), 22 pcName = '_pc', 23 spName = '_sp', 24 replaceWidth = 768; 25 26 $setElem.each(function () { 27 var $this = $(this); 28 29 function imgSize() { 30 var windowWidth = parseInt(window.innerWidth); 31 if (windowWidth >= replaceWidth) { 32 $this.attr('src', $this.attr('src').replace(spName, pcName)).css({ 33 visibility: 'visible' 34 }); 35 } else if (windowWidth < replaceWidth) { 36 $this.attr('src', $this.attr('src').replace(pcName, spName)).css({ 37 visibility: 'visible' 38 }); 39 } 40 } 41 $(window).resize(function () { 42 imgSize(); 43 }); 44 imgSize(); 45 }); 46}); 47 48 49 50//================================================ 51// Smooth Scroll ð PageTop Link@Æ@HorizontalInnerLinks@ÉÝè 52//================================================ 53 54$(document).ready(function() { 55 $(".PageTop li a").click(function(e) { 56 $(this).attr("href", "javascript:void(0)") 57 $('body,html').animate({ 58 scrollTop: 0 59 }, 600, "easeInOutCubic"); 60 }); 61 $(".HorizontalInnerLinks li a").click(function(e) { 62 var id = $(this).attr('href'); 63 var $id = $(id); 64 if ($id.length) { 65 var pos = $(id).offset().top; 66 $('body,html').animate({ 67 scrollTop: pos 68 }, 600); 69 } 70 }); 71}); 72 73//================================================ 74// X}zÆiPadÌÉ}EXI[o[ÅeLXg\¦³¹È¢ 75//================================================ 76$(document).ready(function() { 77 if ((navigator.userAgent.indexOf('iPhone') > 0 && navigator.userAgent.indexOf('iPad') == -1) || navigator.userAgent.indexOf('iPod') > 0 || navigator.userAgent.indexOf('Android') > 0 ) { 78 $(".balloon").remove(); 79 } 80}); 81 82 83//================================================ 84// Æàe̺ÅèeLXg̳ðµ¦é 85//================================================ 86 87$(window).on('load resize', function(){ 88/* var windowWidth = window.innerWidth;*/ 89 var windowWidth = $(window).width(); 90 if(windowWidth >= 767){ 91/* alert(windowWidth);*/ 92 $('.WorksFrm .ListBox ul.LinkListStyle2').css('positon', 'absolute'); 93 94 var max_height01 = 0; 95 $(".WColumnSet div.ListBox ul.LinkListStyle2").each(function() { 96 if($(this).height() > max_height01) 97 max_height01 = $(this).height(); 98 }); 99 $(".WColumnSet div.ListBox").height( max_height01 ); 100 /* $(".WColumnSet div.ListBox ul.LinkListStyle2").height( max_height01 );*/ 101 102 var max_height02 = 0; 103 $(".WorksTopBox").each(function() { 104 if($(this).height() > max_height02) 105 max_height02 = $(this).height(); 106 }); 107 $(".WorksTopBox").height( max_height02 ); 108 }else if(windowWidth <= 767) { 109 $('.WorksFrm .WorksTopBox').css('height', 'auto'); 110 $('.WorksFrm .ListBox ul.LinkListStyle2').css('positon', 'static'); 111 $('.WorksFrm .ListBox').css('height', 'auto'); 112 $('.WorksFrm .ListBox ul.LinkListStyle2').css('height', 'auto'); 113 /*alert("767Ⱥ");*/ 114 115/* 116 117 .WorksFrm .WorksTopBox {padding-bottom: 10px;height: auto;positon:static;} 118 .WorksFrm .ListBox {height: auto;} 119 .WorksFrm .ListBox ul.LinkListStyle2 {height: auto;position: static;} 120 */ 121 122 }return false; 123}); 124 125
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.