Music Randomizer - Music on a website is fine so long as you do not have to listen to the same song over and over as some unfortunately do. Randomization makes short work of that. Moreover, this MIDI player will switch tracks if the same song has been playing too long.
You should go through the script and change the script to meet your specialized needs. Just look for the conveniently placed CHANGE comments located in the script; there are only two of them, one at the bottom and one in the song list.
Color Picker - In the AD&D Story Book, I allow users to pick the color of the text they read. This comes in handy for any large text block; why should you decide what is most comfortable to read? You do not have your readers' eyes, and if you did, it would be very creepy and quite criminal.
The code works simply enough. All you need to do is display some buttons:
All you need for this script to be complete is a DIV or some other HTML element with the ID of coltext, like so:
You can change the color values to whatever you fancy and arrange the buttons however you wish.
|Copyright © 1999-2022|