PageSourceSearch

https://www.bllv.de/_assets/134327d211d95a61b7ade6df272d785a/Scripts/bllv_fancybox_custom.js?1785248412

js bllv.de collected 2026-10-02 03:26:55 UTC 2,349 bytes, 83 lines download raw bytes

1var tx_threeme = (function() {
2	return {
3
4        /* jQuery fancyBox Lightbox
5         * http://fancyapps.com/fancybox/
6         * -------------------------------------------------------------------------------------------------
7         */
8		fancyboxLighbox : function() {
9			var fancybox = $('.lightbox').fancybox({
10				openEffect: 'fade',
11				closeEffect: 'none',
12				prevEffect: 'fade',
13				nextEffect: 'fade',
14				closeBtn: true,
15				margin: 10,
16				padding: 10,
17				helpers: {
18					title : {
19						type : 'inside'
20					},
21					media: {}
22				},
23				tpl: {
24					closeBtn: '<a tabindex="2" class="fancybox-item fancybox-close" href="javascript:;"><span class="sr-only">Fenster schließen</span><i class="fancybox-close-icon" aria-hidden="true"></i></a>',
25					prev: '<a title="zurück" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>',
26					next: '<a title="vor" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>'
27				},
28
29				// Get title from image
30				beforeLoad: function() {
31					this.title = $(this.element).find('img').attr('title');
32				},
33
34				// Accessibility improvments
35				afterShow: function () {
36					$(this.content).attr('tabindex', 1).focus();
37				},
38				afterClose: function() {
39					$(this.element).focus();
40				}
41			});
42		},
43
44		// Page scrolling feature with easing plugin
45		jQuerySmoothScroll : function() {
46			$('.threeme-ui-scroll').on('click', function(event) {
47				var $anchor = $(this);
48				$('html, body').stop().animate({
49					scrollTop: ($($anchor.attr('href')).offset().top)
50				}, 1500, 'swing');
51				event.preventDefault();
52			});
53		},
54
55        /* Bootstrap Accordion
56         * Declare active state of panel
57         * -------------------------------------------------------------------------------------------------
58         */
59		bootstrapAccordion : function() {
60			var   $bsPanel = $('.bs-panel')
61				, $bsPanelCollapse = $bsPanel.find('.panel-collapse')
62			;
63
64			$bsPanelCollapse
65				.on('shown.bs.collapse', function() {
66					var $parent = $(this).parent();
67					$parent.addClass('active');
68				})
69				.on('hidden.bs.collapse', function() {
70					var $parent = $(this).parent();
71					$parent.removeClass('active');
72				})
73			;
74		},
75
76	};
77})();
78
79$(function() {
80	tx_threeme.fancyboxLighbox();
81	tx_threeme.jQuerySmoothScroll();
82	tx_threeme.bootstrapAccordion();
83});

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.