简体   繁体   English

Adobe Animate CC中的HTML表单

[英]HTML form in Adobe Animate CC

How to insert a HTML form to a website designed using Adobe Edge Animate CC. 如何将HTML表单插入使用Adobe Edge Animate CC设计的网站。 Is there any simple way to implement ? 有没有简单的实现方法?

Please Help! 请帮忙!

You can add your code on the stage when clicking on the {} brackets. 单击{}括号时,可以在舞台上添加代码。 Inserting code like so: 像这样插入代码:

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;'>")

This example will generate two input field one for a username and one for a password. 本示例将生成两个输入字段,一个用于用户名,一个用于密码。 The rest of your html code can inserted like so. 您的html代码的其余部分可以这样插入。

在javascript动作窗口的动画中,您可以引用表单以及表单中的输入字段-稍后(发布动画之后)您可以将此表单添加到html中-在画布旁边或重叠。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM