Web Sliders

Hey, not sure if this is the proper place for this, but basically I want to do a few smallish projects that can become a cut and paste web interface in the future. To begin with I want to have a website with a slider on it, then pass the data to the imp to control a value. I am using the “Imp tutorials for Makers” by @controlCloud as inspiration. It would be really nice to have a jquery slider or similar. Still a newb at imp code, and especially at web stuff, but i do have hosting and am in the agents beta. Can anyone give me some advice on how to get started?

@enque web slides should work any issues PM me if doesn’t
NB. values only sent on sliderstop if sent onchange Agent can’t handle no of requests.



Hosted slider http://industrialinternet.co.uk/eimp/sliders/

Thank you very much @controlCloud. I have been working 12s, so I havent had a chance to try it yet.

All I need to use this is to replace the ExternalURL with mine?
Just host the html…

@sbrigt33 yes just replace external URL the last part e.g agent I’d
Host HTML or should work as a file on PC/Mac

I didn’t even think of that! Easy to test.

Hey @controlCloud. Thanks again for the help. I am trying to adapt this, but I am stuck on the imp code in order to do something with the slider value.

@enque have updated agent and web app also added imp code which writes 2 sliders to analog outputs pins

Agent


Imp

Thank you again @controlCloud. Is there a way to do this same thing without pulling the position of the sliders off an external website. Can it be done within the agent using basic html? (similar to the snackbot http://www.instructables.com/id/SnackBot-The-Internet-Connected-Candy-Machine/)

@enque it should be but sorry to say it’s not something I can help with at the moment.