PageSourceSearch

https://hysan.de/wp-content/plugins/fbo-core-wp-plugin/includes/plugins/e-card/assets/js/e-card.js

js hysan.de collected 2026-10-04 20:37:20 UTC 1,661 bytes, 52 lines download raw bytes

1/**
2 * eCards functions
3 * ===========================
4 */
5function slide_gallery($) {
6    jQuery('.gallery').children('br').remove();
7    jQuery('.gallery').bxSlider({
8        slideWidth: 500,
9        minSlides: 3,
10        maxSlides: 3,
11        moveSlides: 3,
12        pager: false,
13        responsive: true,
14        infiniteLoop: false,
15        hideControlOnEnd: true,
16        slideMargin: 15,
17        nextText: '',
18        prevText: '',
19        onSliderLoad: function() {
20            jQuery('.bx-wrapper').addClass('gallery-slider');
21            jQuery('.bx-next').addClass('arrow-right');
22            jQuery('.bx-prev').addClass('arrow-left');
23            jQuery('.gallery-caption').css({
24                'position': 'absolute',
25                'bottom': '5%',
26                'margin': 0,
27                'display': 'none'
28            });
29        }
30    });
31}
32
33function e_cards($) {
34    var gallery = '.gallery';
35    jQuery('a', gallery).attr('data-reveal-id', 'ecard-modal'); // Add data attribute to e-card gallery links for Foundation Reveal modal
36    jQuery('a', gallery).on('click', function(e) {
37        e.preventDefault();
38        var img_src = jQuery(this).children('img').attr('src');
39        jQuery('#ecard-img').attr('src', img_src);
40        jQuery('#ecard-img-bak').val(img_src);
41    });
42    jQuery("input[name='anrede'][value='Herr']").on('click', function() {
43        jQuery("input[name='gender-to']").val('Lieber');
44    });
45    jQuery("input[name='anrede'][value='Frau']").on('click', function() {
46        jQuery("input[name='gender-to']").val('Liebe');
47    });
48}
49jQuery(document).ready(function($) {
50    slide_gallery($);
51    e_cards($);
52});

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.