It seems you can't do a second resize if you click a link within the frame? The second page also includes the script. Eg. putting `<a href="frame2.html" >Change source of first iframe</a>` inside frame.html