Tag Archives: jokescript

Object-Oriented Client-Script

We hear so much about Object-Oriented JavaScript, but its all hacks. I have a solution that gives you Classes in JavaScript. Yes, finally, Classes in JavaScript! Just make you’re REAL CLASSES using VBScript, a true OBJECT-ORIENTED coding language. <script type=”text/VBScript”> … Continue reading

Sad Trumbone When Someone Leaves Your Website

Ladies and Gentlemen, I give you: Sad Trumbone When Someone Leaves Your Website http://jsbin.com/OMEKObA/1/ This cutting edge HTML5 Audio technique can be easily achieved. Simply add an audio element to your page. <audio id=”sad” src=”http://soundfxnow.com/soundfx/Sad-Trombone.mp3″></audio> Then bind the onbeforeunload event … Continue reading