Firefox onresize bug

D

David

Greetings,

Does anyone know of a workaround for the onresize bug in Firefox?

<body onresize="history.go(0)">

I've looked all around and can't seem to find a working workaround.

David
 
C

Cédric Correa Luna

Hi,

<body onResize="history.go(-1);"> works fine in FF.
I presume "history.go(0);" works as well, the thing his "history.go(0)" just reloads the current page. May be that's why you won't see it move.

You could also do :
<script type="text/javascript">
function Yo () {
history.go(0) ;
// OR window.location.reload() ;
}
window.onresize = Yo ;
</script>

Hope this helps ...

Cédric

David a écrit :
 
D

David

Normally that would work but Firefox version 1 doesn't support onresize. I
think it has something to do with the tabs. I've heard about using css and
setting the body to display:none and then display:block and the elements
will realign but it doesn't work in all instances. Just hoping someone knew
of a workaround in js.

David





Cédric Correa Luna said:
Hi,

<body onResize="history.go(-1);"> works fine in FF.
I presume "history.go(0);" works as well, the thing his "history.go(0)"
just reloads the current page. May be that's why you won't see it move.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top