denrich 4 Posted December 29, 2015 Report Share Posted December 29, 2015 Hey Ubotters, Anyone know how to make a loading logo PNG image run when the start button is clicked and stops when the stop button is clicked. Thanks. Quote Link to post Share on other sites
deliter 203 Posted December 30, 2015 Report Share Posted December 30, 2015 I dont know about how to make it stop,when stop is clicked if any use to you or somebody else,here is a script I got off of the net for a loading bar load html("<style> #load\{ width:100%; height:100%; position:fixed; z-index:9999; background:url(\"https://www.creditmutuel.fr/cmne/fr/banques/webservices/nswr/images/loading.gif\") no-repeat center center rgba(0,0,0,0.25) \} </style> <body> <div id=\"load\"></div> <div id=\"contents\"> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <h4> <em><b><center> Bot Loaded </center> </b></em> <h4> </div> </body> <script> document.onreadystatechange = function () \{ var state = document.readyState if (state == \'interactive\') \{ document.getElementById(\'contents\').style.visibility=\"hidden\"; \} else if (state == \'complete\') \{ setTimeout(function()\{ document.getElementById(\'interactive\'); document.getElementById(\'load\').style.visibility=\"hidden\"; document.getElementById(\'contents\').style.visibility=\"visible\"; \},1000); \} \} </script>") Quote Link to post Share on other sites
pash 504 Posted December 30, 2015 Report Share Posted December 30, 2015 Where you will load to Dialog / UI Html. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.