Not usual DBA stuff,
I was designing a web page for my team to quickly checking the status of all TEST, DEV and PROD databases. Since we have a hundreds instances to check, the page will take a while to load. Found this code from google, perfect fit for my need.
I was designing a web page for my team to quickly checking the status of all TEST, DEV and PROD databases. Since we have a hundreds instances to check, the page will take a while to load. Found this code from google, perfect fit for my need.
Code:
<script type="text/javascript"> var ray={ ajax:function(st) { this.show('load'); }, show:function(el) { this.getID(el).style.display=''; }, getID:function(el) { return document.getElementById(el); } } </script> <style type="text/css"> #load{ position:absolute; z-index:1; border:3px double #999; background:#f7f7f7; width:400px; height:200px; margin-top:-150px; margin-left:-150px; top:50%; left:50%; text-align:center; line-height:300px; font-family:"Trebuchet MS", verdana, arial,tahoma; font-size:18pt; } </style> <div id="load" style="display:none;">Checking DB ... Please wait</div> <form action="http://www.yahoo.com" method="post" onsubmit="return ray.ajax()"> <input type="text" value="Test" name="q"> <input type="submit" value="Search"> </form>
No comments:
Post a Comment