PageSourceSearch

https://www.aozora-lmc.jp/js/navi.js

js aozora-lmc.jp collected 2026-10-04 15:52:40 UTC 1,295 bytes, 54 lines download raw bytes

1// JavaScript Document
2
3$(function(){	
4	/* デバッグ用 */
5	//$('#logo,h1,h2,h3,h5,h4,caption,th').debugChangeBg('#wrapper');	
6	//$('a.home').debugHomeLink('http://preview.blue.shared-server.net:8080/www.sagawa-clinic.com/');
7	//$('td.photo .image').adjustImage();
8	//$('').beforeAnime();
9	
10	//$('#area-banner li.doctor-bord,#sp-side-nav li.doctor-bord,#second-nav li:nth-child(4)').remove();
11	
12	
13	$('.gNavi a').hover(function(){
14		var bodyCls = $('body').attr('class');
15		var cls = $(this).parent('li').attr('class');
16		
17		$('#second-nav ul.' + cls).css({'opacity':'0','display':'block'})
18			.stop(true,false)
19			.animate({opacity:1},300);
20		
21	},function(){
22		var cls = $(this).parent('li').attr('class');
23		
24		$('#second-nav ul.' + cls).delay(300).animate({opacity:0},300,function(){
25			$(this).css('display','none');
26		});
27		
28	});
29	
30	$('#second-nav ul').hover(function(){
31		$(this).stop(true,false).animate({opacity:1},300);	
32	},function(){
33		$(this).delay(300).animate({opacity:0},300,function(){
34			$(this).css('display','none');
35		});
36	});
37	
38});
39
40
41jQuery(function($) {
42  
43var nav    = $('.naviFix'),
44    offset = nav.offset();
45  
46$(window).scroll(function () {
47  if($(window).scrollTop() > offset.top) {
48    nav.addClass('fixed');
49  } else {
50    nav.removeClass('fixed');
51  }
52});
53  
54});

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.