Temperature Conversion ScriptThis script converts temperature to/from Celcius, Fahrenheit, Kelvin, and Rankin. Enter a number in the first text box, select unit to convert from, select unit to convert to, then press the 'Convert' button. The answer will appear in the last text box.
Length Converter scriptUse this practical script to easily convert between the 7 most popular length units- centimeters, meters, kilometers, miles, inches, feet and yards. Simply enter a number, and let the script display the desired equivalents. Cool.
Line Wrapper scriptWraps entries in a
textarea box to whatever number of
characters per line you want. For example, The script can automatically insert a return after each 50 spaces, so that the
form contents you receive are more readable. (The script does indifferently break lines in mid-word, a possible fix for the next version?)
Jackpot Numbers - JavaScript Just For FunSometimes when updating an HTML value using JavaScript it is appropriate to animate the HTML in some that draws the users eye to the change. Often designers choose to animate the
opacity or a background color. Today’s widget illustrates a different approach to use with numbers, where the value quickly counts up or down from the current value to the correct value.
Documentation
From ©
JavaScript Kit
Customize the invocation code based on HTML of your ticker :
richhtmlticker.define({
id: "myhtmlticker", //main ticker DIV id
msgclass: "messagediv", //CSS class of DIVs containing each ticker message
msgsource: "inline", //Where to look for the messages: "inline", or "path_to_file_on_your_server"
rotatespeed: 3000, //pause in milliseconds between rotation
animateduration: 1000 //duration of fade animation in milliseconds
})
The first two parameters should correspond to the ID of the main
Ticker DIV and CSS class assigned to the inner DIVs separating each message. For
the 3rd parameter, if your ticker messages are contained in an external file,
specify the path to it relative to the current page. For example:
msgsource: "tickercontent.htm",
This file should only contain the ticker messages themselves, each wrapped
around a DIV tag with a shared CSS class name.