PageSourceSearch

http://houmonbiyoutowashop.jp/wp-content/plugins/lightbox/js/frontend/custom.js?ver=4.7.29

js houmonbiyoutowashop.jp collected 2026-10-08 09:28:18 UTC 3,239 bytes, 75 lines download raw bytes

1jQuery(document).ready(function(){
2	
3	/***<select case-insensitive a tags>***/
4	
5	var img = jQuery('a').filter(function() {
6		
7		var href = jQuery(this).attr('href');
8		
9		if(typeof href !=='undefined') {
10			href = href.toLowerCase();
11			
12			return href.substr(-4) == '.jpg' || href.substr(-5) == '.jpeg' ||  href.substr(-4) == '.png' || href.substr(-4) == '.gif';
13		
14		}
15	});
16
17	img.addClass('group1');	
18
19	/***<select case-insensitive a tags>***/
20	
21        jQuery("body a[class*='catalog_group']").removeClass('group1');
22        jQuery("body a[class*='catalog_slider_group1']").removeClass('group1');
23	
24	
25	jQuery('a[href*="youtube.com"],a[href*="youtu.bebe"]').not('a[href*="/channel/"]').not('a[href*="/user/"]').not('.huge_it_gallery_item').not('.huge_it_videogallery_item').not('.huge_it_portfolio_item').each(function(){
26               
27		jQuery(this).addClass('youtube').addClass('group1');
28		var url = jQuery(this).attr('href');
29		var videoid = url.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/);
30		if(videoid) {
31			jQuery(this).attr('href','https://www.youtube.com/embed/'+videoid[1]);
32		}
33	});
34	
35
36	jQuery('a[href*="vimeo.com"]').not('a[href$="vimeo.com"]').not('a[href*="/channels/"]').not('.huge_it_gallery_item').not('.huge_it_videogallery_item').each(function(){
37             var href = jQuery(this).attr("href").split("/");
38                if(Number(href[href.length-1]) == Number(href[href.length-1])) {
39		jQuery(this).addClass('vimeo').addClass('group1');
40		var vimeourl = jQuery(this).attr('href');
41		var vimeoid = vimeourl.substring(vimeourl.lastIndexOf("/") + 1, vimeourl.length);
42        jQuery(this).attr('href','http://player.vimeo.com/video/'+vimeoid); 
43                }
44	});
45	
46	jQuery(".group1").colorbox({rel:'group1'});
47	jQuery(".group2").colorbox({rel:'group2', transition:"fade"});
48	jQuery(".group3").colorbox({rel:'group3', transition:"none", width:"75%", height:"75%"});
49	jQuery(".group4").colorbox({rel:'group4', slideshow:true});
50	jQuery(".ajax").colorbox();
51	jQuery("a.youtube").colorbox({iframe:true, innerWidth:640, innerHeight:390});
52	jQuery("li.vimeo").colorbox({iframe:true, innerWidth:500, innerHeight:409});
53	jQuery(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});
54	jQuery(".inline").colorbox({inline:true, width:"50%"});
55	jQuery(".callbacks").colorbox({
56		onOpen:function(){ alert('onOpen: colorbox is about to open'); },
57		onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
58		onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
59		onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
60		onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
61	});
62
63	jQuery('.non-retina').colorbox({rel:'group5', transition:'none'});
64	jQuery('.retina').colorbox({rel:'group5', transition:'none', retinaImage:true, retinaUrl:true});
65	
66
67	jQuery("#click").click(function(){ 
68		jQuery('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
69		return false;
70	});
71	
72	
73	
74});
75		

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.