Well, I've found the key - a very useful tool called SyntaxHighlighter.
And just so I can remember how to set it up next time I need it, there is a very useful wiki over at Carter Cole's Blog.
And just so you can see it working:
//Define and initialise our variables
var alertMsg;
alertMsg = "Hello World";
//Set up the alert window
if (alertMsg != "") {
window.alert(alertMsg);
}
No comments:
Post a Comment