One Hat Cyber Team
Your IP :
216.73.216.216
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
sam
/
public_html
/
web2_old
/
includes
/
js
/
moofx
/
Edit File:
moo.fx.slide.js
fx.Slide = Class.create(); fx.Slide.prototype = { setOptions: function(options) { this.options = { delay: 50, opacity: false } Object.extend(this.options, options || {}); }, initialize: function(togglers, sliders, options) { this.sliders = sliders; this.togglers = togglers; this.setOptions(options); sliders.each(function(el, i){ el.style.display = 'none'; options.onComplete = function(){ if (el.offsetHeight == 0) el.style.display = 'none'; if (el.offsetHeight > 0) el.style.height = '1%'; } el.fx = new fx.Combo(el, options); el.fx.hide(); }); togglers.each(function(toggler, i){ if(i == 0) this.toggle(sliders[i], toggler); toggler.onclick = function(){ this.toggle(sliders[i], toggler); }.bind(this); }.bind(this)); }, toggle: function(slider, toggler){ this.sliders.each(function(el, i){ if (el.offsetHeight > 0) this.clear(el); }.bind(this)); this.togglers.each(function(el, i){ Element.removeClassName(el, 'moofx-toggler-down'); }.bind(this)); setTimeout(function(){this.clear(slider);}.bind(this), this.options.delay); slider.style.display = 'block'; if (slider.offsetHeight <= 0) { Element.addClassName(toggler, 'moofx-toggler-down'); } }, clear: function(slider){ slider.fx.clearTimer(); slider.fx.toggle(); } } /* -------------------------------------------- */ /* -- page loader ----------------------------- */ /* -------------------------------------------- */ function init_moofx() { var sliders = document.getElementsByClassName('moofx-slider'); //div that stretches var togglers = document.getElementsByClassName('moofx-toggler'); //h3s where I click on var slide = new fx.Slide(togglers, sliders, {opacity: true, duration: 200}); }
Simpan