| Server IP : 68.178.172.28 / Your IP : 216.73.216.32 Web Server : Apache System : Linux 28.172.178.68.host.secureserver.net 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64 User : kiskarnal ( 1003) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/kiskarnal/public_html/public/assets/plugins/quform/js/ |
Upload File : |
jQuery(document).ready(function($) {
$('form.quform').Quform();
// Tooltip settings
if ($.isFunction($.fn.qtip)) {
$('.quform-tooltip').qtip({
content: {
text: false
},
style: {
classes: 'qtip-default qtip-shadow quform-tt',
width: '180px'
},
position: {
my: 'left center',
at: 'right center',
viewport: $(window),
adjust: {
method: 'shift'
}
}
});
}
// Changes subject to a text field when 'Other' is chosen
$('#subject').replaceSelectWithTextInput({onValue: 'Other'});
}); // End document ready
(function ($) {
$(window).on('load', function () {
// Preload images
var images = [
'quform/images/close.png',
'quform/images/success.png',
'quform/images/error.png',
'quform/images/default-loading.gif'
];
// Preload images for any active themes
if ($('.quform-theme-light-light, .quform-theme-light-rounded').length) {
images = images.concat([
'quform/themes/light/images/button-active-bg-rep.png',
'quform/themes/light/images/close.png',
'quform/themes/light/images/input-active-bg-rep.png'
]);
}
if ($('.quform-theme-dark-dark, .quform-theme-dark-rounded').length) {
images = images.concat([
'quform/themes/dark/images/button-active-bg-rep.png',
'quform/themes/dark/images/close.png',
'quform/themes/dark/images/input-active-bg-rep.png',
'quform/themes/dark/images/loading.gif'
]);
}
if ($('.quform-theme-minimal-light').length) {
images = images.concat([
'quform/themes/minimal/images/close-light.png'
]);
}
if ($('.quform-theme-minimal-dark').length) {
images = images.concat([
'quform/themes/minimal/images/close-dark.png',
'quform/themes/minimal/images/loading-dark.gif'
]);
}
$.preloadImages(images);
});
})(jQuery);