Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/eshopapp/install/templates/eshop_app/ |
Upload File : |
/*function deleteFlyImage(id) { BX.remove(BX(id)); } function flyImageDetail(img, flyMode) { var element = img; var flyImage = element.cloneNode(true); flyImage.id = "emp"+Math.floor(Math.random() * (100)); BX.findParent(element, {tag:"a"}).insertBefore(flyImage, element); flyImage.style.position = "absolute"; flyImage.style.zIndex = "3000"; BX.addClass(flyImage, "growing"); if (flyMode == "flyFromLeft") flyImage.style.left = document.documentElement.clientWidth - flyImage.getBoundingClientRect().left+'px'; else flyImage.style.left = document.documentElement.clientWidth+'px'; flyImage.style.top = document.body.scrollTop-50+'px'; flyImage.width='0'; flyImage.height='0'; setTimeout(function(){deleteFlyImage(flyImage.id);}, 2000); }*/ function addItemToCart(element) { app.onCustomEvent('onItemBuy', {}); //flyImageDetail(img, flyMode); BX.ajax({ timeout: 30, method: 'GET', url: element.href, processData: false, onsuccess: function(reply){ }, onfailure: function(){ } }); return false; } function OpenClose(element) { if (BX.hasClass(element, 'close')) { BX.addClass(element, 'open'); BX.removeClass(element, 'close'); } else { BX.addClass(element, 'close'); BX.removeClass(element, 'open'); } }