File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,12 +87,21 @@ <h1>input-knobs.js
8787 < div id ="main ">
8888
8989 < div style ="margin-left:20px ">
90+ < div style ="float:left "/>
91+ < input type ="range " class ="input-slider " data-height ="110 " data-width ="12 "/>
92+ < input type ="range " class ="input-slider " data-height ="110 " data-width ="12 "/>
93+ < input type ="range " class ="input-slider " data-height ="110 " data-width ="12 "/>
94+ </ div >
9095 < input type ="range " class ="input-knob "/> < input type ="range " class ="input-knob "/> < input type ="range " class ="input-knob "/>
9196 < input type ="range " class ="input-knob " data-src ="./images/knob70.png " data-sprites ="101 "/> < input type ="range " class ="input-knob " data-src ="./images/knob70.png " data-sprites ="101 "/> < input type ="range " class ="input-knob " data-src ="./images/knob70.png " data-sprites ="101 "/>
9297 < input type ="checkbox " class ="input-switch "/> < input type ="checkbox " class ="input-switch "/> < input type ="checkbox " class ="input-switch "/>
9398 < input type ="radio " name ="groupA " class ="input-switch " data-src ="./images/switch_offon.png " data-diameter ="50 "/> < input type ="radio " name ="groupA " class ="input-switch " data-src ="./images/switch_offon.png " data-diameter ="50 "/> < input type ="radio " name ="groupA " class ="input-switch " data-src ="./images/switch_offon.png " data-diameter ="50 "/> < br />
94- < input type ="range " class ="input-slider "/> < input type ="range " class ="input-slider " data-bgcolor ="#248 " data-fgcolor ="#fe3 "/> < input type ="range " class ="input-slider " data-bgcolor ="#824 " data-fgcolor ="#ffe "/>
99+ < input type ="range " class ="input-slider " data-width ="200 " data-height ="40 " data-sprites ="51 " data-src ="./images/slider3.png "/>
100+ < input type ="range " class ="input-slider " data-bgcolor ="#eee "/>
101+ < input type ="range " class ="input-slider " data-bgcolor ="#eee " data-fgcolor ="#0f0 "/>
102+ < input type ="range " class ="input-slider " data-bgcolor ="#eee " data-fgcolor ="#00f "/>
95103 </ div >
104+ < br clear ="both "/>
96105< h4 > 'input-knob.js' is here : < a href ="input-knobs.js "> input-knobs.js</ a > < br />
97106GitHub repository : < a href ="https://github.com/g200kg/input-knobs "> https://github.com/g200kg/input-knobs</ a > </ h4 >
98107 < h2 > Features</ h2 >
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ window.addEventListener("load",function(){
9191 if ( ! bg ) bg = "#000" ;
9292 if ( el . className . indexOf ( "input-knob" ) >= 0 )
9393 el . itype = "k" ;
94- el . sensex = el . sensey = 128 ;
94+ el . sensex = el . sensey = 200 ;
9595 switch ( el . itype ) {
9696 case "k" :
9797 if ( ! d ) d = 64 ;
You can’t perform that action at this time.
0 commit comments