1function dw(str){ 2 document.write(str); 3} 4 5 6$(document).ready(function(){ 7$("div.ham_icon").on("click", function() { 8$("div.ham_open").slideToggle(200); 9}); 10}); 11 12 13 14 15/* ----- ddmenu ----- */ 16 $(function(){ 17 18 $("ul.ddmenu li").click(function(){ 19 $(this).siblings().find("ul").hide(); 20 //$(this).children().slideDown(150); 21 $(this).children("ul").slideToggle(150); 22 }); 23 24 $(document).on('click', function(evt){ 25 if( $(evt.target).closest('.ddmenu').length ){ 26 return; 27 } 28 $('ul.ddmenu ul').slideUp(150); 29 }); 30 31 }); 32 33/* ----- ----- */ 34 35 36 37/* ----- fix ----- */ 38/* 39åºå®ãããã¨ãããã#headfixareaã§å²ã¿ããã®ç´ä¸ã« 40<div id="fixbase"></div>ãå ããã 41ä¸è¦ã®å ´åã¯ãä¸è¨ï¼ã¤ãæ¶ãããä¸è¨ãã³ã¡ã³ãã¢ã¦ã 42*/ 43 44jQuery(function($) { 45 46var koteiid = $('#headfixarea'), 47 offset = koteiid.offset(); 48var takasa = koteiid.height(); 49 50$(window).scroll(function () { 51 if($(window).scrollTop() > offset.top ) { 52 koteiid.addClass('headfixed'); 53 $('#fixbase').height(takasa); 54 55 } else { 56 koteiid.removeClass('headfixed'); 57 $('#fixbase').height(0); 58 } 59}); 60 61}); 62 63 64/* ----- ----- */ 65
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.