sometimes things are easier than they seem

It’s been a little while, but here goes again.  Think I’ll go for shorter posts now 🙂

So, the truth is that I think of some aspects of html, especially html5, as sort of magical. Today I wanted to create a slider.  And… it turns out it’s not that hard :).  

Example at jsfiddle: link

Create an <input> in html with type ‘range’ and min/max values, and listen for the value.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s