Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Javascript
Replace old image: question
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Andy, post: 4723885"] Can someone please help me with this problem? I don't know if this is possible in Java, so if it's not please point me in the right direction or to the right newsgroup! (I'm a newby to Java scripting). On a web page I have a webcam type image that updates every minute. I wish to conditionally replace this image with an apology image in the event that my upload fails for more than an hour. I guess what I want is some script that will check the image file timestamp (last modified time), and if it's more than an hour old replace it with the apology image. I've scoured the web for ideas but so far found nothing. Can anyone write the script for me? I'd be very grateful! Thankyou in anticipation, Andy. -- [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Javascript
Replace old image: question
Top