at path:
ROOT
/
demo
/
old
/
js
/
revslider-homepage.js
run:
R
W
Run
jquery
DIR
2021-05-27 11:23:02
R
W
Run
vendor
DIR
2021-05-27 11:23:06
R
W
Run
_main.js
3.63 KB
2021-05-27 11:23:02
R
W
Run
Delete
Rename
chart.min.js
19.3 KB
2021-05-27 11:23:02
R
W
Run
Delete
Rename
eg-gallery-cobbles.js
4.22 KB
2021-05-27 11:23:02
R
W
Run
Delete
Rename
eg-gallery-grid.js
4.23 KB
2021-05-27 11:23:02
R
W
Run
Delete
Rename
eg-gallery-masonry.js
4.19 KB
2021-05-27 11:23:02
R
W
Run
Delete
Rename
eg-projects.js
4.26 KB
2021-05-27 11:23:02
R
W
Run
Delete
Rename
revslider-homepage.js
7.3 KB
2021-05-27 11:23:02
R
W
Run
Delete
Rename
scripts.js
93.8 KB
2021-05-27 11:23:02
R
W
Run
Delete
Rename
superfish.js
6.82 KB
2021-05-27 11:23:02
R
W
Run
Delete
Rename
trx_addons.js
128.8 KB
2021-05-27 11:23:02
R
W
Run
Delete
Rename
error_log
up
📄
revslider-homepage.js
Save
"use strict"; var htmlDiv = document.getElementById("rs-plugin-settings-inline-css"); var htmlDivCss = ""; if (htmlDiv) { htmlDiv.innerHTML = htmlDiv.innerHTML + htmlDivCss; } else { var htmlDiv = document.createElement("div"); htmlDiv.innerHTML = "<style>" + htmlDivCss + "</style>"; document.getElementsByTagName("head")[0].appendChild(htmlDiv.childNodes[0]); } var htmlDiv = document.getElementById("rs-plugin-settings-inline-css"); var htmlDivCss = ""; if (htmlDiv) { htmlDiv.innerHTML = htmlDiv.innerHTML + htmlDivCss; } else { var htmlDiv = document.createElement("div"); htmlDiv.innerHTML = "<style>" + htmlDivCss + "</style>"; document.getElementsByTagName("head")[0].appendChild(htmlDiv.childNodes[0]); } /****************************************** - PREPARE PLACEHOLDER FOR SLIDER - ******************************************/ var setREVStartSize = function() { try { var e = new Object, i = jQuery(window).width(), t = 9999, r = 0, n = 0, l = 0, f = 0, s = 0, h = 0; e.c = jQuery('#rev_slider_1_1'); e.responsiveLevels = [1240, 1024, 778, 480]; e.gridwidth = [1170, 1024, 778, 480]; e.gridheight = [700, 700, 700, 800]; e.sliderLayout = "auto"; if (e.responsiveLevels && (jQuery.each(e.responsiveLevels, function(e, f) { f > i && (t = r = f, l = e), i > f && f > r && (r = f, n = e) }), t > r && (l = n)), f = e.gridheight[l] || e.gridheight[0] || e.gridheight, s = e.gridwidth[l] || e.gridwidth[0] || e.gridwidth, h = i / s, h = h > 1 ? 1 : h, f = Math.round(h * f), "fullscreen" == e.sliderLayout) { var u = (e.c.width(), jQuery(window).height()); if (void 0 != e.fullScreenOffsetContainer) { var c = e.fullScreenOffsetContainer.split(","); if (c) jQuery.each(c, function(e, i) { u = jQuery(i).length > 0 ? u - jQuery(i).outerHeight(!0) : u }), e.fullScreenOffset.split("%").length > 1 && void 0 != e.fullScreenOffset && e.fullScreenOffset.length > 0 ? u -= jQuery(window).height() * parseInt(e.fullScreenOffset, 0) / 100 : void 0 != e.fullScreenOffset && e.fullScreenOffset.length > 0 && (u -= parseInt(e.fullScreenOffset, 0)) } f = u } else void 0 != e.minHeight && f < e.minHeight && (f = e.minHeight); e.c.closest(".rev_slider_wrapper").css({ height: f }) } catch (d) { console.log("Failure at Presize of Slider:" + d) } }; setREVStartSize(); var tpj = jQuery; var revapi1; tpj(document).ready(function() { if (tpj("#rev_slider_1_1").revolution == undefined) { revslider_showDoubleJqueryError("#rev_slider_1_1"); } else { revapi1 = tpj("#rev_slider_1_1").show().revolution({ sliderType: "standard", jsFileLocation: "js/vendor/revslider", sliderLayout: "auto", dottedOverlay: "none", delay: 9000, navigation: { keyboardNavigation: "off", keyboard_direction: "horizontal", mouseScrollNavigation: "off", mouseScrollReverse: "default", onHoverStop: "off", bullets: { enable: true, hide_onmobile: true, hide_under: 600, style: "custom", hide_onleave: false, direction: "vertical", h_align: "right", v_align: "center", h_offset: 40, v_offset: 20, space: 20, tmp: '' } }, responsiveLevels: [1240, 1024, 778, 480], visibilityLevels: [1240, 1024, 778, 480], gridwidth: [1170, 1024, 778, 480], gridheight: [700, 700, 700, 800], lazyType: "none", shadow: 0, spinner: "spinner0", stopLoop: "off", stopAfterLoops: -1, stopAtSlide: -1, shuffle: "off", autoHeight: "off", disableProgressBar: "on", hideThumbsOnMobile: "off", hideSliderAtLimit: 0, hideCaptionAtLimit: 0, hideAllCaptionAtLilmit: 0, debugMode: false, fallbacks: { simplifyAll: "off", nextSlideOnWindowFocus: "off", disableFocusListener: false, } }); } }); var htmlDivCss = unescape(".rev_slider%20.custom%20.tp-bullet%20%7B%0A%20%20%20%20width%3A%2021px%3B%0A%20%20%20%20height%3A%203px%3B%0A%20%20%20%20background-color%3A%20rgba%28256%2C256%2C256%2C0.3%29%3B%0A%7D%0A.rev_slider%20.custom%20.tp-bullet.selected%20%7B%0A%20%20%20%20width%3A%2041px%3B%0A%20%20%20%20margin-left%3A%20-20px%3B%0A%20%20%20%20background-color%3A%20%23fcd63c%3B%0A%7D"); var htmlDiv = document.getElementById('rs-plugin-settings-inline-css'); if (htmlDiv) { htmlDiv.innerHTML = htmlDiv.innerHTML + htmlDivCss; } else { var htmlDiv = document.createElement('div'); htmlDiv.innerHTML = '<style>' + htmlDivCss + '</style>'; document.getElementsByTagName('head')[0].appendChild(htmlDiv.childNodes[0]); } var htmlDivCss = unescape(".custom.tp-bullets%20%7B%0A%7D%0A.custom.tp-bullets%3Abefore%20%7B%0A%09content%3A%22%20%22%3B%0A%09position%3Aabsolute%3B%0A%09width%3A100%25%3B%0A%09height%3A100%25%3B%0A%09background%3Atransparent%3B%0A%09padding%3A10px%3B%0A%09margin-left%3A-10px%3Bmargin-top%3A-10px%3B%0A%09box-sizing%3Acontent-box%3B%0A%7D%0A.custom%20.tp-bullet%20%7B%0A%09width%3A12px%3B%0A%09height%3A12px%3B%0A%09position%3Aabsolute%3B%0A%09background%3A%23aaa%3B%0A%20%20%20%20background%3Argba%28125%2C125%2C125%2C0.5%29%3B%0A%09cursor%3A%20pointer%3B%0A%09box-sizing%3Acontent-box%3B%0A%7D%0A.custom%20.tp-bullet%3Ahover%2C%0A.custom%20.tp-bullet.selected%20%7B%0A%09background%3Argb%28125%2C125%2C125%29%3B%0A%7D%0A.custom%20.tp-bullet-image%20%7B%0A%7D%0A.custom%20.tp-bullet-title%20%7B%0A%7D%0A%0A"); var htmlDiv = document.getElementById('rs-plugin-settings-inline-css'); if (htmlDiv) { htmlDiv.innerHTML = htmlDiv.innerHTML + htmlDivCss; } else { var htmlDiv = document.createElement('div'); htmlDiv.innerHTML = '<style>' + htmlDivCss + '</style>'; document.getElementsByTagName('head')[0].appendChild(htmlDiv.childNodes[0]); } function revslider_showDoubleJqueryError(sliderID) { var errorMessage = "Revolution Slider Error: You have some jquery.js library include that comes after the revolution files js include."; errorMessage += "<br> This includes make eliminates the revolution slider libraries, and make it not work."; errorMessage += "<br><br> To fix it you can:<br> 1. In the Slider Settings -> Troubleshooting set option: <strong><b>Put JS Includes To Body</b></strong> option to true."; errorMessage += "<br> 2. Find the double jquery.js include and remove it."; errorMessage = "<span style='font-size:16px;color:#BC0C06;'>" + errorMessage + "</span>"; jQuery(sliderID).show().html(errorMessage); }