Created
January 9, 2012 16:14
-
-
Save henrypoydar/1583627 to your computer and use it in GitHub Desktop.
Global progress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready -> | |
$('#progress').ajaxStart -> | |
$(@).show() | |
$('#progress').ajaxStop -> | |
$(@).hide() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#progress { | |
display: none; | |
background: #ffffff image-url("spinner_lg_ffffff.gif") no-repeat 50% 50%; | |
position: absolute; | |
top: 40%; | |
margin: -100px 0 0 -100px; | |
left: 50%; | |
width: 200px; | |
height: 200px; | |
opacity: 0.50; | |
-moz-border-radius: 15px; | |
border-radius: 15px; | |
z-index: 100; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment