Anyone know how to refresh/reload page on browser resize
Hi,
I need to some how reload the page when a user re sizes their browser. I'm using jquery.
I'm able to reload the page on click and i can peform a function on resize, but for some reason the reload bit doesn't work when in the function that firs on resize.
What i have so far:
This works on click
$('#target').click(function() {
window.location.reload(true);
});
and this fires the resizeWindow function ok but the window.location.reload(true); is ignored
Anyone got any ideas, search loads and can't seem to find anything. It can be done can't it?
Thanks in advance
Ben