PageSourceSearch

https://www.swsc-ship.com/wp-content/themes/jcs/app.js?ver=1.0.0

js swsc-ship.com collected 2026-10-04 08:55:57 UTC 2,178 bytes, 59 lines download raw bytes

1//idへ移動スピード調整
2jQuery(function(){
3   jQuery('a[href^=#]').click(function() {
4	  var speed = 400;
5	  var href= jQuery(this).attr("href");
6	  var target = jQuery(href == "#" || href == "" ? 'html' : href);
7	  var position = target.offset().top;
8	  jQuery('body,html').animate({scrollTop:position}, speed, 'swing');
9	  return false;
10   });
11});
12
13//寄付フォームの日付セレクト
14jQuery(function(){
15jQuery('#your-birth-m').change(function() {
16    var v = jQuery('#your-birth-m').val();
17    switch(v){
18    //"1月、3月、5月、7月、8月、10月、12月"
19    case '1月':
20    case '3月':
21    case '5月':
22    case '7月':
23    case '8月':
24    case '10月':
25    case '12月':
26        jQuery('select#your-birth-d option').remove();
27        jQuery('#your-birth-d').append(jQuery('<option>').attr({ value: '日' }).text('日'));
28        for ( var i = 1; i <= 31; i++  ) {
29            jQuery('#your-birth-d').append(jQuery('<option>').attr({ value: i + '日' }).text( i + '日'));
30        }
31        break;
32    //"4月、6月、9月、11月"
33    case '4月':
34    case '6月':
35    case '9月':
36    case '11月':
37        jQuery('select#your-birth-d option').remove();
38        jQuery('#your-birth-d').append(jQuery('<option>').attr({ value: '日' }).text('日'));
39        for ( var i = 1; i <= 30; i++  ) {
40            jQuery('#your-birth-d').append(jQuery('<option>').attr({ value: i + '日' }).text( i + '日'));
41        }
42        break;
43    //"2月"
44    case '2月':
45        jQuery('select#your-birth-d option').remove();
46        jQuery('#your-birth-d').append(jQuery('<option>').attr({ value: '日' }).text('日'));
47        for ( var i = 1; i <= 28; i++  ) {
48            jQuery('#your-birth-d').append(jQuery('<option>').attr({ value: i + '日' }).text( i + '日'));
49        }
50        break;
51    //---
52    case '月':
53        jQuery('select#your-birth-d option').remove();
54        jQuery('#your-birth-d').append(jQuery('<option>').attr({ value: '日' }).text('日'));
55        jQuery('#your-birth-d').append(jQuery('<option>').attr({ value: '※先に月を選択して下さい' }).text('※先に月を選択して下さい'));
56        break;
57    };
58});
59});

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.