Forums

This topic is locked

Auto refresh dynamic elements ?

Posted 20 Jul 2001 03:40:41
1
has voted
20 Jul 2001 03:40:41 Oliver D posted:
I built a site for sport livescores (ASP/access). Now I want the site to auto-refresh the dynamic result string. (let´s say every 45 seconds) But I don´t want to refresh the whole .asp frame - just the dynamic result "text". Can someone help ?

Thanks in advance,
Oliver



Edited by - fisch79 on 07/20/2001 03:42:24

Replies

Replied 20 Jul 2001 10:47:31
20 Jul 2001 10:47:31 Waldo Smeets replied:
You could try to use javascript to write the text in your page. It's a difficult job when you are new to javascript. You should make a function that writes text into a specific place (it's best to write into a DIV).
Then use a hidden frame with a page that refreshes automatically and fires the function in the other frame and passes the correct new textstring to that function.

It is doable, but not a nice solution.

I am not sure what you realy want to do with the text and where it is placed. Maybe using an iframe can solve the problem.

Else filling the page with an array of strings that have to be shown by javascript is also a good option. Check out the 'news' scripts at www.dhtmlcentral.com

Waldo Smeets - www.UDzone.com Webmaster
------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
------------------------------------------

Reply to this topic