下图给大家展示了使用jquery css实现的点击动画弹出表单源码,有上传表单、删除表单、发送评论表单,都是通过鼠标点击图标按钮动画弹出的表单源码特效。
效果图展示如下:
在线预览 源码下载
html代码:
<div class="buttonCollection"> <div class="qutton" id="qutton_upload"> <div class="qutton_dialog" id="uploadDialog"> <h2>上传</h2> <div class="urlField"> <input type="text" id="fileUrl" placeholder="文件地址" /> </div> <div id="button_basic_upload">选择文件</div> </div> </div> <div class="qutton" id="qutton_delete"> <div class="qutton_dialog" id="deleteDialog"> <h2>确定?</h2> <div id="button_basic_confirm_delete">确定删除</div> </div> </div> <div class="qutton" id="qutton_comment"> <div class="qutton_dialog" id="commentDialog"> <textarea name="comment" id="commentInput" placeholder="你的评论..."></textarea> <div id="button_basic_submit_comment">发送</div> </div> </div> </div>
js代码:
$(function () { var quttonUpload = Qutton.getInstance($('#qutton_upload')); quttonUpload.init({ icon: 'images/icon_upload.png', backgroundColor: '#917466' }); var quttonDelete = Qutton.getInstance($('#qutton_delete')); quttonDelete.init({ icon: 'images/icon_delete.png', backgroundColor: "#eb1220" }); var quttonComment = Qutton.getInstance($('#qutton_comment')); quttonComment.init({ icon: 'images/icon_comment.png', backgroundColor: "#41aaf1" }); });
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
桃源资源网 Design By www.nqtax.com
暂无“基于jquery css3实现点击动画弹出表单源码特效”评论...