|
S C R I P T E R L A T I V E
- Supported JavaScripts - |
|---|
Scripterlative provides a useful selection of JavaScripts created as a result of repeated requests from web developers.
The collection is inspired to no small degree by the inferior quality and obsoleteness of offerings from the popular submission sites. Whilst they appear more-latterly to be trying to raise their game (perhaps inspired by this site), scripts found in such places have invariably revealed many dubious programming practices, leading to incompatibilities, un-suppressed errors and conflicts with other scripts. A situation compounded by the fact that many of the 'authors' of such code, have long since abandoned supporting it, if ever they did.
This site's scripts range in usefulness from sensible aesthetic and operational enhancements, to image display systems, advanced rollovers, frame synchronisation, advanced content scrolling utilities, cookie management, cascaded select boxes and other form-handling utilities. There is nothing of a frivolous nature, so those seeking snowflakes, mouse trails, spinning menus, screen-shakers or the like should look elsewhere - or perhaps not.
All code is written with consideration to robustness, compatibility and ease of installation and configuration. The use of global variables is avoided and pre-existing event handlers are not overwritten.
Of necessity, some scripts require extensive data entry of file names and options etc. For these, clear instructions are provided.
All data and options are specified as function parameters, so no script requires any editing of its actual code.
All scripts are original, although some will have been posted under aliases on internet forums.
Users are expected to have the basic text editing skills required to install scripts, and to specify relative file paths. For as long as this site remains active, support will be available upon request for all scripts shown.
Further scripts and modifications may be added as circumstances dictate.
This site is un-sponsored...
Replaces most common accented characters typed into form fields, with their non-accented equivalent.
Often requested for use with email address fields.
[FREE]
Manage master-slave checkbox groups to check/uncheck/enable/disable multiple boxes simultaneously.
Multiple groups can be configured
A comprehensive solution to a common requirement
[FREE]
Prevents accidental form submission when the Enter key is pressed.
The Enter key just moves the focus to the next element.
Can be configured to skip elements that don't use text entry.
Does not focus Submit or Reset buttons.
A set of encapsulated functions to read and control all aspects of radio buttons and checkboxes.
[FREE]
Controls multiple groups of dynamic chained select boxes.
Features built-in optional AJAX data retrieval.
Option data can be loaded/retrieved using any combination of
De-populated boxes can be hidden.
Isolates the developer from having to manipulate source code arrays.
A JavaScript FRONT END for user rating systems
Multiple Unique Preference Listboxes - Controls a set of listboxes for selecting order of preference.
As a selection is made in one box, that option is excluded from all the others.
[FREE]
Appends dimensioned copies of form text fields and text area elements immediately after the original field.
Options include:
New fields can be named either the same as the original, or with a sequential numeric suffix appended.
Appended fields can also be removed, singly or all together.
[FREE]
The much-maligned status line scroller.
Scrolls a randomly selected message from a list, for a specified number of cycles.
Does not interfere with URL displays from hyperlinks in the same frame.
Can select randonly from a list of messages and display a final static message.
Scrolls two or more same-domain frames in synchronisation, when any one is moved by the user.
Scrolling is in proportion to the relative lengths of the involved documents, and works both horizontally and vertically as applicable.
Synchronised user-scrolling of groups of divs.
When the user scrolls any div in a configured group, the rest scroll by the same proportion of their own length.
Supports vertical and horizontal movement and multiple independent div groups.
This script allows the mouse cursor to scroll a div in any scrollable direction just by placing the cursor close to the relevant edge. This can be a great enhancement to your site's operation, as you can see from it's use on this menu.
Replaces hovered link text with a scrolling text description in the same space.
A useful alternative when popup tooltips may be intrusive.
Navigate to anchors with a decelerating scroll, in place of the default jump action.
Progressive decelerating scroll to anchors within scrollable divs, in place of the default jump action.
Within a given browser session, on refresh of a document, this script restores the previous vertical & horizontal scrolled positions.
Within a given browser session, this script returns a scrollable div to its previous vertical & horizontal scrolled positions on refresh/reload.
Multiple divs can be restored.
Drag the entire document vertically and horizontally using the mouse. Can be toggled on/off by double clicking
A simple, reliable and versatile image pre-loader
[FREE]
A visual demonstration of this script is pointless.
Download Source Code and Documentation
A reprise of the often-requested banner rotator, providing multiple displays in either static or slideshow modes.
Static mode offers non-repetition on reload.
Slideshow mode offers optional display randomisation and 'freeze on hover'.
Each displayed image can form a clickable link to any URL
Displays multiple automatic or manual captioned slideshows on one page, in separate or shared positions.
Provides Start, End, Pause, Next & Previous buttons with direction changing.
When a configured image is clicked, this script reads the cursor position relative to the top left corner of the image, then passes the data to any other script via a user-supplied function.
Configured images can be arranged either into a single group all calling the same user function, or into separate groups.
Returns accurate data even when an image is contained within a scrolled div.
Displays full size captioned images triggered from disjointed rollovers of thumbnail images or links.
Supports multiple displays in the same document.
Configurable to select either by hover or click.
Features support for stepping buttons and look-ahead image pre-loading.
Multiple sequential slideshows whose images can be clicked to display an enlargement in a popup div or window.
Hover any element to display an image enclosed in a floating div adjacent to the cursor, with optional title text.
Selective Image Preloading, Optimised Image Positioning, Shrink-To-Fit Resizing, Individual Div Styling.
Dual or Tri-State graphical rollover buttons that stay 'locked' when clicked, until the click of another button in the group.
Featuring
Provides easy setting and swapping of element class names, either on single elements or globally.
Useful for changing CSS attributes of multiple elements.
[FREE]
Make cookie handling as easy as it gets with these integrated functions.
Set, read, modify, refresh, delete and increment cookies, without the clutter of separate functions.
With this script module included in your document, you're effectively adding to the JavaScript language.
[FREE]
Contrary to what you may believe:
NOBODY needs a countdown timer, so we won't be writing one!
This script fades the background and foreground colour of links, buttons and other elements on hover.
Makes a smooth transition between any two RGB colour values.
Link fading can be triggered on focus by keyboard users.
Very easy, unobtrusive configuration.
This script highlights a hovered element, link or button in a specified group, by fading out the others.
This effect produces single-image rollovers.
Features optional 'locking' on click and presetting on load.
The simplest solution to reading absolute mouse co-ordinates. Data is updated automatically and is readable globally by any other script, without messy function calls.
Simple management of multiple popup windows.
Handles opening/reopening/closing while creating and storing all references.
[FREE]
Pop up fully customised windows in response to the click of a link or other element.
Selects a random URL from a supplied list for a specified link, each time the document loads.
Will not repeat the same URL consecutively (subject to cookie support).
Annunciates the url in the title bar on hover, along with a text description.
Supports multiple links each with their own URL list.
[FREE]
Play different sound files when hovering links and form buttons.
Easy, unobtrusive configuration.
Easily configured, individually customisable popup tooltips that can contain any type of element, including other websites.
Can be entered by the mouse cursor to copy data, and when populated with links can act as inline menus.
If it works under that browser, just re-download the script and transfer it to your site, after having made any 'edits' previously advised by us.
Thank You.
Feedback Form
Complete the form then press 'Send'