html - How do I grey out and show a loading GIF in the centre of a table -
I have a whole I have run some AJAX calls and are not able to enter the table and Ajax references are overlayed with a gray background with a loading GIF in the center when loading. This should work! Here, I betrayed with AJAX, it's not difficult. I have copied an AJAX call with my By keeping in mind the other things, you can make that parent div a You can clearly play with it. HTML: CSS: & lt; Table & gt; How does a loading image show in between?
timeout function.
height Or
width because my table is very low because it looks nonsensical from outside.
Status: Relative is required because it allows the
.page-loader to fill that space.
& lt; Div style = "position: relative" & gt; & Lt; Div class = "page-loader" & gt; & Lt; Img src = "/ content / loader.gif" style = "status: full; margin: auto; top: 0; left: 0; right: 0; bottom: 0;" Width = "100" alt = "Loading" & gt; & Lt; / Div & gt; & Lt; Table & gt; & Lt; / Table & gt; & Lt; / Div & gt;
.page loader {status: absolute; Height: 100%; Width: 100%; Background: Gray; MS-Opacity: 0.5; Opacity: 0.5; Z-index: 1000000; display none; Margin-left: -40px; Margin-top: -19px; }
Comments
Post a Comment