I made a way to display a loading indicator at the bottom of the page when I clicked a link.
When someone clicks the back button, he does not refresh the contents of the page, thereby showing the loading area.
Is there a way to determine if a page appeared from a redirect to launch a method to remove the loading indicator?
Kind:
function cameFromeBackButton(){
OR is this a way to stop the back button and start the method instead? So:
function backButtonClicked(){
EDIT: This is pretty much called the area
$('.link').click(function(){ //make loading area $('container').append(loadingAreaString) //grab the href and goto page window.location.href = $(this).attr('href'); return false })
user240993
source share