/**(C)Scripterlative.com !!! READ THIS FIRST !!! -> This code is distributed on condition that all developers using it recognise the effort that -> went into producing it, by making a PayPal gratuity OF THEIR CHOICE to the authors within 14 -> days. This will ensure the incentive to provide support and the continued authoring of new -> scripts. -> If you think people should work for nothing and you cannot agree to abide promptly by this -> condition, we recommend that you decline the script. We'll understand. -> Gratuities cannot be accepted via any source other than PayPal. -> Please use the [Donate] button at www.scripterlative.com, stating the URL that uses the code. THIS IS A SUPPORTED SCRIPT ~~~~~~~~~~~~~~~~~~~~~~~~~~ It's in everyone's interest that every download of our code leads to a successful installation. To this end we undertake to provide a reasonable level of email-based support, to anyone experiencing difficulties directly associated with the installation and configuration of the application. Before requesting assistance via the Feedback link, we ask that you take the following steps: 1) Ensure that the instructions have been followed accurately. 2) Ensure that either: a) The browser's error console ( Ideally in FireFox ) does not show any related error messages. b) You notify us of any error messages that you cannot interpret. 3) Validate your document's markup at: http://validator.w3.org or any equivalent site. 4) Provide a URL to a test document that demonstrates the problem. Description ~~~~~~~~~~~ Scroll a div by placing the mouse cursor near an inner edge. Installation ~~~~~~~~~~~~ Save this file as 'cursordivscroll.js' in a suitable folder. Within the
section place these tags: (If cursordivscroll.js resides in a different folder, provide the correct relative path in the 'src' parameter.) Configuration ~~~~~~~~~~~~~ Anywhere in the document BELOW the element(s) to be scrolled, insert the following tags, replacing the parameters with suitable values as shown in the examples. IMPORTANT - Place the tags at a point within the BODY section, anywhere *below* all the divs to be scrolled. Meanings of Parameters ~~~~~~~~~~~~~~~~~~~~~~ divId - The ID attribute applied to the div to be scrolled. (Required) depth - A number in the range 1-40 specifying the percentage width and height of the active area within the div. (Optional) rate - This is an optional parameter determining the maximum number of pixels scrolled per iteration. For reference, the default value is 20. (Optional) Usage Examples ~~~~~~~~~~~~~~ Configure a