[thelist] Refreshing a part of a page

John Pye john.pye at purplehouse.com
Tue Jun 12 09:47:49 CDT 2001


Three ideas for you Subhendu:

1. You could use the microsoft data access components - but that would only
work with IE4+

2. Otherwise maybe try a IFRAME or ILAYER or FRAME or LAYER within your page
to download a reduced part of the page. You would have to detect Netscape or
IE browsers and use the approriate tag.

3. You could use a very small empty frame at the bottom of the page with
some javascript in it, reloading itself every couple of seconds. This
javascript could re-write the value in the main page using e.g.
parent.frames[1].window.document.form.score.value="100/3". To be compatible
with earlier browsers, that part of the page would have to be an INPUT box
though. I think this solution would work almost all browsers with
Javascript -- but requires frames.

Does that help?


John Pye
http://www.creativebase.com/
+44 (0)20 7258 6900


-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Subhendu Mohapatra
Sent: Tuesday, June 12, 2001 3:16 PM
To: thelist at lists.evolt.org
Subject: [thelist] Refreshing a part of a page


Hello,
           How can I refresh a portion of a page. I am displaying a cricket
score in my site where all text, images everything remains same and only the
present score = ###   where the ### should refresh and get the value from
the server ( say from a database ) in every one second. I don't want to
refresh the whole page to display the current value of score. While reading
the text ( content ) of the page this value only should dynamically keep on
changing.

           I am not getting the idea on how to start. I know ASP ( or it can
be any thing )

Regards,
Subhendu Mohapatra
Freelance web designer
 www.plus2net.com



---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !







More information about the thelist mailing list