Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reload other frame when window is resized

 
sreeni san
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two frames, one with frame1 and frame2. When the window is resized the two frames are getting reloaded in Netscape, but the frame2 has buttons which I am not able to click.
If I reload frame2 seperately then the frame is becoming active and I am able to navigate.
I tried with these
<body onresize="parent.frame2.reload()">
also tried with window.location.reload().
Anyone please let me know how to reload frame2 when window is resized.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
put the reload code in the <framset> tag
onresize="parent.FrameName.reload()"
if that does not work then try this
onresize="parent.FrameName.document.location.href=parent.FrameName.document.location.href"
Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic