Chroma, that's still Javascript. All on* attributes specify Javascript snippets. If you call a function, then you can move the block of code out to a <script> tag (that's what your previous example does). You can include several lines in an inline JS block by separating them with semicolons.
Crap...forgot you have to have an apache webserver running to use php....that sucks.
Nope. It runs fine with IIS, and there are even editors that have it embedded so you can run things directly in a preview tab without having any server installed at all.
<img src="blue.gif" width="32" height="32" onMouseOver="this.src='red.gif'; alert('mouseover');" onMouseOut="this.src='blue.gif'">
Crap...forgot you have to have an apache webserver running to use php....that sucks.
Nope. It runs fine with IIS, and there are even editors that have it embedded so you can run things directly in a preview tab without having any server installed at all.