2016-08-02 74 views

回答

0

单击{}括号时,您可以在舞台上添加代码。 插入代码,如下所示:

sym.$('input_box_username').html("<input type='text' id='input_box_username' placeholder='Username'" + " maxlength='60' " + " style='background-color:white; border:1px solid #0B76d1; padding-left: 5px; width:550px; height:26px; font-size:14px;'>") 

sym.$('input_box_password').html("<input type='password' id='input_box_password' placeholder='Password'" + " maxlength='40' " + " style='background-color:white; border:1px solid #0B76d1; padding-left: 5px; width:550px; height:26px; font-size:14px;'>") 

这个例子将产生两个输入字段中的一个用户名和一个密码。 您的其他html代码可以像这样插入。

0

在您的javascript动作窗口中设置动画效果,您可以引用表单及其中的输入字段 - 以后(在发布动画后),您可以将此表单添加到您的HTML - 画布旁边,或重叠它。

相关问题