PageSourceSearch

https://www.steetleyminerals.com/modules/productscategory/productscategory.js

js steetleyminerals.com collected 2026-09-30 15:45:20 UTC 1,931 bytes, 55 lines download raw bytes

1/*
2* 2007-2011 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-2011 PrestaShop SA
22*  @version  Release: $Revision: 7044 $
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
27function pc_serialScrollFixLock(event, targeted, scrolled, items, position)
28{
29	var leftArrow = position == 0 ? true : false;
30	var rightArrow = position + 5 >= $('#productscategory_list li:visible').length ? true : false;
31	
32	$('a#productscategory_scroll_left').css('cursor', leftArrow ? 'default' : 'pointer').fadeTo(0, leftArrow ? 0 : 1);		
33	$('a#productscategory_scroll_right').css('cursor', rightArrow ? 'default' : 'pointer').fadeTo(0, rightArrow ? 0 : 1).css('display', rightArrow ? 'none' : 'block');
34
35	return true;
36}
37
38$(document).ready(function()
39{
40	$('#productscategory_list').serialScroll({
41		items: 'li',
42		prev: 'a#productscategory_scroll_left',
43		next: 'a#productscategory_scroll_right',
44		axis: 'x',
45		offset: 0,
46		stop: true,
47		onBefore: pc_serialScrollFixLock,
48		duration: 300,
49		step: 1,
50		lazy: true,
51		lock: false,
52		force: false,
53		cycle: false });
54	$('#productscategory_list').trigger( 'goto', 0);
55});

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.