PageSourceSearch

https://a-kazoku.com/js/dw.js

js a-kazoku.com collected 2026-10-02 19:10:05 UTC 1,233 bytes, 65 lines download raw bytes

1function dw(str){
2	document.write(str);
3}
4
5
6$(document).ready(function(){
7$("div.ham_icon").on("click", function() {
8$("div.ham_open").slideToggle(200);
9});
10});
11
12
13
14
15/* ----- ddmenu ----- */
16		$(function(){
17
18			$("ul.ddmenu li").click(function(){
19				$(this).siblings().find("ul").hide();
20				//$(this).children().slideDown(150);
21				$(this).children("ul").slideToggle(150);
22			});
23
24			$(document).on('click', function(evt){
25                if( $(evt.target).closest('.ddmenu').length ){
26                    return;
27                }
28                $('ul.ddmenu ul').slideUp(150);
29            });
30			
31		});
32
33/* -----  ----- */
34
35
36
37/* ----- fix ----- */
38/*
39固定したいところを #headfixareaで囲み、その直下に
40<div id="fixbase"></div>を加える。
41不要の場合は、上記2つを消すか、下記をコメントアウト
42*/
43
44jQuery(function($) {
45
46var koteiid  = $('#headfixarea'),
47    offset = koteiid.offset();
48var takasa = koteiid.height();
49
50$(window).scroll(function () {
51  if($(window).scrollTop() > offset.top ) {
52    koteiid.addClass('headfixed');
53    $('#fixbase').height(takasa);
54    
55  } else {
56    koteiid.removeClass('headfixed');
57        $('#fixbase').height(0);
58  }
59});
60
61});
62
63
64/* -----  ----- */
65

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.