1 JavaScript & ...HTML? Help Thu Jan 14, 2010 9:29 pm
MrMega
Registered Member
- Code:
<div align="center">
<script type="text/javascript">
function show_alert()
{
alert("You opened the Golden Treasure Chest and found...nothing but dust");
}
</script>
<img id="Secret" src="http://stupidmariobrosfansite.freeforums.org/images/Treasure-chest-closed-icon.gif" width="32" height="32" border="0" alt="" / onclick="show_alert()" value="Show alert box" />
How do I make the code after the div align appear only at certain times of the day, via JavaScript code? (automatically)
Last edited by MrMega on Mon Jan 18, 2010 4:17 am; edited 4 times in total