jquery利用show和hide方法制作图片特效
来源:互联网 发布:mac windows10截图图片 编辑:程序博客网 时间:2024/05/02 14:18
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">
#img1
{
width:500px;
height:500px;
display:none;
}
</style>
<script src="jquery-1.9.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
$('#Button1').click(function () {
$('#img1').show(5000);
})
$('#img1').click(function () {
// $('#img1').css('width', '100');
// $('#img1').css('height', '100');
//$('#img1').hide(10000);
$('#img1').fadeOut(5000);//和hide的用法一样,效果不同
})
})
</script>
</head>
<body>
<img id="img1" alt="" src="images/10.jpg" />
<input id="Button1" type="button" value="展开图片" />
<input id="Button2" type="button" value="收缩图片" />
</body>
</html>
<head>
<title></title>
<style type="text/css">
#img1
{
width:500px;
height:500px;
display:none;
}
</style>
<script src="jquery-1.9.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
$('#Button1').click(function () {
$('#img1').show(5000);
})
$('#img1').click(function () {
// $('#img1').css('width', '100');
// $('#img1').css('height', '100');
//$('#img1').hide(10000);
$('#img1').fadeOut(5000);//和hide的用法一样,效果不同
})
})
</script>
</head>
<body>
<img id="img1" alt="" src="images/10.jpg" />
<input id="Button1" type="button" value="展开图片" />
<input id="Button2" type="button" value="收缩图片" />
</body>
</html>
- jquery利用show和hide方法制作图片特效
- JQuery show hide方法
- jQuery 效果 show() 和 hide()方法
- 4.2.1: jQuery动画之show()方法和hide()方法
- 【jQuery】调用show()和hide()方法显示和隐藏元素
- 【jQuery】动画效果的show()和hide()方法
- jQuery的隐藏显示hide(),show()方法
- jQuery hide() 和 show() 隐藏和显示
- jquery动画show () hide()
- JQuery基礎.show();.hide();
- [JQ权威指南]第十八天:使用show()与hide()方法动画显示和隐藏图片
- jquery 显示隐藏div方法show(),hide(),toggle(),slideDown()总结
- jquery 显示隐藏div方法show(),hide(),toggle(),slideDown()总结
- Fragment show和hide
- jquery show hide 显示和隐藏失效/不起作用
- JQuery 使用.show()和.hide()做的可爱动画
- jquery中的show()跟hide()
- jQuery 动画特效show() hide() slideUp() slideDown() fadeIn() fadeOut() animate() stop() delay()
- Managing Network Usage
- Jquery Dialog的使用说明
- .NET混淆器Dotfuscator使用教程:命令行(Command Line)
- HDU 1548 A strange lift
- S3C2440存储控制器和MMU浅析
- jquery利用show和hide方法制作图片特效
- MIS开发步骤
- linux视频3(网络配置相关)
- IOS6屏幕旋转问题
- Parsing XML Data
- JS操作图片(添加,更改,删除)
- linux 模块编译步骤
- android开发网站
- C++ 多线程开发技巧 3