Re: question

All projects will use a framework: canvas is a low level programming 
API, with any use of it, other than for special demonstration, authors 
will build a framework that they will then use.

Here's a good example of a text input field used with Canvas, without a 
framework:
http://mrdoob.com/123/Water_Type

http://mrdoob.com/lab/javascript/effects/water/02/


The text entry field is hidden on the top left of the screen. Its normal 
behaviors would be obnoxious
if they were placed and sized to match the visible text. Note, Mr Doobs 
implementation is correct
for legacy platforms. Authors can test for legacy platforms by checking 
for the drawFocusRing method.

Given appropriate support, the text entry field would be mapped to the 
correct location
and contained within the canvas subtree, working with drawFocusRing and 
other focus/accessibility APIs.


-Charles


On 10/16/2011 1:19 PM, paniz alipour wrote:
> Yes,But most of them use framework:(
>
> On Sun, Oct 16, 2011 at 11:34 PM, Charles Pritchard <chuck@jumis.com 
> <mailto:chuck@jumis.com>> wrote:
>
>     Nobody is using drawFocusRing. As far as I'm aware, Microsoft has
>     not released any public demonstrations of its use.
>
>     This is a direct consequence of the push-back I've received on the
>     mailing lists. Otherwise, I'd be able to encourage canvas
>     developers to use the method.
>
>     You've seen several demonstrations of interactive widgets in
>     Canvas, from Bespin, to W3Canvas, to LucidCharts and Canui.
>
>
>     -Charles
>
>
>
>
>     On 10/16/2011 1:02 PM, paniz alipour wrote:
>>     Yes Charles I can,
>>
>>     But I need different style of programs which has been written by
>>     different programmer,
>>
>>     I need it for comparing different style of programming for canvas
>>     in javascript.
>>
>>     Thanks
>>     On Sun, Oct 16, 2011 at 11:07 PM, Charles Pritchard
>>     <chuck@jumis.com <mailto:chuck@jumis.com>> wrote:
>>
>>         Are you able to code in JavaScript?
>>
>>         The W3C Spec has two checkboxes.
>>
>>         It was based on the WHATWG spec, then altered to work in IE9,
>>         which currently supports DOM in the canvas subtree.
>>         It has hooks to work in other browsers, though they do not
>>         support drawFocusRing yet.
>>
>>         The W3C spec was copied from the attached file, which Gregory
>>         Rosmaita tested in late November 2011.
>>
>>         Note that keyboard and pointer events work with the attached
>>         file, in IE9.
>>         The attached file does not work well/easily on Mobile Safari
>>         (on iOS) when VoiceOver is enabled.
>>
>>         Apple was notified, but through their representation (David
>>         Singer) has not been cooperative in establishing a fix.
>>
>>
>>         -Charles
>>
>>
>>         On 10/16/2011 10:56 AM, paniz alipour wrote:
>>>         Hi Charles,
>>>
>>>         I need to see different UI design programming without
>>>         Framework using,
>>>
>>>         I saw that program which you sent .Really Really Thanks.
>>>
>>>         and I saw w3c spec but it was not about UI design codes ,I
>>>         mean such as checkbox ,textbox,... .
>>>
>>>         I don't know Where can I find?
>>>
>>>         Best Regards
>>>
>>>         -- 
>>>         Paniz Alipour
>>
>>
>>
>>
>>     -- 
>>     Paniz Alipour
>
>
>
>
> -- 
> Paniz Alipour

Received on Sunday, 16 October 2011 20:27:49 UTC