pen one
05/25/2021, 4:19 PMSandii
05/25/2021, 4:34 PMSandii
05/25/2021, 4:36 PMfunction appendSpinner(pageTitle) {
//hide page body
jQuery('#div__body').css('display', 'none');
//text at top
jQuery('#body').append('<h1 style="style stuff">' + pageTitle + '</h1>');
//spinner
var spinner = jQuery('#custpage_spinner_html');
jQuery('body').append(spinner[0].value);
}
this is just an example of a page that has the spinner html already sitting on the page, and hides/shows it changing the whole page to a spinnerpen one
05/25/2021, 4:53 PM