PageSourceSearch

https://www.einpresswire.com/js/functions_newsroom.js?v79b4fbb9c

js einpresswire.com collected 2026-09-24 07:03:40 UTC 2,501 bytes, 75 lines download raw bytes

1$(document).ready(function() {
2    $(".js-only").show();
3    $(".nonjs-only").hide();
4    $("input.nonjs-only").remove();
5
6    $(".pr_image .zoomable").each(function() {
7      var $this = $(this);
8      var $pi = $this.parent();
9      var tooltip = null;
10      var timeout = null;
11      $this.mouseover(function() {
12        if(!timeout) timeout = setTimeout(function() {
13          if(!tooltip) {
14            tooltip = $('<div class="ltooltip">Click to zoom</div>').appendTo($pi);
15          } else {
16            tooltip.show();
17          }
18        }, 500);
19      });
20      $this.mouseout(function() {
21        if(timeout) {clearTimeout(timeout);timeout = null;}
22        if(tooltip) tooltip.hide();
23      });
24      var $a = $('<a target="_blank"></a>');
25      var w = $this.data('zoom-width');
26      var h = $this.data('zoom-height');
27      $a.get(0).href = $this.data('zoom');
28      $this.after($a);
29      $a.append($this);
30      $a.click(function() {
31        if((w < $(window).width() - 20) && (h < $(window).height() - 100)) {
32          var tg = $this.data('zoom');
33          if('https:' == document.location.protocol) {
34            tg = tg.replace(/http:/, document.location.protocol);
35          }
36          $.blockUI.defaults.css['padding'] = 0;
37          showEinOverlayMessage('<img class="pr_image_overlay" src="' + tg + '" width="' + w + '" height="' + h + '">', w, h, true);
38          return(false);
39        } // Else let the browser deal with that huge image ...
40        return(true);
41      });
42    });
43
44    $('.dynamic-iframe').each(function() {
45      var $this = $(this);
46      $(window).one('scroll', function() {
47        var $iframe = $('<iframe></iframe>');
48        $this.append($iframe);
49        $.each($this.data(), function(key, value) {
50          $iframe.attr(key, value);
51        });
52      });
53    });
54
55    $('.replace_by_timeto').each(function() {
56      var $this = $(this);
57      var time_to = parseInt($this.val());
58      var $p = $this.parent();
59      var cs = $this.data('caption-size');
60      var dd = $this.data('display-days');
61      var dc = $this.data('display-caption');
62      var de = $this.data('display-test');
63      var fs = $this.data('font-size');
64      var theme = $this.data('theme') || 'black';
65      $p.timeTo({
66          seconds: time_to,
67          displayDays: (dd === undefined) ? 2 : dd,
68          theme: theme,
69          displayCaptions: (dc === undefined) ? true : dc,
70          fontSize: fs || 48,
71          captionSize: cs || 14,
72        });
73    });
74
75});

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.