Learning HTML..is fun!

Miscellaneous Forums/General Discussion/Learning HTML..is fun!

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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.

<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.