PageSourceSearch

https://www.jei.or.jp/wp/wp-content/themes/nextage_tcd021/js/rollover.js?ver=4.1.1

js jei.or.jp collected 2026-10-02 07:46:37 UTC 740 bytes, 28 lines download raw bytes

1/**
2 * jQuery.rollover
3 *
4 * @version  1.0.2
5 * @author   rew <[email protected]>
6 * @link     http://rewish.org/javascript/jquery_rollover_plugin
7 * @license  http://rewish.org/license/mit The MIT License
8 *
9 * Inspired by:
10 * Telepath Labs (http://dev.telepath.co.jp/labs/article.php?id=15)
11 *
12 */
13jQuery.fn.rollover = function(suffix) {
14	suffix = suffix || '_on';
15	return this.not('[src*="'+ suffix +'."]').each(function() {
16		var img = jQuery(this);
17		var src = img.attr('src');
18		var _on = [
19			src.substr(0, src.lastIndexOf('.')),
20			src.substring(src.lastIndexOf('.'))
21		].join(suffix);
22		jQuery('<img>').attr('src', _on);
23		img.hover(
24			function() { img.attr('src', _on); },
25			function() { img.attr('src', src); }
26		);
27	});
28};

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.