Ive been trying to make this webpage which refreshes one single image from the server every 'x' seconds. I have no knowledge of javascript so I used google to find something to suit my needs. The script I obtained works fine apart from the fact that sometimes it displays a blank image. (This happens more on my mobile device (Windows mobile IE) than laptop, most probably due to bandwidth issues.
Is there a way in JS to only display the image once the browser knows that the image has been completely downloaded and if it has not been completely downloaded, keep the last image displayed. Any help will be appreciated. Thank you.
YES!! I've waited SO LONG for us to have a scientific breakthrough that would allow us to bring armrests to our world from the EIGHT DIMENSION!! 8D armrests finally! Now my nemesis Captain Primo will never stop me! IGOR! PREPARE the DEATH RAY!!
I like mesh chairs like this, but not being able to lock in the back would make it not work for me. Also, I don't like arm rests at all. Can you not install them and the chair still work? Any recommendations on alternative chairs?
As before, my notes are in your quoted section. To be clear, you started posting racist, fascist nonsense. And I always challenge lies and the liars that peddle them.
Why? Because the truth matters.
Question
.AlleymaN
Hi,
Ive been trying to make this webpage which refreshes one single image from the server every 'x' seconds. I have no knowledge of javascript so I used google to find something to suit my needs. The script I obtained works fine apart from the fact that sometimes it displays a blank image. (This happens more on my mobile device (Windows mobile IE) than laptop, most probably due to bandwidth issues.
Is there a way in JS to only display the image once the browser knows that the image has been completely downloaded and if it has not been completely downloaded, keep the last image displayed. Any help will be appreciated. Thank you.
Edited by .AlleymaNLink to comment
https://www.neowin.net/forum/topic/513381-javascript-image-refresh/Share on other sites
10 answers to this question
Recommended Posts