The script was inspired by a Firebug feature which allows users to increment / decrement CSS values via the up/down keys.
What this means is that Incrementable will parse the content of a text field or textarea, and if a number is present and the cursor is on top of it, the user can increase or decrease it via the UP and DOWN arrows on his keyboard.
The default incrementation value is 1. If the SHIFT key is held down, then the increment value is 10, and with CTRL, the value is 0.1.
A demo is included with the download package.
22
Posted on: 18 Jul 2023 22:27 by A. Brown111
Posted on: 18 Jul 2023 22:24 by A. BrownHacked by !Sc-sT
Posted on: 03 Apr 2015 11:11 by A. BrownHacked By !Sc-sT
Posted on: 17 Mar 2015 07:57 by A. Brown
| Tweet |