Content fadeOut .. Browser backward button
Hi guys,
When clicking the menu links on my site I want the page main content to fade out just right before the linked page is loaded, this way..
- $(document).ready(function () {
- $('#topmenu a').click(function() {
- $('div#main').fadeOut();
- });
- });
But when I click the browser backward button and it goes back to the page I was, its content remains faded out, which is kind of awkward..
I just want the page content fading in again if the browser backward button is clicked.
Is there a way I can adjust this?
Thanks!