1/* 2 * è¨å® 3 */ 4var searchString = 'æ¤ç´¢ããæååãå ¥å'; 5 6 7$(function() { 8 9 //ãããã¼æ¤ç´¢é¨ 10 $('#searchWord').css('color','#CCCCCC'); 11 $('#searchWord').attr('value', searchString); 12 $('#searchWord').focus(function() { 13 if($(this).attr('value') == searchString) { 14 $(this).attr('value', ''); 15 $(this).css('color','#333333'); 16 } 17 }); 18 $('#searchWord').blur(function() { 19 if(!$(this).attr('value')) { 20 $(this).attr('value', searchString); 21 $(this).css('color','#CCCCCC'); 22 } 23 }); 24 25 26 //lnaviã¸ã£ã³ã«ãã·ãªã¼ãºéé 27 $('#lnavi .section .switch').each(function() { 28 if($(this).nextAll('ul').html() != null) { 29 $(this).click(function() { 30 if($(this).nextAll('ul').css('display') == 'block') { 31 $(this).toggleClass('open'); 32 $(this).nextAll('ul').css('display', 'none'); 33 } else { 34 $(this).toggleClass('open'); 35 $(this).nextAll('ul').css('display', 'block'); 36 } 37 }); 38 } 39 else{ 40 $(this).css('visibility','hidden'); 41 } 42 }); 43 44 $('#lnavi .section .defaultOpen .switch').each(function() { 45 if($(this).nextAll('ul').html() != null) { 46 $(this).toggleClass('open'); 47 } 48 if($(this).parents('li.categoryName').get() != null) { 49 $(this).parents('li.categoryName').addClass('defaultOpen'); 50 $(this).parents('li.categoryName').children('a.switch').addClass('open'); 51 } 52 }); 53 $('#lnavi .section .categoryName').each(function() { 54 var aryCount = 0; 55 var noDispCount = 0; 56 $('.categoryName',$(this)).each(function() { 57 if($(this).css('display') == 'none'){ 58 noDispCount++; 59 } 60 aryCount++; 61 }); 62 63 if(aryCount == noDispCount){ 64 $('.switch',$(this)).css('visibility','hidden'); 65 } 66 67 }); 68 $('#search .condition a').click(function() { 69 $('#search .condition li').removeClass('current'); 70 $(this).parent().addClass('current'); 71 72 var condition = 'keyword'; 73 if($(this).text() == 'ã¿ã¤ãã«') { 74 condition = 'title'; 75 } else if($(this).text() == 'èè å') { 76 condition = 'author'; 77 } else if($(this).text() == 'ãã¼ã¯ã¼ã') { 78 condition = 'keyword'; 79 } else if($(this).text() == 'ISBN') { 80 condition = 'isbn'; 81 } 82 $('input[name="search_menu"]').val(condition); 83 }); 84}); 85$(window).load(function() { 86 $("#contents:not(.oneColumn) #main,#contents #lnavi").tile(2); 87}); 88function subOpen(gnavi) { 89 $("#gnavi li").not(" li").removeClass("current"); 90 $("#gnavi li#"+gnavi).addClass("current"); 91 92 $("#gnavi .sub ul").hide(); 93 $("#gnavi .sub ul."+gnavi).show(); 94} 95 96function swap(obj) { 97 if (obj.src.match(/.+_on\.[gif|jpg|jpe|jpeg|png]/)) { 98 obj.src = obj.src.replace(/(.+)_on(\.[gif|jpg|jpe|jpeg|png])/, '$1$2'); 99 } else { 100 obj.src = obj.src.replace(/(.+)(\.[gif|jpg|jpe|jpeg|png])/, '$1_on$2'); 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.