It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Frame Reload

Frame Reload

Postby jhonbob3 on Wed Feb 08, 2006 4:59 am

Hi everyone.
So I have a problem. There's a site I use that times out every 5 minutes if you are not active. I find this really annoying because I only need to access it about every half hour, so I'd like to make a simple page that gets rid of my problem. My idea on how to solve this was to take a 2 frame page and have frame 1 refresh frame 2's content. Frame 2 would of course carry whatever site I choose. Here's the catch, I need it to reload whatever is on frame 2 NOT just a static page.
For example, if I started with google.com and was doing searches, at the 5 minute mark I would like to see whatever current page I'm on refresh, not just go back to google.com. This is in the Javascript forum because I've been experimenting with different ways of doing this with Javascript. Here's what I have so far:
Code: Select all
<html>
<script Language="JavaScript">
onLoad=window.parent.f2.setTimeout("history.go()",7000)>
</script>
<frameset rows="50%,50%" border="0">
  <frame src="red.html" name="f1">
  <frame src="blue.html" name="f2">
</frameset>
</html>

Any ideas?
-me
User avatar
jhonbob3
 
Posts: 45
Joined: Wed Nov 09, 2005 4:02 am

Who is online

Users browsing this forum: No registered users and 3 guests