-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replace sliders with html5 range elements #106
Comments
I am interested in working on this issue, but could you elaborate more on this please. |
@yochannah are you aware of any sliders in im-tables? I can't find any. |
Yes, I am! In FlyMine, clock on the Show Results button for this tempalte The summary (bar chart icon) for chromosome location (or probably any numeric column type) has sliders. @firshta2016 - if you inspect the source code you can see that these sliders are built from divs, because it was built in the dark ages before HTML 5 was fully supported by modern browsers. We can probably remove a lot of coffeescript behaviour (or js slider library, not sure which) and simplify the HTML by using an HTML 5 element instead. Let me know if you struggle to find the right files to edit! |
@yochannah when I try to test my code locally, my local table doesnt have the same content as you showed above on flymine.com. Do you have any suggestions on where I would find the same slider from flymine.com locally? |
@firshta2016 You can recreate the same table by replacing the contents of
You can acquire this snippet with any im-table by clicking Generate code, select JavaScript, then check As HTML page. |
Limits us to ie10, but degrades gracefully to
input:text
The text was updated successfully, but these errors were encountered: