Non-Trivial Spinner Example?
-
I’m trying to create a spinner to display when a button is clicked on in the dashboard. I’m trying to use this page:
for guidance. I’ve got some code:
<div id="MySpinner" class="spinner"> <h1>My Message</h1> </div> <script type="text/javascript"> function showSpinner(){ jQuery("#MySpinner").addClass("is-active"); return true; } </script> <input type=submit onclick="return showSpinner();">
When I click on the button, the spinner appears. My message is displayed. The other page content is visible underneath my message.
So, while I’m getting a spinner, it’s not very usable. What I’d like is for my message to be displayed prominently, and some sort of visual indicator that the rest of the page is disabled pending completion of the operation.
I’d appreciate any ideas on the best way to handle this.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Non-Trivial Spinner Example?’ is closed to new replies.