>Here's a prototype using the new data structure [draw] commands I mentioned.
I`ll try, I was writing the following: For clarity I prefer to go backwards as sliders are already there: [V/Hslider]. Lets go to a more basic & useful html+Pd. Some useful things: + The html tag <iframe> which displays html on a given area of another html. This could simplify the [htmlcanvas] object that I was asking. http://www.w3schools.com/tags/tag_iframe.asp Careful with the "try it yourself", the src=*.html is incomplete/missing. + The CSS "z-index: -1;" which provide layers. Also here some interesting combination of href= and javascript: http://stackoverflow.com/questions/7755088/what-does-href-expression-a-href-javascript-a-do Mensaje telepatico asistido por maquinas. ________________________________ From: Jonathan Wilkes <[email protected]> Sent: Friday, January 27, 2017 8:52 PM To: Lucas Cordiviola; Alexandre Torres Porres; [email protected] Subject: Re: [PD] Purr Data rc4 > It comes from here: http://www.w3schools.com/jquerymobile/jquerymobile_form_sliders.asp Here's a prototype using the new data structure [draw] commands I mentioned. (Attached) * If I was going to turn this into a real GUI widget, I'd add a field to the [struct] to store the slider value. Then I could create lots of sliders with different values. It's also possible to add fields to control the scaling, rotation, colors, etc. * Changing the glow color when dragging is a bit tricky compared to CSS. I probably need some extra event types to specify the beginning and end of the drag event * Obviously adding text is trickier. CSS basically exists to gracefully handle text-flow * You can right-click the scalar and choose "Properties" to change the fields. -Jonathan
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
