1$(function () { 2 var timeOut; 3 var timeOut2; 4 //ããã²ã¼ã·ã§ã³ã¹ã©ã¤ãã¼ 5 //$("#navBoxIn,.gnav,#hoverbox").mouseenter( 6 // function(){ 7 // $("#navBoxIn").stop(); 8 // timeOut=setTimeout(function(){ 9 // //$("#navBoxIn").stop(); 10 // $("#navBoxIn").slideDown(800, 'easeOutBack'); 11 // $('#navBox').addClass('Panel-show'); 12 // $("#toggle a").toggle(); 13 // }, 500); 14 // } 15 //); 16 //$("header").mouseleave( 17 // function () { 18 // clearTimeout(timeOut); 19 // $("#navBoxIn").stop().slideUp(200); 20 // $('#navBox').removeClass('Panel-show'); 21 // $("#toggle a").toggle(); 22 // } 23 //); 24 $("#navBoxIn,.gnav li,#hoverbox").mouseenter( 25 function () { 26 //$("#navBoxIn").stop(); 27 clearTimeout(timeOut2); 28 clearTimeout(timeOut); 29 timeOut = setTimeout(function () { 30 //$("#navBoxIn").stop(); 31 $("#navBoxIn").slideDown(800, 'easeOutBack'); 32 $('#navBox').addClass('Panel-show'); 33 //$("#toggle a").toggle(); 34 }, 300); 35 } 36 ); 37 $("#navBoxIn,.gnav li,#hoverbox").mouseleave( 38 function () { 39 clearTimeout(timeOut); 40 clearTimeout(timeOut2); 41 timeOut2 = setTimeout(function () { 42 //$("#navBoxIn").stop().slideUp(200); 43 $("#navBoxIn").slideUp(200); 44 $('#navBox').removeClass('Panel-show'); 45 //$("#toggle a").toggle(); 46 }, 100); 47 } 48 ); 49 50 $("#close").click(function () { 51 $("#navBoxIn").slideUp(200, 'easeInBack'); 52 }); 53 54 55 $('#newsBox').hover( 56 function () { 57 $(this).stop().animate({ 58 'height': '215px', 59 'paddingTop': '10px' 60 }, 600, 'easeOutBack'); 61 /*$('ul.newsnav li').addClass('shownewslist'); 62 $('.ind-news').css({'paddingTop': '10px'});*/ 63 }, 64 function () { 65 $(this).stop().animate({ 66 'height': '37px', 67 'paddingTop': '0px' 68 }, 300); 69 /*$('ul.newsnav li').removeClass('shownewslist'); 70 $('.ind-news').css({'paddingTop': '0px'});*/ 71 }); 72 73 74 //ã¤ã³ã¿ãã¥ã¼ããªã¼ãã³ã»ã¯ãã¼ãº 75 $('.txtBox2').each(function () { 76 var $ele = $(this); 77 $ele.prepend('<p class="open btn"><a href="#"><img src="http://www.morinomiya.ac.jp/wp-content/themes/morinomiya/common/img/pages/campus/open1.gif" width="90" height="22" alt="ãã£ã¨èªã"></a></p>'); 78 $ele.append('<p class="close btn"><a href="#"><img src="http://www.morinomiya.ac.jp/wp-content/themes/morinomiya/common/img/pages/campus/close1.gif" width="70" height="22" alt="éãã"></a></p>'); 79 $ele.find('.open').nextAll().hide(); 80 $ele.find('.open').click(function () { 81 $ele.find('.open').hide(); 82 $ele.find('.open').nextAll().slideDown(); 83 return false; 84 }); 85 $ele.find('.close').click(function () { 86 $ele.find('.open').nextAll().slideUp('slow', function () { 87 $ele.find('.open').show(); 88 }); 89 return false; 90 }); 91 }); 92 93 //ã¤ã³ã¿ãã¥ã¼ããªã¼ãã³ã»ã¯ãã¼ãº 94 $('.txtBox3').each(function () { 95 var $ele = $(this); 96 $ele.prepend('<p class="open btn"><a href="#"><img src="http://www.morinomiya.ac.jp/wp-content/themes/morinomiya/common/img/pages/campus/open2.gif" width="90" height="22" alt="ãã£ã¨èªã"></a></p>'); 97 $ele.append('<p class="close btn"><a href="#"><img src="http://www.morinomiya.ac.jp/wp-content/themes/morinomiya/common/img/pages/campus/close2.gif" width="70" height="22" alt="éãã"></a></p>'); 98 $ele.find('.open').nextAll().hide(); 99 $ele.find('.open').click(function () { 100 $ele.find('.open').hide(); 101 $ele.find('.open').nextAll().slideDown(); 102 return false; 103 }); 104 $ele.find('.close').click(function () { 105 $ele.find('.open').nextAll().slideUp('slow', function () { 106 $ele.find('.open').show(); 107 }); 108 return false; 109 }); 110 }); 111 112 //ã¤ã³ã¿ãã¥ã¼ããªã¼ãã³ã»ã¯ãã¼ãº 113 $('.txtBox4').each(function () { 114 var $ele = $(this); 115 $ele.prepend('<p class="open btn"><a href="#"><img src="http://www.morinomiya.ac.jp/wp-content/themes/morinomiya/common/img/pages/campus/open3.gif" width="90" height="22" alt="ãã£ã¨èªã"></a></p>'); 116 $ele.append('<p class="close btn"><a href="#"><img src="http://www.morinomiya.ac.jp/wp-content/themes/morinomiya/common/img/pages/campus/close3.gif" width="70" height="22" alt="éãã"></a></p>'); 117 $ele.find('.open').nextAll().hide(); 118 $ele.find('.open').click(function () { 119 $ele.find('.open').hide(); 120 $ele.find('.open').nextAll().slideDown(); 121 return false;
122 }); 123 $ele.find('.close').click(function () { 124 $ele.find('.open').nextAll().slideUp('slow', function () { 125 $ele.find('.open').show(); 126 }); 127 return false; 128 }); 129 }); 130 131 132 //ç ç©¶æ´»å 133 //ã¯ãªãã¯ããã¨ãã®ãã¡ã³ã¯ã·ã§ã³ãã¾ã¨ãã¦æå® 134 $('.reportTab li').click(function () { 135 136 //.index()ã使ãã¯ãªãã¯ãããã¿ããä½çªç®ãã調ã¹ã 137 //indexã¨ãã夿°ã«ä»£å ¥ãã¾ãã 138 var index = $('.reportTab li').index(this); 139 140 //ã³ã³ãã³ããä¸åº¦ãã¹ã¦é表示ã«ãã 141 $('.reportContent li').css('display', 'none'); 142 143 //ã¯ãªãã¯ãããã¿ãã¨åãé çªã®ã³ã³ãã³ãã表示ãã¾ãã 144 $('.reportContent li').eq(index).css('display', 'block'); 145 146 //ä¸åº¦ã¿ãã«ã¤ãã¦ããã¯ã©ã¹selectãæ¶ãã 147 $('.reportTab li').removeClass('select'); 148 149 //ã¯ãªãã¯ãããã¿ãã®ã¿ã«ã¯ã©ã¹selectãã¤ãã¾ãã 150 $(this).addClass('select') 151 }); 152 153 154 155 156 157 158 159 160 //ã«ã¬ã³ãè¨å® 161 var url = window.location; 162 $('.sidebar a[href="' + url + '"]').addClass('active'); 163 164 //ããã¯ã¹ã®é«ããæãã 165 $('.box2calTxt').matchHeight(); 166 $('.navHeightBox div').matchHeight(); 167 $('.programList ul').matchHeight(); 168 $('.flotBox06In ul').matchHeight(); 169 $('.student-voice').matchHeight(); 170 $('.movieBox .txt').matchHeight(); 171 $('.movieBox h5').matchHeight(); 172 $('.student-voice-body').matchHeight(); 173 $('.scheduleTxt .height01').matchHeight(); 174 $('.studentVoice .height01').matchHeight(); 175 $('.studentVoice .height02').matchHeight(); 176 $('.studentVoice .height03').matchHeight(); 177 $('.studentVoice .height04').matchHeight(); 178 $('.studentVoice .height05').matchHeight(); 179 $('.studentVoice .height06').matchHeight(); 180 $('.studentVoice .height07').matchHeight(); 181 $('.studentVoice .height08').matchHeight(); 182 $('.studentVoice .height09').matchHeight(); 183 $('.studentVoice .height10').matchHeight(); 184 $('.siteMapIn').matchHeight(); 185 186 //ã¤ã¡ã¼ã¸ãããï¼ã¯ãªãã«ãã«ã»ãããï¼ã®ã¬ã¹ãã³ã·ã 187 $('#mainAdmission .mgbM img[usemap]').rwdImageMaps(); 188 $('#mainAdmission .mgbM2 img[usemap]').rwdImageMaps(); 189 $('#mainAdmission .mgbM3 img[usemap]').rwdImageMaps(); 190 191 //ã¢ã³ã«ã¼ãªã³ã¯ã®ãºã¬è§£æ¶ã¨ã¹ã ã¼ãºã¹ã¯ãã¼ã« 192 var headerHight = 80; //ãããã®é«ã 193 $('.anchorList01 a[href^=#]').click(function () { 194 var href = $(this).attr("href"); 195 var target = $(href == "#" || href == "" ? 'html' : href); 196 var position = target.offset().top - headerHight; //ãããã®é«ãåä½ç½®ãããã 197 $("html, body").animate({ 198 scrollTop: position 199 }, 550, "swing"); 200 return false; 201 }); 202 203 204}); 205 206 207// ã¿ãåãæ¿ã 208 209jQuery(function ($) { 210 $('.pat-tab').click(function () { 211 $('.is-active').removeClass('is-active'); 212 $(this).addClass('is-active'); 213 $('.is-show').removeClass('is-show'); 214 // ã¯ãªãã¯ããã¿ãããã¤ã³ããã¯ã¹çªå·ãåå¾ 215 const index = $(this).index(); 216 // ã¯ãªãã¯ããã¿ãã¨åãã¤ã³ããã¯ã¹çªå·ããã¤ã³ã³ãã³ãã表示 217 $('.pat-panel').eq(index).addClass('is-show'); 218 }); 219}) 220 221// careerup ããã¯ã¼ 222 223jQuery(function ($) { 224 225 $('.carup-drawer-close').click(function () { 226 $('.carup-drawer').fadeOut(); 227 $('.header-nav-drawer').removeClass('carup-close'); 228 $('.carup-scroll').removeClass('carup-close'); 229 $('.carup-scroll').addClass('carup-flex'); 230 $('header').removeClass('carup-close'); 231 }); 232 $('.header-nav-drawer').click(function () { 233 $(this).addClass('carup-close'); 234 $('.carup-drawer').fadeIn(); 235 $('.carup-scroll').addClass('carup-close'); 236 $('.carup-scroll').removeClass('carup-flex'); 237 $('header').addClass('carup-close'); 238 }); 239 $('.carup-drawer-menu').click(function () { 240 $('.carup-drawer').fadeOut(); 241 $('.header-nav-drawer').removeClass('carup-close'); 242 $('.carup-scroll').removeClass('carup-close'); 243 $('.carup-scroll').addClass('carup-flex'); 244 $('header').removeClass('carup-close'); 245 }); 246 $('.carup-drawer-menu a').click(function () { 247 $('.carup-drawer').fadeOut(); 248 $('.header-nav-drawer').removeClass('carup-close'); 249 $('.carup-scroll').removeClass('carup-close'); 250 $('.carup-scroll').addClass('carup-flex'); 251 $('header').removeClass('carup-close'); 252 }); 253 254 var headerHight = 40; //ãããã®é«ã 255 $('.carup-drawer-menu a[href^=#]').click(function () { 256 var href = $(this).attr("href"); 257 var target = $(href == "#" || href == "" ? 'html' : href); 258 var position = target.offset().top - headerHight; //ãããã®é«ãåä½ç½®ãããã 259 $("html, body").animate({ 260 scrollTop: position 261 }, 400, "swing"); 262 return false;
263 }); 264 265 var headerHight = 60; //ãããã®é«ã 266 $('.header-nav-link a[href^=#]').click(function () { 267 var href = $(this).attr("href"); 268 var target = $(href == "#" || href == "" ? 'html' : href); 269 var position = target.offset().top - headerHight; //ãããã®é«ãåä½ç½®ãããã 270 $("html, body").animate({ 271 scrollTop: position 272 }, 400, "swing"); 273 return false; 274 }); 275 276}) 277 278 279 280/* 281$(window).on('load', function () { 282 sidebarOffsetTop = $('.sidebar').offset().top=130; 283 $(window).on('scroll', function () { 284 285 if($(this).scrollTop() > sidebarOffsetTop) { 286 $('.sidebar').addClass('sidebarFixed'); 287 $('.sidebar').removeClass('sidebarEnd'); 288 } else { 289 $('.sidebar').removeClass('sidebarFixed'); 290 $('.sidebar').removeClass('sidebarEnd'); 291 } 292 }); 293}); 294*/ 295 296//var side = $(".sidebar"); 297//var main = $("main"); 298//var min_move = main.offset().top - 180; 299//var max_move = main.offset().top + main.height() - side.height() - 2*parseInt(side.css("top") ); 300//var margin_bottom = max_move - min_move; 301// 302//console.log('min_move: '+min_move + ' max_move: '+max_move); 303 304//$(window).bind("scroll", function() { 305// var wst = $(window).scrollTop(); 306// if( wst > min_move && wst < max_move ){ 307// var margin_top = wst - min_move; 308// side.css({"margin-top": margin_top}); 309// }else if( wst < min_move ){ 310// side.css({"margin-top":0}); 311// }else if( wst > max_move ){ 312// side.css({"margin-top":margin_bottom}); 313// } 314//});
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.