View Full Version : Frame Reloading Problem?

06-25-2009, 08:35 PM
Okay, I have a two frames on a page, one named 'main' and the other named 'charpane'. The charpane frame contains the stats of the player in a game I'm making. I've made a script so that when you go to a new page, it refreshes the charpane frame.

It's simple enough, just looking like this:

<script type='text/javascript'>parent.frames['charpane'].location.reload();</script>

...And I just dump that into the <body> tag. So far it has worked properly, but now the 'main' frame has two frames in it, fightPane and actionPane. When fightPane calls that same script, it doesn't work. At all. Now, is it like Java, where I have to call something like


or something? I can't figure it out. :(