javascript - Detecting the visiblity of status bar in internet explorer -


There are two frames in my page The upper frame is a JSP that takes the parameters entered by the user, the lower frame one Crystal Reports viewer, which once clicks on the Reports report button, clicks on the button (located in the upper frame). I get a status bar at the bottom of the window (IE property) crystal reports in the report to process and populate the data. This is a back-end process. I need a loading image or message that keeps up until the report loads. However, there is no indication where the process is stuck on my JSP that I can monitor the start or end of the process. So, my idea is to monitor the status bar of Internet Explorer. This moment starts when I want to load my image in the center of the screen and once the status bar is complete, the image should go. I will use something like set internal (checkstats bar (500), which will check every 500 milliseconds for the existence of the status bar. My question is, which code will be in check status? I need a javascript code .

Instead, you might want to find out that when the load events of the second frame are removed You can do it with just like the following What you are looking for:

  $ (selectorForTheSecondFrame) .load (function () {stopShowingLoadingIndicator ();});   

Where < Code> selectorForTheSecondFrame is a CSS selector that will select the frame you want to check and stopShowingLoadingIndicator is a task that you want to do once the frame is loaded. < P> Obviously, this will depend on your project jQuery. If you want you can do this in pure JavaScript too, it is only Hi will work.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -