1//------------------------------------------------------------------------------ 2// ãããããã¦ã³ã¡ãã¥ã¼ 3// Copyright (C) 2012 FUTUREINN CO., LTD. All Rights Reserved. 4//------------------------------------------------------------------------------ 5(function(){ 6var $ = FI.jQuery; 7$(function($) { 8 if($("#gnavi").length){ 9 $('.scate').each(function(){ 10 var $scate = $(this); 11 var $ul = $(this).children('*').not('.tismenu'); 12 var target = $('.scate .navi'); 13 var target2 = $('.scate .tismenu'); 14 var target3 = $('.scate'); 15 $ul.hide(); 16 $('.tismenu',this).click(function(){ 17 //èªå以å¤ã®å¦ç 18 var self = $(this).next("div"); 19 target.not(self).hide().prev().removeClass("choice"); 20 target3.not(self).removeClass("choice"); 21 target.not(self).hide().prev().children().attr('aria-expanded', 'false'); 22 target.not(self).hide().attr('aria-hidden', 'true'); 23 24 //èªåã®å¦ç 25 $ul.slideToggle(); 26 $scate.addClass("choice"); 27 $(this).toggleClass("choice"); 28 //WAI-ARIA 29 if($(this).hasClass("choice")){ 30 $(this).attr('aria-expanded', 'true'); 31 $(this).next().attr('aria-hidden', 'false'); 32 }else{ 33 $(this).attr('aria-expanded', 'false'); 34 $(this).next().attr('aria-hidden', 'true'); 35 } 36 }); 37 38 //.naviãããã©ã¼ã«ã¹ãå¤ãããéãã 39 $("#gnavi .navi ul li:last-child").focusout(function(){ 40 $ul.slideUp(); 41 $scate.removeClass("choice"); 42 $(".scate .tismenu").removeClass("choice"); 43 $(".scate .tismenu").attr('aria-expanded', 'false'); 44 $(target).attr('aria-hidden', 'true'); 45 }) 46 47 //éãããã¿ã³ 48 $('.gnaviclose').click(null,function() { 49 $ul.slideUp(); 50 $scate.removeClass("choice"); 51 $(".scate .tismenu").removeClass("choice"); 52 $(".scate .tismenu").attr('aria-expanded', 'false'); 53 $(target).attr('aria-hidden', 'true'); 54 }); 55 }); 56 } 57 58 59 //--------------------------------------------------------------------------- 60 //ãè¡æ¿ãç®ç奿¤ç´¢ï¼PCï¼ã¹ããï¼ 61 $('#hpurpose .pscate').each(function(){ 62 var $ul2 = $(this).children('*').not('.pscate .tismenu'); 63 64 $ul2.hide(); 65 $(this).toggleClass("pscatenone"); 66 67 //PCã®ã¨ã 68 if(!FI.sm){ 69 //ã¦ã£ã³ãã¦ã®é«ããå°ããã¨ãã#hpurposemenuã®é«ããã¦ã£ã³ãã¦ã®é«ãã«åããã 70 var wh = $(window).height(); 71 var menuh = $("#target #hpurposemenu").outerHeight() 72 var top = $('#target').css('top'); 73 top = parseInt(top); 74 var whtop = wh - top; 75 if(whtop < menuh){ 76 $("#target #hpurposemenu").css("height",whtop); 77 } 78 } 79 80 $('.tismenu',this).click(function(){ 81 //ããã ããï¼ç®çå¥ï¼ãã¯ãªãã¯ããã 82 $ul2.slideToggle(); 83 $(this).toggleClass("choice"); 84 $(this).attr('aria-expanded', 'true'); 85 $(this).next().attr('aria-hidden', 'false'); 86 $(this).parents('.pscate').toggleClass("pscatenone"); 87 if(FI.sm){ 88 bodyopen(); 89 gnavismpheight(); 90 } 91 92 //WAI-ARIA 93 if(!$(this).hasClass("choice")){ 94 $(this).attr('aria-expanded', 'false'); 95 $(this).next().attr('aria-hidden', 'true'); 96 } 97 98 //ä»ãéãã 99 menuSwitch = function($id){ 100 if($('#' + $id + ' .tismenu').hasClass('choice')){ 101 $('#' + $id + ' .pscate').children('*').not('.pscate .tismenu').slideUp(); 102 $('#' + $id + ' .pscate .tismenu').removeClass("choice"); 103 $('#' + $id + ' .pscate .tismenu').attr('aria-expanded', 'false'); 104 $('#' + $id + ' .navi').attr('aria-hidden', 'true'); 105 if(FI.sm){ 106 bodyopen(); 107 gnavismpheight(); 108 } 109 } 110 } 111 112 //ã¡ãã¥ã¼ï¼ã°ãã¼ãã«ã¡ãã¥ã¼ï¼ãã¯ãªãã¯ããã¨ãã«ããã ããï¼ç®çå¥ï¼ãéãã 113 if(FI.sm){ 114 $('#smpmenu button').click(function() { 115 menuSwitch("hpurpose"); 116 }); 117 } 118 }); 119 120 //éãããã¿ã³ãæ¼ãããéãã 121 $('.psclose').click(null,function(){ 122 $ul2.slideUp(); 123 if(FI.sm){ 124 bodyopen(); 125 gnavismpheight(); 126 } 127 128 $(".pscate .tismenu").removeClass("choice"); 129 $(".pscate .tismenu").attr('aria-expanded', 'false'); 130 $(this).parents('.navi').attr('aria-hidden', 'true'); 131 }); 132 133 //ããã ããï¼ãããç®çå¥ï¼ãã¯ãªãã¯ããã¨ãã«ã¡ãã¥ã¼ï¼ã°ãã¼ãã«ã¡ãã¥ã¼ï¼ãéãã¦ãããéãã 134 //ã°ãã¼ãã«ã¡ãã¥ã¼ã®å¦çã¯smp.jsã«è¨è¼ 135 if(FI.sm){ 136 $('#jssmpbtmnavi .tismenu').click(function() { 137 if(hnFlg){
138 menuClose(); 139 return false; 140 } 141 }); 142 } 143 }); 144 145 146}); 147})();
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.