Hello,
It might be not the right forum, but most likely you no the problem
I have 2 frames. 1 main frame where the user loggs in.
The second frame refreshe iteself every 30 seconds and display if you are online or not. But if you log in in it possible that it takes 30 sec. to see that you are online. Is there a way to refresh the seconde frame with code.?
Thanks!
Refresh Frame
Moderator: General Moderators
Code: Select all
<script language='JavaScript' type='text/JavaScript'>
parent.framesї'FrameName'].location.reload()
</script>Code: Select all
<a href="javascript: parent.framesї'FrameName'].location.reload()">Reload Window</a>Code: Select all
onClick="parent.framesї'FrameName'].location.reload()"Replace FrameName with the name of ur frame.
- dull1554
- Forum Regular
- Posts: 680
- Joined: Sat Nov 22, 2003 11:26 am
- Location: 42:21:35.359N, 76:02:20.688W
if you use a form so send the users name and pass to login, you could use onSubmit instead of on click like this
Code: Select all
<form name="blah" action="blah.php" method="post" onSubmit="parent.framesї'FrameName'].location.reload()"></form>