Soyez le premier à donner votre avis sur cette source.
Vue 5 573 fois - Téléchargée 803 fois
<div style='left:40px; top:10px; width:250px; height:20px; background:green'> <input id='InG' type='range' min='0' max='255' oninput='Draw()' style='left:5px; top:0px'> </div> <div style='left:10px; top:40px; width:20px; height:250px; background:red'> <input id='InR' type='range' min='0' max='255' oninput='Draw()' style='left:-110px; top:110px; -ms-transform:rotate(-90deg); -webkit-transform:rotate(-90deg); transform:rotate(-90deg)'> </div> <div style='left:300px; top:40px; width:20px; height:250px; background:#8888FF'> <input id='InB' type='range' min='0' max='255' oninput='Draw()' style='left:-110px; top:110px; -ms-transform:rotate(-90deg); -webkit-transform:rotate(-90deg); transform:rotate(-90deg)'> </div>Le programme réagit "en continu" lors de la manipulation des sliders.
<div style='left:40px; top:10px; width:250px; height:20px; background:green'> <input id='InG' type='range' min='0' max='255' onchange='Draw()' style='left:5px; top:0px'> </div> <div style='left:10px; top:40px; width:20px; height:250px; background:red'> <input id='InR' type='range' min='0' max='255' onchange='Draw()' style='left:-110px; top:110px; -ms-transform:rotate(-90deg); -webkit-transform:rotate(-90deg); transform:rotate(-90deg)'> </div> <div style='left:300px; top:40px; width:20px; height:250px; background:#8888FF'> <input id='InB' type='range' min='0' max='255' onchange='Draw()' style='left:-110px; top:110px; -ms-transform:rotate(-90deg); -webkit-transform:rotate(-90deg); transform:rotate(-90deg)'> </div>Dans ce cas, le logiciel ne répond que lorsqu'on lâche le bouton de la souris.
Vous n'êtes pas encore membre ?
inscrivez-vous, c'est gratuit et ça prend moins d'une minute !
Les membres obtiennent plus de réponses que les utilisateurs anonymes.
Le fait d'être membre vous permet d'avoir un suivi détaillé de vos demandes et codes sources.
Le fait d'être membre vous permet d'avoir des options supplémentaires.