W3C home > Mailing lists > Public > www-html@w3.org > January 2003

Re: IFrame Resets

From: HectorCS <v@ultimorender.com.ar>
Date: Wed, 8 Jan 2003 08:15:33 -0300
Message-ID: <002901c2b707$43933490$0200a8c0@virtua>
To: "PERUGINI, MICHAEL (SWBT)" <mp2396@sbc.com>, <www-html@w3.org>

You could try adding the date and time as an argument when calling an update
so it'll be a new link to the browser but calling the same file. I read this
as a way of forcing the browser to reload a new copy of a JPG for a web cam

it'll be like this:
function reload_info(my_frame, my_file){
frames[my_frame].location.href= my_file+'?d=' +new Date().getTime();

and replace you current code at the onclick attr with

hope it helps,
----- Original Message -----
From: "PERUGINI, MICHAEL (SWBT)" <mp2396@sbc.com>
To: <www-html@w3.org>
Sent: Tuesday, January 07, 2003 3:47 PM
Subject: IFrame Resets

> I am currently using Iframe to pull in information into a webpage..
> example.
> <form method="POST">
>     <p align="center"><iframe name="IFrameName" frameborder="yes"
> width="700" height="400" scr
> olling="yes">If you can see this then sorry but your browser does not
> support inline frames.</iframe></p>
>     <p><font size="+1" align=center>This frame is initially blank, because
> it has been assigned no content. Click on the following button to
> dynamically update it.</font></p>
>     <table border="0" cellpadding="2">
>         <tr>
>         <td><input type="button" name="B1"
>         value="Gather System Information"
> ">
> </td>
>     </table>
> Now it pulls the information just fine.. how ever it does not actually
> dynamically update when you click on the button as I was lead to
> you have to actually refresh your browser.
> So how do I..
> 1. get this to update dynamically when i press the button or
> 2. reset / clear the Iframe so it will pull in the new txt file ...
> note the sysinfo.txt file is updated every 5 minutes..
> Michael Perugini.
> TSS Admin.
> Kansas City, MO.
> 816-275-3973 / pgr: 816-212-5418
> mailto:mp2396@sbc.com
> Note: The information contained in this message may be privileged,
> confidential and protected from disclosure outside SBC.  If the reader of
> this message is not the intended recipient, or an employee or agent
> responsible for delivering this message to the intended recipient, you are
> hereby notified that any dissemination, distribution or copying of this
> communication is strictly prohibited.
Received on Wednesday, 8 January 2003 06:19:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:02 UTC