PageSourceSearch

https://ramatrachel.co.il/scripts/custom.js

js ramatrachel.co.il collected 2026-10-02 13:15:23 UTC 2,420 bytes, 71 lines download raw bytes

1$(document).ready(function () {
2
3
4    $('#attract_page').on('click', '.showMap', function () {
5        var $this = $(this),
6        textMore = $this.attr('data-text-more'),
7        textLess = $this.attr('data-text-less'),
8        $cont = $('#map');
9        if (!$this.hasClass('animating')) {
10            if (!$this.hasClass('active')) {
11             
12                $this.addClass('active animating');
13                $this.find('.label').text(textLess);
14                TweenMax.to($cont, 0.5, {
15                    'max-height': 300, ease: Power2.easeOut, onComplete: function () {
16                        $this.removeClass('animating');
17                    }
18                });
19            }
20            else {
21               
22                $this.addClass('animating');
23                $this.removeClass('active');
24                $this.find('.label').text(textMore);
25                TweenMax.to($cont, 0.5, {
26                    'max-height': 0, ease: Power2.easeOut, onComplete: function () {
27                        $this.removeClass('animating');
28                    }
29                });
30            }
31        }
32        return false;
33    });
34
35
36});
37
38function sendToFriend(url) {
39    location.href = "mailto:?subject=" + url.replace('&', '%26');
40}
41
42//increase iframe
43//var iframeElement = $('.iframeWrapper iframe');
44//var iframe = document.getElementsByTagName("iframe");
45//if ($(iframeElement).length > 0) {
46//    var newHeight = iframe[0].contentWindow.document.body.scrollHeight;
47//    $('.iframeWrapper').height() = newHeight;
48
49//}
50
51function getHeight() {
52    
53  
54 // var theHeight = document.getElementById('dealsIFrame').contentWindow.document.body.scrollHeight;
55
56
57  // document.getElementById('dealsIFrame').height = theHeight;
58
59    //var $myIframe = $('.iframeWrapper ');
60    //var $iframeInnerHtml = $myIframe.find('html');
61    //var  iframeInnerHtmlHeight = $iframeInnerHtml.height();
62    //$('#dealsIFrame').load(function () {
63    //    var myHeight = $('#dealsIFrame').height($('iframe').contents().height());
64    //});
65    //custom.js:54 Uncaught SecurityError: 
66    //Blocked a frame with origin "http://localhost:60384" from accessing a frame with origin "http://bookingresults.com". 
67    //Protocols, domains, and ports must match
68    //var myDoc = $('#dealsIFrame #document html');
69  // console.log(myDoc.height());
70
71}

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.