- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
JavaScript客户端框架
JavaScript客户端框架;;;1.几个案例;2)基于jQuery焦点图片新闻代码(JS+CSS);;4)jquery插件合集之图片裁剪;2.JQuery概述;jQuery 库 - 特性;版本演进:;;;3.JQuery的简单应用;实例 ;4.把 jQuery 添加到您的网页;;5.如何使用jQuery Intellisense ;6.一些案例;!DOCTYPE html
html
head
script src=///ajax/libs/jquery/1.8.3/jquery.min.js/script
script type=text/javascript
$(document).ready(function(){
$(#hide).click(function(){
$(p).hide();
});
$(#show).click(function(){
$(p).show();
});
});
/script
/head
body
p id=p1如果点击“隐藏”按钮,我就会消失。/p
button id=hide type=button” 隐藏/button
button id=show type=button显示/button
/body
/html
;!DOCTYPE html
html
head
script src=///ajax/libs/jquery/1.8.3/jquery.min.js/script
script
$(document).ready(function(){
$(button).click(function(){
$(#div1).fadeIn();
$(#div2).fadeIn(slow);
$(#div3).fadeIn(3000);
});
});
/script
/head
body
p演示带有不同参数的 fadeIn() 方法。/p
button点击这里,使三个矩形淡入/button
brbr
div id=div1 style=width:80px;height:80px;display:none;background-color:red;/div
br
div id=div2 style=width:80px;height:80px;display:none;background-color:green;/div
br
div id=div3 style=width:80px;height:80px;display:none;background-color:blue;/div
/body
/html
;!DOCTYPE html
html
head
script src=///ajax/libs/jquery/1.8.3/jquery.min.js/script
script
$(document).ready(function(){
$(button).click(function(){
$(#div1).fadeToggle();
$(#div2).fadeToggle(slow);
$(#div3).fadeToggle(3000);
});
});
/script
/head
body
p演示带有不同参数的 fadeToggle() 方法。/p
button点击这里,使三个矩形淡入淡出/button
brbr
div id=div1 style=width:80px;height:80px;background-color:red;/div
br
div id=div2 style=width:80px;height:80px;background-color:green;/divbr
div id=div3 style=width:80px;height:80px;background-color:blue;/div
/body
/body
/html
;附加:单独文件中的函数;;一、几个常用动画函数;1.;1);script src=///ajax/libs/jquery/1.8.3/jquery.min.js/script
script type=text/javascript
$(document).ready(function(){
$(.flip).click(function(){
$(.panel).slideDown(slow);
});
});
/script
style type=text/css
div.panel,p.flip
{
margin:0px;
padding:5px;
text-align:center;
您可能关注的文档
- 配置jvm参数(Configuring the JVM parameter).doc
- 重新认识教室(Re understanding the classroom).doc
- 重点实词(Key words).doc
- 重病的现代华夏民族精神(Serious illness of modern Chinese national spirit).doc
- 重生传说(Tales of Rebirth).doc
- 重置 itouchiphone 的网络连接设置(Reset the network connection settings for itouchiphone).doc
- 重载脱钩试验(Heavy load decoupling test).doc
- 重装电脑系统(Reinstall the computer system).doc
- 量变引起质变(Quantitative cause a qualitative change).doc
- 量子力学数学形式表述的由来和特点(The origin and characteristics of mathematical expressions in quantum mechanics).doc
文档评论(0)