|
Jokes Script
We have created a full-fledged script for issuing a random joke (or gag) using
JavaScript for old browsers. To insert our joke script into your site, add this code:
<script src="http://downgrade.hoho.ws/jokes/joke.php"></script>
An example of the script's operation (using an additional <i> tag) can be seen on this page above. Also, script insertion is supported for Russian jokes only:
<script src="http://downgrade.hoho.ws/jokes/joke.php?lang=ru"></script>
If you're interested in what the actual Javascript code that's being output looks like, look here or here.
|