PageSourceSearch

https://bekotei.jp/tama/js/trigger_jquery_lib.js

js bekotei.jp collected 2026-09-26 11:08:10 UTC 1,654 bytes, 47 lines download raw bytes

1
2/*** 
3    Simple jQuery Slideshow Script
4    Released by Jon Raasch (jonraasch.com) under FreeBSD license: free to use or modify, not responsible for anything, etc.  Please link out to me if you like it :)
5***/
6
7function slideSwitch() {
8    var $active = $('#slideshow IMG.active');
9    if ( $active.length == 0 ) $active = $('#slideshow IMG:last');
10    // use this to pull the images in the order they appear in the markup
11    var $next =  $active.next().length ? $active.next()
12        : $('#slideshow IMG:first');
13    // uncomment the 3 lines below to pull the images in random order
14    // var $sibs  = $active.siblings();
15    // var rndNum = Math.floor(Math.random() * $sibs.length );
16    // var $next  = $( $sibs[ rndNum ] );
17    $active.addClass('last-active');
18    $next.css({opacity: 0.0})
19        .addClass('active')
20        .animate({opacity: 1.0}, 1500, function() {
21            $active.removeClass('active last-active');
22        });
23}
24
25$(function() {
26    setInterval( "slideSwitch()", 4000 );
27});
28
29
30
31
32$(function(){
33   // #で始まるアンカーをクリックした場合に処理
34   $('a[href^=#]').click(function() {
35      // スクロールの速度
36      var speed = 200;// ミリ秒
37      // アンカーの値取得
38      var href= $(this).attr("href");
39      // 移動先を取得
40      var target = $(href == "#" || href == "" ? 'html' : href);
41      // 移動先を数値で取得
42      var position = target.offset().top;
43      // スムーススクロール
44      $($.browser.safari ? 'body' : 'html').animate({scrollTop:position}, speed, 'swing');
45      return false;
46   });
47});

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.