JohannesKreuzer / jquery-loadmask

Automatically exported from code.google.com/p/jquery-loadmask
Other
0 stars 0 forks source link

Delay on load then unload #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This inst necessarily a problem but I was wanting to be able to have this 
display load then unmask after the images / page load.  Made a minor adjustment 
to the code.  Rather have it delay the unload process than the loading of the 
"loading" mask.  Great JQuery plugin though, Kudos

$.maskElement($(this), label);
element.data("_mask_timeout", setTimeout(function() { 
$.unmaskElement(element)}, delay));

M97

Original issue reported on code.google.com by mustan...@gmail.com on 17 Aug 2011 at 2:09