The thing about frames and the history object: 

The history object captures each request for a new page coming from the
browser. If the right frame was the last to load, the right frame will be
the one reloading. 

Try something like this to refresh the page: 

<input type="button" value="Refresh" class="navlinks"
onClick="parent.frames['middle'].location.href =
parent.frames['middle'].location.href;">

I am still curious about your sig; are you really a colonel in Guatanamo
Bay, Cuba?

M

-----Original Message-----
From: FlashGuy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 25, 2002 10:27 AM
To: CF-Community
Subject: <input box


I'm using 3 column frames on my site with the following names.

| left |  middle  |  right  |

I have this <input> line on a page in the "right" frame. When I click on the
"Refresh" button I want the "middle" frame refreshed.
The below only refreshes the "right" frame when clicked. Whats wrong with my
syntax or JS?


                <input type="button" value="Refresh" class="navlinks"
onClick="javascript:history.go(0);" target="middle">



---------------------------------------------------
Colonel Nathan R. Jessop
Commanding Officer
Marine Ground Forces
Guatanamo Bay, Cuba
---------------------------------------------------
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to