Hi I was wondering if someone could help me with a script
what i want to do is change an image at a certain time which is in hours and minutes. heres what i have done but it doesnt seem to work
<SCRIPT LANGUAGE = ‘JavaScript’><!–
var time = new Date();
var hours = time.getHours();
var minutes = time.getMinutes();
if (hours > 19 && minutes > 5 && hours < 23 && minutes < 20)
document.write(“<IMG SRC=’
else
document.write(“<IMG SRC=’
//–></SCRIPT>
I am trying to build a webpage for a virtual airline. and the script i need is to turn boarding lights on 30 minutes before departure time and turn them off at departure time. Departure time is in both hour and minutes
any help would be much appreciated
Shane