HTML Adob​​e Animate CC 中的表单

HTML form in Adobe Animate CC

如何将 HTML 表单插入使用 Adob​​e Edge Animate CC 设计的网站。有什么简单的方法可以实现吗?

请帮忙!

您可以在点击 {} 括号时在舞台上添加您的代码。 像这样插入代码:

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 代码可以像这样插入。

在您的 javascript 操作的动画中 - windows,您可以引用表单和其中的输入字段 - 稍后(在您发布动画之后)您可以添加此表单到您的 html - 在您的 canvas 旁边或与其重叠。