PageSourceSearch

https://markstyletokyo.fr/themes/pf_ministore/js/modules/pspagebuilder/views/js/pagebuilder.js

js markstyletokyo.fr collected 2026-10-08 01:41:41 UTC 3,188 bytes, 89 lines download raw bytes

1/**
2 *  Pts Prestashop Theme Framework for Prestashop 1.6.x
3 *
4 * @package   pspagebuilder
5 * @version   5.0
6 * @author    http://www.prestabrain.com
7 * @copyright Copyright (C) October 2013 prestabrain.com <@emai:[email protected]>
8 *               <[email protected]>.All rights reserved.
9 * @license   GNU General Public License version 2
10 * 
11 */
12function ptssocialsharing_twitter_click(message)
13{
14	if (typeof message === 'undefined')
15		message = encodeURIComponent(location.href);
16	window.open('https://twitter.com/intent/tweet?text=' + message, 'sharertwt', 'toolbar=0,status=0,width=640,height=445');
17}
18
19function ptssocialsharing_facebook_click(message)
20{
21	window.open('http://www.facebook.com/sharer.php?u=' + encodeURIComponent(location.href), 'sharer', 'toolbar=0,status=0,width=660,height=445');
22}
23
24function ptssocialsharing_google_click(message)
25{
26	window.open('https://plus.google.com/share?url=' + encodeURIComponent(location.href), 'sharergplus', 'toolbar=0,status=0,width=660,height=445');
27}
28
29function ptssocialsharing_pinterest_click(message)
30{
31	window.open('http://www.pinterest.com/pin/create/button/?url=' + encodeURIComponent(location.href), 'sharerpinterest', 'toolbar=0,status=0,width=660,height=445');
32}
33
34$(document).ready(function() {
35	$(".pts-popup").fancybox();
36	$('.pts-carousel').carousel();
37
38	$('.pts-tab .nav > li:first').addClass('active');
39	$('.pts-tab .tab-content > .tab-pane:first').addClass('active');
40
41	$(".owl-carousel-play .owl-carousel").each( function(){
42        var config = {
43            navigation : false, // Show next and prev buttons
44            slideSpeed : 300,
45            paginationSpeed : 400,
46            pagination : $(this).data( 'pagination' ),
47            autoHeight: false,
48            direction: ($('html').attr('dir') && $('html').attr('dir') == 'rtl' ? 'rtl' : 'ltr'),
49            afterAction : SetOwlCarouselFirstLast,
50            addClassActive : true
51        };
52
53        var owl = $(this);
54        config.items = $(this).data( 'columns' );
55        if ($(this).data('desktop')) {
56            config.itemsDesktop = $(this).data('desktop');
57        }
58        if ($(this).data('desktopsmall')) {
59            config.itemsDesktopSmall = $(this).data('desktopsmall');
60        }
61        if ($(this).data('desktopsmall')) {
62            config.itemsTablet = $(this).data('tablet');
63        }
64        if ($(this).data('tabletsmall')) {
65            config.itemsTabletSmall = $(this).data('tabletsmall');
66        }
67        if ($(this).data('mobile')) {
68            config.itemsMobile = $(this).data('mobile');
69        }
70        $(this).owlCarousel( config );
71        $('.left_carousel',$(this).parent()).click(function(){
72              owl.trigger('owl.prev');
73              return false; 
74        });
75        $('.right_carousel',$(this).parent()).click(function(){
76            owl.trigger('owl.next');
77            return false; 
78        });
79    });
80
81    function SetOwlCarouselFirstLast(el){
82        el.find(".owl-item").removeClass("first");
83        el.find(".owl-item.active").first().addClass("first");
84
85        el.find(".owl-item").removeClass("last");
86        el.find(".owl-item.active").last().addClass("last");
87    }
88
89});

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.