hyperandroid / CAAT

Canvas Advanced Animation Toolkit
hyperandroid.github.com/CAAT
MIT License
727 stars 117 forks source link

How to include Input text box into caat #105

Closed Jeyabalan closed 11 years ago

Jeyabalan commented 11 years ago

Hi, i am new to CAAT, I have a situation where i use input element for my interactivity, but i don't know how to insert input text box using the CAAT engine.

By default i use the following structure in my HTML file where i input some values.

Thanks for any help.

hyperandroid commented 11 years ago

Your best option, is to get on-screen position of your actor by calling actor's modelToView function. And then position there a textbox from the js/css side.