PageSourceSearch

https://www.paya-paya-kun.jp/wp-content/plugins/smartslider/smartslider.js

js paya-paya-kun.jp collected 2026-10-09 00:14:25 UTC 1,197 bytes, 51 lines download raw bytes

1/*
2	Smartslider 1.0
3	
4	Author:
5		Ralf Hortt, 'Horttcore' - http://www.horttcore.de
6
7	License:
8		MIT-style license
9		
10	Class: 
11		Slider
12		
13	Description:
14		Sliders for the World
15		
16	Requirements:
17		Mootools 1.2 - Earlier Version should also work as its very simple 
18	
19	Usage:
20		Add css class 'slider' for toggle element�
21		Target element ID in the 'href' attribute with "#"
22		
23	Options:
24		Add css class 'slideShow' that the Element is opened onload
25				
26	Example:
27		<a href="#lorem" class='slider'>Lorem Ipsum</a>
28		<p id="lorem">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</p>
29*/
30window.addEvent('domready', function(){
31	var mySlides = [];
32 	$$(".slider").each(function(slider,i){
33
34		// get element to slide
35		link = slider.getProperty('href');
36		link = link.replace('#','');
37 		mySlides[i] = new Fx.Slide(link);
38		
39		// set state
40		state = slider.getProperty('class');
41		if	(state.search(/slideShow/) == '-1')
42			{mySlides[i].hide();}
43
44		// inject onClick event
45 		slider.addEvent('click', function(e){
46			new Event(e).stop();
47			mySlides[i].toggle();
48			return false;
49		});
50 	});
51 });

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.