Forum Moderators: coopster

Message Too Old, No Replies

Refresh image and portion of webpage

         

fib_81

11:58 pm on Feb 10, 2006 (gmt 0)

10+ Year Member



Hi Everyone,

Is there a way to refresh a portion of webpage? What I am trying to do is I want to query the database every three seconds or so for value x and if value x is True then I show a different image. Is that possible?

Thanks

Dijkgraaf

10:46 am on Feb 11, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



One way is that you could have an hidden iframe with a referesh meta tag in it that does the database query, and have it write a piece of javascript that changes the image when it needs to.

fib_81

4:52 pm on Feb 11, 2006 (gmt 0)

10+ Year Member



Thanks Dijkgraaf. I did some web searching and iframes seems to be the preferred solution. Thanks again.