PageSourceSearch

https://www.libidos.be/wp-content/themes/bellissima/js/custom.js?ver=1

js libidos.be collected 2026-10-08 08:23:29 UTC 4,560 bytes, 176 lines download raw bytes

1jQuery(document).ready(function($) {
2
3	// Slider
4	$(".slider").scrollable({
5		next: '.next2', 
6		prev: '.prev2',
7		touch: false
8	});
9	
10	$('#menu_wrapper').mobileMenu({
11		defaultText: 'Navigate to...',
12		className: 'select-menu',
13		subMenuDash: ' '
14	});
15	
16	
17	// Fancybox
18	$("a.grouped-elements").fancybox({
19		'titlePosition'	: 'inside'
20	});
21	$("a[rel=group4]").fancybox({
22		'transitionIn'		: 'none',
23		'transitionOut'		: 'none',
24		'titlePosition' 	: 'over',
25		'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
26			return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
27		}
28	});
29	
30
31	// Accordion
32	$('.accordion, .accordion-simple').each(function(i, obj) {
33		$(this).children("h2:first").addClass("current");
34		$(this).children(".pane:first").css("display", "block");
35	});
36	
37	// Megamenu
38	var $menu = $('#ldd_menu');
39	$menu.children('li').each(function(){
40		var $this = $(this);
41		var $span = $this.children('span');
42		$span.data('width',$span.width());
43		
44		$this.bind('mouseenter',function(){
45			$menu.find('.ldd_submenu').stop(true,true).hide();
46			$span.stop().animate({'width':'auto'},150,function(){
47				$this.find('.ldd_submenu').slideDown(300);
48			});
49		}).bind('mouseleave',function(){
50			$this.find('.ldd_submenu').stop(true,true).hide();
51			$span.stop().animate({'width':$span.data('width')+'px'},300);
52		});
53	});
54	
55	// Collapsible menu
56	$(".shop_widget, #features .box").collapse({
57		show: function() {
58			this.animate({opacity: 'toggle', height: 'toggle'}, 300);
59		},
60		hide : function() {
61			this.animate({opacity: 'toggle', height: 'toggle'}, 300);
62		}
63	});
64	
65	// Contact Form
66	$('#send_message').click(function(e){
67		e.preventDefault();
68		var error = false;
69		var name = $('#contact_name').val();
70		var email = $('#contact_email').val();
71		var message = $('#contact_message').val();
72
73		if(name.length == 0){
74			error = true;
75			$('#name_error').fadeIn(500);
76		}else{
77			$('#name_error').fadeOut(500);
78		}
79		if(email.length == 0 || email.indexOf('@') == '-1'){
80			error = true;
81			$('#email_error').fadeIn(500);
82		}else{
83			$('#email_error').fadeOut(500);
84		}
85		if(message.length == 0){
86			error = true;
87			$('#message_error').fadeIn(500);
88		}else{
89			$('#message_error').fadeOut(500);
90		}
91
92		if(error == false){
93			$('#send_message').attr({'disabled' : 'true', 'value' : 'Sending..' });
94
95			var contactformurl = mysiteurl+"/js/send_email.php";
96			$.post(contactformurl, $("#contactform").serialize(),function(result){
97				if(result == 'sent'){
98					$('#cf_submit_p').remove();
99					$('#mail_success').fadeIn(500);
100				}else{
101					$('#mail_fail').fadeIn(500);
102					$('#send_message').removeAttr('disabled').attr('value', 'Send');
103				}
104			});
105		}
106	});
107	
108	
109	
110	
111	// Tabs
112	$("ul.tabs").tabs("div.panes > .tab-content");
113	$("ul.tabs-simple").tabs("div.panes.simple > .tab-content");
114	$(".accordion").tabs(".accordion div.pane", {tabs: 'h2', effect: 'slide', initialIndex: null});
115	$(".accordion-simple").tabs(".accordion-simple div.pane", {tabs: 'h2', effect: 'slide', initialIndex: null});
116	
117	// Border effects
118	$(".featured-product-item img").insetBorder({
119		borderColor : '#EFE4DC',
120		inset: 5
121	});
122	
123	// Slider Thumbnail Border Effect
124	$("#main_navi li img").insetBorder({
125		borderColor : '#EFE4DC',
126		inset: 4
127	});
128	
129	// Navigation menu
130	$('ul.sf-menu').superfish({ 
131		delay: 100
132	});
133	
134	// Mouseover effect for thumbnails
135	$("a.grouped-elements").hover(function() {
136	  $(this).find(".imagehover").toggleClass("mouseon");
137	});
138	
139	// Dropdown show/hide
140	$(".dropdown").click(function() {
141		// Hiding any open menus
142		$(".dropdown").not(this).each(function() {
143			$(this).find("ul").hide();
144			$(this).find("a.nav-link").removeClass('selected');
145		})
146	
147		$(this).find("ul").toggle();
148		$(this).find("a.nav-link").toggleClass('selected');
149	});
150	// Closing the menu if click outside
151	$(document).bind('click', function(e) {
152		var $clicked = $(e.target);
153         
154		if (! $clicked.parents().hasClass("dropdown")) {
155			$(this).find('.dropdown a.nav-link').removeClass("selected");
156			$(".dropdown ul").hide();
157		}
158	});
159	
160});
161
162jQuery.noConflict();
163jQuery(window).load(function() {
164	jQuery('.flickr_badge').fadeIn(300);
165	
166	jQuery(".flickr_badge_image a img").attr("width", 130);
167	jQuery(".flickr_badge_image a img").attr("height", 90);
168  
169	jQuery('.flickr_badge_image').hover(function() {
170		jQuery(this).stop().animate({"opacity": 0.7}, 300);
171	}, function () {
172		jQuery(this).stop().animate({"opacity": 1}, 300);
173	});
174	
175
176});

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.