Type: Posts; User:
Ok I figured it out. Here's the code that worked:
I've been searching the web for this and can't find an answer other than using JS to do this:
I have a <div> image on a web page, and every time I hover over that image, I want another image to...
Thanks that worked. It's kind of hack almost but hey, mission accomplished :)
Is there any way to distinguish between hitting OK with nothing typed and hitting "Cancel?"
Thanks! That kind of worked, but if it were to run exactly the way I wanted it to, hitting "cancel" on the first prompt would alert("That's cool."), and hitting "ok" with nothing typed would alert("I...
First post here. This is a simple game I created within my HTML5 doc. It's "Rock, Paper, Scissors." Can someone tell me why this code runs as it should in FF and Chrome, but not in Safari?