Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need to stop loading indicator when a user hits browser stop button

 
Matt Kohanek
Village Idiot
Ranch Hand
Posts: 484
Java jQuery Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

Right now I change the mouse by doing this when a button on my page is clicked.


I have the code in place to change the cursor back as needed for the most part. However, there is one case where I cannot stop the loading cursor indication - when the user hits the browser stop button

Is there a way to monitor this event, and take some action if it occurs?
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We probably need more details. I assume you've changed the wait curser because when you submit some sort of request, it takes a bit to process. But the user clicks the stop button and so the page never refreshes, which means your mouse never has a chance to be changed. Is that right?
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some older IEs support onstop, not sure if other browsers do.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic