tag:blogger.com,1999:blog-7239447129918882627.post5579491001757280785..comments2021-11-20T14:39:21.307+01:00Comments on O.C.A.S: Drawing by touching using JavaScriptAnonymoushttp://www.blogger.com/profile/16103353311505266262noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-7239447129918882627.post-88952528511839980502013-05-30T08:20:04.422+02:002013-05-30T08:20:04.422+02:00you rock! thanks for the help!you rock! thanks for the help!Adam Levyhttps://www.blogger.com/profile/06224977914988815835noreply@blogger.comtag:blogger.com,1999:blog-7239447129918882627.post-67953824418558617322011-09-28T15:11:28.880+02:002011-09-28T15:11:28.880+02:00Hello again,
Sorry to have double posted, I did n...Hello again,<br /><br />Sorry to have double posted, I did not realize my original one had posted after asking me to log in.<br /><br />Could I encapsulate this into an object tag ? Ive been messing around with that, and have not had much luck.<br /><br />Thanks!Joshhttps://www.blogger.com/profile/10110445445249909020noreply@blogger.comtag:blogger.com,1999:blog-7239447129918882627.post-18502684916787382032011-09-21T21:37:40.432+02:002011-09-21T21:37:40.432+02:00I have no idea about e-pub files and yes, if you e...I have no idea about e-pub files and yes, if you export the drawing data as a string as mentioned above you can post the drawing data.Anonymoushttps://www.blogger.com/profile/16103353311505266262noreply@blogger.comtag:blogger.com,1999:blog-7239447129918882627.post-14671129489717298612011-09-21T21:35:17.287+02:002011-09-21T21:35:17.287+02:00Hey,
Two more questions for you :) Could this be...Hey,<br /><br />Two more questions for you :) Could this be added to an epub file? I am learning to make them now.<br /><br />Also, could I use this as part of an html form and when the submit button is hit, the data from the scratch pad is saved and sent along?<br /><br />Thanks!Joshhttps://www.blogger.com/profile/10110445445249909020noreply@blogger.comtag:blogger.com,1999:blog-7239447129918882627.post-3426952815523624002011-09-21T21:30:28.203+02:002011-09-21T21:30:28.203+02:00Hello again Josh.
The «canvas» has a method calle...Hello again Josh.<br /><br />The «canvas» has a method called "toDataURL". This will create a string (base64) of any drawing within the «canvas» element. This string can then be submitted via a form or pushed to a server in any number of ways.<br /><br />To view this "imagestring" you can actually set the source of an image tag as the string.Anonymoushttps://www.blogger.com/profile/16103353311505266262noreply@blogger.comtag:blogger.com,1999:blog-7239447129918882627.post-66735609924946865732011-09-21T21:21:43.906+02:002011-09-21T21:21:43.906+02:00Hey,
How about submitting the drawing as part of ...Hey,<br /><br />How about submitting the drawing as part of a form? Say I give them a math test, multiple choice, and I need them to draw me a polygon.. could this be adapted in such a way to submit/save the information?<br /><br />Thanks!Joshhttps://www.blogger.com/profile/10110445445249909020noreply@blogger.comtag:blogger.com,1999:blog-7239447129918882627.post-28852885447181515112011-05-17T20:02:37.940+02:002011-05-17T20:02:37.940+02:00Hello Josh.
You know, the entire drawing applicati...Hello Josh.<br />You know, the entire drawing application is just a webpage, you can view the source and create your own version if you want to.Anonymoushttps://www.blogger.com/profile/16103353311505266262noreply@blogger.comtag:blogger.com,1999:blog-7239447129918882627.post-23111680038801604342011-05-17T19:37:36.369+02:002011-05-17T19:37:36.369+02:00Hello!
This is very neat! How hard would this be ...Hello!<br /><br />This is very neat! How hard would this be to embed within webpage? I am trying to make a website that I can create interactive worksheets for my students and want text boxes and freehand boxes. <br /><br />Thanks!<br /><br />-JoshJoshhttps://www.blogger.com/profile/10110445445249909020noreply@blogger.com