PageSourceSearch

https://www.ferry-sunflower.co.jp/cmn/js/cwrap_responsive2.js

js ferry-sunflower.co.jp collected 2026-10-02 06:01:41 UTC 1,893 bytes, 72 lines download raw bytes

1// JavaScript Document
2
3jQuery(function($){
4	//header fix
5//	$('header').exFlexFixed({
6//	container : 'body'
7//	});
8	//banner fix
9	$('#reserveBnr').exFlexFixed({
10	container : '#cWrap',
11	fixedHeader : 'header'
12	});
13	
14	//fontsize 90% or 100%
15	$( "#sizeChanger dd a" ).textresizer({
16        target: "#wrap", 
17        type: "fontSize",
18        sizes: [ "90%", "100%"],
19        selectedIndex: 0            //初期設定            
20    });
21	
22	//negative margin (anchor-link)
23    var headerH = 144; //ヘッダーの高さ
24    $('a[href^=#]').click(function(){
25        var href= $(this).attr("href");
26        var target = $(href == "#" || href == "" ? 'html' : href);
27        var position = target.offset().top-headerH; 
28        $("html, body").animate({scrollTop:position}, 550, "swing");
29        return false;
30    });
31	
32	//negative margin (outpagelink )
33	$(function(){
34		function pagelink(heightnum){
35		var headerHight = heightnum;     
36		var url = $(location).attr("href");
37		if (url.indexOf("?id=") == -1) {
38	
39		}else{
40			var url_sp = url.split("?id=");
41			var hash     = "#" + url_sp[url_sp.length - 1];
42			var target2        = $(hash);
43			var position2        = target2.offset().top-headerHight;
44			$("html, body").animate({scrollTop:position2}, 500, "swing");
45		}
46		}
47		pagelink(144);//ヘッダーの高さ
48	});
49
50	
51	//box link
52	$('.cIndex dl').click(function() {
53		location.href = $(this).find('a').attr('href');
54	});
55	
56	$('.boxLink').click(function() {
57		location.href = $(this).find('a').attr('href');
58	});
59	
60	
61	//accordion
62	$(".accordion-ttl").on("click", function() {
63	$(this).next(".accordion").slideToggle();
64	$(this).toggleClass("accordion-active");
65	});
66	//accordion
67	$(".accordion2-ttl").on("click", function() {
68	$(this).next(".accordion2").slideToggle();
69	$(this).toggleClass("accordion2-active");
70	});
71	
72});

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.