View Full Version : Refreshing window on re-size not working in firefox

08-09-2005, 08:25 PM
Dear friends,

I want window to be refreshed whenever it's re-sized.

The following code works in IE but it does not work in firefox.

Here is the code:

<script type="text/javascript">
window.onresize=new Function("location.reload();");

How do I make it work in firefox browser also?

I'll appreciate your help.

Thank you.

08-10-2005, 12:32 AM
Why that doesn't work in FF I couldn't tell you, but this works:

<script type="text/javascript">

function reloadWin()

I will say though, there are very, very few circumstances where this behavior would be acceptable to me as the end user.

Heh, that still doesn't work, will send you to a different url on resize though, just not the current url, strange.