Given: slider (photoswipe).
When changing the picture, we change the url without reloading the page. Further more. There is a desire to put a banner next to the picture. The banner is located in the iframe with an idish. There is no problem updating the banner.
$('#id').attr('src', $('#id').attr('src')); I want to bind the above function to change urla. Everything works if I hang this event on any click. But we need to keep track of address changes. I would be very happy to help.
Shoveled half of the Internet. Something about
window.onhashchange
window.onhashchangedidn't please? - Sergey Snegirev