PageSourceSearch

https://bukinist.al/themes/default-bootstrap/js/modules/homeslider/js/homeslider.js

js bukinist.al collected 2026-09-25 08:26:44 UTC 1,921 bytes, 62 lines download raw bytes

1/*
2* 2007-2015 PrestaShop
3*
4* NOTICE OF LICENSE
5*
6* This source file is subject to the Academic Free License (AFL 3.0)
7* that is bundled with this package in the file LICENSE.txt.
8* It is also available through the world-wide-web at this URL:
9* http://opensource.org/licenses/afl-3.0.php
10* If you did not receive a copy of the license and are unable to
11* obtain it through the world-wide-web, please send an email
12* to [email protected] so we can send you a copy immediately.
13*
14* DISCLAIMER
15*
16* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
17* versions in the future. If you wish to customize PrestaShop for your
18* needs please refer to http://www.prestashop.com for more information.
19*
20*  @author PrestaShop SA <[email protected]>
21*  @copyright  2007-2015 PrestaShop SA
22*  @version  Release: $Revision$
23*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
24*  International Registered Trademark & Property of PrestaShop SA
25*/
26
27$(document).ready(function(){
28
29	if (typeof(homeslider_speed) == 'undefined')
30		homeslider_speed = 500;
31	if (typeof(homeslider_pause) == 'undefined')
32		homeslider_pause = 3000;
33	if (typeof(homeslider_loop) == 'undefined')
34		homeslider_loop = true;
35	if (typeof(homeslider_width) == 'undefined')
36		homeslider_width = 779;
37
38
39	$('.homeslider-description').click(function () {
40		window.location.href = $(this).prev('a').prop('href');
41	});
42
43	if ($('#htmlcontent_top').length > 0)
44		$('#homepage-slider').addClass('col-xs-8');
45	else
46		$('#homepage-slider').addClass('col-xs-12');
47
48	if (!!$.prototype.bxSlider)
49		$('#homeslider').bxSlider({
50			useCSS: false,
51			maxSlides: 1,
52			slideWidth: homeslider_width,
53			infiniteLoop: homeslider_loop,
54			hideControlOnEnd: true,
55			pager: false,
56			autoHover: true,
57			auto: homeslider_loop,
58			speed: parseInt(homeslider_speed),
59			pause: homeslider_pause,
60			controls: true
61		});
62});

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.