Skip to Content

JavaScript File

URL: https://pd.zaruba-fitness.ru/bitrix/js/luxar.disclaimer/script.js?16983079294198
HTTP Status: 200 OK
MIME Type: application/javascript
Last Modified: Thu, 26 Oct 2023 08:12:09 GMT
Download Time: Less than a second
Cookies: None
Size: 5 KB
HTTP Headers:  8 headers
Links In:  1 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
OK Issues: No issues found

1var luxarDisclaimer = {

2 params: {},

3 container: null,

4 cookie_name: 'luxar_disclamer_hide',

5

6 show: function () {

7

8 if (BX.getCookie(luxarDisclaimer.cookie_name) === 'Y') {

9 return false;

10 }

11

12 var containerChilds = [];

13

14 containerChilds.push(

15 BX.create(

16 'div',

17 {

18 props: {className: 'luxar_disclaimer_text'},

19 html: (luxarDisclaimer.params.text !== undefined ? luxarDisclaimer.params.text : '')

20 }

21 )

22 );

23

24 if (luxarDisclaimer.params.button_on == 'Y' && luxarDisclaimer.params.button_text.length > 0) {

25 containerChilds.push(

26 BX.create(

27 'a',

28 {

29 props: {className: 'luxar_disclaimer_button'},

30 attrs: {href: "#"},

31 html: (luxarDisclaimer.params.button_text),

32 events: {

33 click: function (e) {

34 e.preventDefault();

35 luxarDisclaimer.hide();

36 return false;

37 }

38 }

39 }

40 )

...

</html>