PageSourceSearch

https://www.farmagranada.com/modules/wkproductlabel/views/js/wkshowlabelonproduct.js

js farmagranada.com collected 2026-09-26 14:21:06 UTC 1,392 bytes, 52 lines download raw bytes

1/**
2* NOTICE OF LICENSE
3*
4* All right is reserved,
5* Please go through LICENSE.txt file inside our module.
6*
7* DISCLAIMER
8*
9* Do not edit or add to this file if you wish to upgrade this module to newer
10* versions in the future. If you wish to customize this module for your
11* needs please refer to CustomizationPolicy.txt file inside our module for more information.
12*
13*  @author    Webkul IN
14*  @copyright since 2010 Webkul
15*  @license   LICENSE.txt
16*/
17
18$(document).ready(function(){
19    // date autocomplie off
20
21    $(function () {
22        $('[data-toggle="tooltip"]').tooltip();
23    });
24    
25    blinkLabelText();
26    prestashop.on('updateProductList', function(){ blinkLabelText(); });
27    prestashop.on('clickQuickView', function (param) {
28        setTimeout(function(){ blinkLabelText(true); }, 2000);
29    });
30
31
32});//  end document ready
33
34function blinkLabelText (quickview = false)
35{
36    if (quickview) {
37        var elementselector = '.quickview .blink_label_text';
38    } else {
39        var elementselector = '.blink_label_text';
40    }
41    $(elementselector).each(function() {
42        var elem = $(this);
43        setInterval(function() {
44            if (elem.css('visibility') == 'hidden') {
45                elem.css('visibility', 'visible');
46            } else {
47                elem.css('visibility', 'hidden');
48            }    
49        }, $(this).data('blink-speed'));
50    });
51}
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.