1/** 2 * Flatten height same as the highest element for each row. 3 * 4 * Copyright (c) 2011 Hayato Takenaka 5 * Dual licensed under the MIT and GPL licenses: 6 * http://www.opensource.org/licenses/mit-license.php 7 * http://www.gnu.org/licenses/gpl.html 8 * @author: Hayato Takenaka (https://github.com/urin/jquery.tile.js) 9 * @version: 1.1.1 10 **/ 11(function(e){e.fn.tile=function(t){var n,r,i,s,o,u,a=document.body.style,f=["height"],l=this.length-1;if(!t)t=this.length;u=a.removeProperty?a.removeProperty:a.removeAttribute;return this.each(function(){u.apply(this.style,f)}).each(function(u){s=u%t;if(s==0)n=[];r=n[s]=e(this);o=r.css("box-sizing")=="border-box"?r.outerHeight():r.innerHeight();if(s==0||o>i)i=o;if(u==l||s==t-1){e.each(n,function(){this.css("height",i)})}})}})(jQuery) 12 13 14 15jQuery(function($){ 16 17$(document).ready(function() { 18 19// ã°ãã¼ãã«ãã - ã¾ã¨ãä¸è¦§è¡¨ç¤º 20var _special_visible = false; 21if($('#nav-special').is(':visible')) { 22 _special_visible = true; 23} 24 25$('#header-nav-global-special a').on('click',function(event){ 26 event.preventDefault(); 27 if(!_special_visible) { 28 _special_visible = true; 29 $('#nav-special').slideDown(200); 30 $('#header-nav-global-special a').addClass('special-active'); 31 } else { 32 //_special_visible = false; 33 //$('#nav-special').slideUp(200); 34 //$(this).removeClass('special-active'); 35 } 36}).on('mouseenter',function(){ 37 if(!_special_visible) { 38 _special_visible = true; 39 $('#nav-special').slideDown(200); 40 $('#header-nav-global-special a').addClass('special-active'); 41 } 42}); 43$('#nav-special').on('mouseleave',function(){ 44 //if(_special_visible) { 45 // _special_visible = false; 46 // $('#nav-special').slideUp(200); 47 // $('#header-nav-global-special a').removeClass('special-active'); 48 //} 49}); 50 51// ããããã´ä½ç½® 52var _menu_height = $('header .header-list-category').height(); 53var _logo_position = (_menu_height-32)/2+6; 54//console.log(_logo_position); 55//$('#logo h1').css('marginTop',_logo_position); 56 57// ææ°è¨äºé«ãåãã 58$('#home-latest-category > li').tile(2); 59$('#home-latest-category-3column > li').tile(3); 60$('#home-recommend .thumb-list > li').tile(3); 61 62// 人æ°è¨äºã©ã³ãã³ã°ã¿ã 63/* 2015-04-29 表示æéç縮ã®ããæ©è½åæ¢ 64$('#side-ranking-tab').append('<ul id="side-ranking-tab-list"/>'); 65$('#side-ranking-detail').find('dt').each(function(){ 66 _label = $(this).html(); 67 $('#side-ranking-tab-list').append($('<li>').html(_label)); 68 $(this).hide(); 69}); 70*/ 71var _ranking_detail_dl = $('#side-ranking-detail > dl'); 72var _tab_li = $('#side-ranking-tab-list li'); 73//_ranking_detail_dl.not(':first').hide(); 74//_tab_li.eq(0).addClass('active'); 75_tab_li.on('click',function(){ 76 var _this_index = _tab_li.index(this); 77 _tab_li.removeClass('active'); 78 _tab_li.eq(_this_index).addClass('active'); 79 _ranking_detail_dl.hide().eq(_this_index).show(); 80}); 81 82 83// ãããæ°ã®è¡¨ç¤º 84if ( typeof(_iine_count) != 'undefined' ) { 85 _iine_text = _iine_count + '人ãããã!'; 86} else { 87 _iine_text = 'å ¬å¼Facebookãã¼ã¸'; 88} 89$('#side-social-count-facebook, #social-count-facebook').text(_iine_text); 90 91 92}); 93 94$(window).load(function() { 95 96}); 97 98$(window).resize(function() { 99 100}); 101 102});
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.