This useful tutorial shows you how to format numbers for a specific number of decimal places or significant digits in JavaScript.
Top JavaScript scripts
1).
Dynamically Add Table Rows This script allows the user to click on a link to dynamically add a row to the table of the web page allowing you to alter the contents. Works in both the IE and NS.
2).
Gradient Background Fader This script creates a smooth and stunning gradient background animation between two colors. Easy configuration of colors. Internet Explorer 5x/6x or higher.
3).
Amazon style Drop-in content box Amazon style Drop-in content box lets the webmasters to design the content pages effectively. Any sized window that contains your own message can be displayed randomly when accessing site pages.
4).
Pull Down Menu This JavaScript generates popup menu, which can be placed over HTML contents, elements, frames, flash and over browser window. The script uses an external txt file to load the menu structure.
5).
Pick the Color This script can enable you to know the RGB number for a color and also to know the color that will be created with a particular set of RGB numbers. Compatible with both IE and NS.
6).
Color Picker Color Picker is a simple and small JavaScript that can be implemented in your webpage to generate RGB and Hex values and the opacity of a color of your choice.
7).
Auto Homepage - Add to Favorites Script This JavaScript can set any specified URL as the visitor’s homepage and also add the URL to the favorites. The codes can be copied onto the of your web page.
New JavaScript scripts
1).
Auto Homepage - Add to Favorites Script This JavaScript can set any specified URL as the visitor’s homepage and also add the URL to the favorites. The codes can be copied onto the of your web page.
2).
Arrow head title This is JavaScript that displays moving arrows along with a title text in the title bar of the visitor’s browser. The title text displayed in the title bar is customizable through the script.
3).
htmlArea Turn any textarea into a WYSIWYG editor.
4).
Text Box Ticker This JavaScript can display any number of text messages. The messages can be linked to URLs. The speed of the news ticker can be changed by you. The messages are displayed on a text box.
5).
Simple Context Menu (IE Only) This is a simple yet versatile JavaScript that can display a menu in your webpage when the user right clicks. The script is compatible with Internet Explorer 5.0 or above.
6).
Timing of VBS-JS code PSTRUH Software has added new properties to the ScriptUtilities library - hi-resolution performance counter. New properties lets you measure time with precision up to nanoseconds.
7).
Sorting HTML Tables Using Javascript This JavaScript implements a sortable table in an ordinary HTML data tables. The script automatically sorts the rows with data by associating it with an onClick event.