This JavaScript code can be used to convert tables in ordinary HTML into sortable ones by associating each title column with an onClick event to automatically sort the data rows. No additional coding is necessary. All you need to do is give your table an ID field, include the sortTable.js file and call initTable in your document`s onLoad method....
Possibly the net`s first, this DHTML script brings to life once the dullest of the dull element on your page- the TITLE element. The script automatically seeks out the title of your document, and animates it to view in IE 4+ and NS 6!... Tags:
Use BrowserAPI to properly access the HTML DOM (Document Object Model). With this wrapper script in place, each object can be accessed in one way and work on multiple browser platforms and platform versions....
This is a highly flexible quiz script that can be used to test your visitors, with the results instantly graded on a separate page. Script supports arbitrary number of questions, each supporting an arbitrary number of choices....
YearJump is a control used for navigating through the years. It itself apparently doesn`t have much use, but it can be adapted to some other category of navigation instead of years.... Tags:
Put a print button on your web report that will not appear at the top of your hard copy. The script requires a newer browser such as IE4+ and NS/Mozilla 5+. Drop-in script is easy to integrate into your site....
This script is a dropdown menu frontend that provides webmasters an easy-to-use way for his/her visitors to execute the most popular IRC commands within the applet.
GojIRC Front End is completly configurable and is entirely made in JavaScript so it is compatible with actual browsers, and some older ones.... Tags:
A client-side script to retrieve data from URLs in a similar way to ASP using an almost identical syntax. Using the script is a matter of including a script tag and src attribute that points to the script on your web-server. The script correctly decodes URL data and builds a collection of keys and values for them. As well as basic functionality it also supports child methods Count(), Key() and Item() plus enumeration. So the script is simple enough for beginners to use, but has all of the power of ASP`s Request.QueryString() object for more advanced users. Offered as free but requires the copyright message to be left intact....
Sticky Note is an attractive DHTML script that pops up at the center of the page to display anything of your choice. Customize everything from how often the Note should appear on the page, for how long, and whether a fade-in effect should be accompanied....
QProgress creates an arbitrary-direction progress bar control. The growth direction as well as bar orientation is specified in object constructor and cannot be dynamically changed. The bar is set by an integer value. If value is lower or equal the LOW bound then an empty bar is displayed. Values between LOW and HIGH bounds are displayed as a percentage of the bar. If value equals or exceeds the HIGH bound, the bar gets fully filled. The bounds can be dynamically changed in runtime....
This JavaScript checks if all the images in the document exists. If a particular image does not exist, that image will be replaced by a custom image. Works with IE only. In IE, if a particular image does not show up, then its dimensions are 28 x 30 (without the `alt`). So, the script checks all images with this size after removing the `alt` tag. If such an image exists, it is a broken-image. The only drawback is that if your image has dimensions of 28 x 30, even if it exists the script will treat it as a broken-image. But there is a solution. You can prevent the script from checking for such scripts by placing an attribute-value pair nc="1"....
This script allows you to enter in the time, an optional message to be displayed. When the timer expires, a new window pops up and displays you the reminder message....
A Meta Tag Generator with page transition effects. Real time generation, just click and copy code. One simple HTML page that can be uploaded to any server and instantly used to create meta tags and prevent MSIE image toolbars and smartparsing....
This is a simple script, when placing in the head of the page, allows you to block JavaScript errors in the page. This can be useful with page material when using thrid-party sources that may contain errors (ad banners, automated news feeds, etc.)....
You`ve probably noticed those cool icons that show up in the URL box and with Favorites (bookmarks) in IE5. Here are two easy methods to do it, along with information on icon creation and troubleshooting....