PageSourceSearch

https://sp.myname-mobile.com/js/function.js

js myname-mobile.com collected 2026-10-04 01:33:19 UTC 2,925 bytes, 118 lines download raw bytes

1$(function(){
2$(".jpng").jQIR("png", "/img/");
3$(".jjpg").jQIR("jpg", "/img/");
4$(".jgif").jQIR("gif", "/img/");
5});
6
7jQuery.fn.extend({
8scrollTo : function(speed, easing) {
9<!-- hashの取得が出来なければ、処理を中断 -->
10if(!$(this)[0].hash || $(this)[0].hash == "#") {
11return false;
12}
13return this.each(function() {
14var targetOffset = $($(this)[0].hash).offset().top;
15$('html,body').animate({scrollTop: targetOffset}, speed, easing);
16});
17}
18});
19
20$(document).ready(function(){
21$('a[href*=#]').click(function() {
22$(this).scrollTo(1000);
23return false;
24});
25});
26
27$(function(){
28$("#sitemap h3").each(function(){
29$("#sitemap div").css("display","none");
30$(this).addClass("resting");
31$(this).click(function(){
32var question = $(this).attr("class");
33var answer = $(this).next();
34if(question === "resting"){
35$(this).removeClass("resting");
36$(this).addClass("active");
37}
38else{
39$(this).removeClass("active");
40$(this).addClass("resting");
41}
42$(answer).slideToggle();
43});
44});
45});
46
47/*
48$(function() {
49$('#ui-tab > ul').tabs({ fx: { opacity: 'toggle', duration: 1000  } });
50});
51*/
52    jQuery.fn.protectImage = function(settings) {
53        settings = jQuery.extend({image: '/images/blank.gif',zIndex: 10}, settings);
54        return this.each(function() {
55            var position = $(this).position();
56            var height = $(this).height();
57            var width = $(this).width();
58            $('<img/>').attr({width: width, height: height, src: settings.image}).css({
59                top: position.top,
60                left: position.left,
61                position: 'absolute',
62                zIndex: settings.zIndex
63            }).appendTo('body')
64         });
65    };
66    $(window).bind('load', function() {
67        $('img.protect').protectImage().parents('a').removeAttr('href');
68    });
69	
70	
71$(function() {
72    $('.toptopic_tab li').click(function() {
73        var index = $('.toptopic_tab li').index(this);
74		$('.toptopic_content li').css('display','none');
75        $('.toptopic_content li').eq(index).css('display','block');
76        $('.toptopic_tab li').removeClass('select');
77        $(this).addClass('select')
78    });
79});
80$(function() {
81    $('.topblog_tab li').click(function() {
82        var index = $('.topblog_tab li').index(this);
83		$('.topblog_content li').css('display','none');
84        $('.topblog_content li').eq(index).css('display','block');
85        $('.topblog_tab li').removeClass('select');
86        $(this).addClass('select')
87    });
88});
89
90$(window).load(function() {
91  $('.flexslider').flexslider({
92    animation: "slide"
93  });
94});
95
96$(document).ready(function() {
97  var owl = $("#topmemberslist");
98  owl.owlCarousel({
99      itemsCustom : [
100        [0, 3],
101        [450, 5]
102      ],
103      navigation : true
104  });
105});
106
107$(function(){
108  $('#sidr').simpleSidebar({
109    settings: {
110      opener: '.menu-btn',
111      wrapper: '#wrapper'
112    },
113    sidebar: {
114      align: 'right',
115      width: 240
116    }
117  });
118});

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.