dzLib.js
|
Checkbox Navigator | |
jsEssentials
dateLib
jsStrings
Controls
Tools
Navigate
|
Description: Live Demo
Global Google site
Dutch Google site
Google UK
Global Google personalized
Dutch Google personalized
Dutch Yahoo site
Shortcuts: x - toggle j - down k - up h - begin l - end o - show value FeaturesThe most important features includes:
Usagefunction Checkbox_OnToggle(chk) { chk.parentNode.style.background=chk.checked?'yellow':''; } function Global_OnKeyPress(chk,e) { if(String.fromCharCode(e.charCode||e.keyCode)=="o") alert("Opening "+chk.value); } /*Sample code*/ window.onload=function() { chknav.init('CheckboxName',Checkbox_OnToggle,Global_OnKeyPress); } |