就下面这个最简单的jquery的animate动画,但是在ie6/7下不能执行,其他浏览器一律OK~(包括ie8/9)<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title><script type='text/javascript'
src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js?ver=1.4.2'>
</script> </head>
<body><div id="123" class="123" >10000</div><script type="text/javascript">
$(".123").mouseover(function(){
$(this).animate({
fontSize:"50px",
}, 300 );
});
</script></body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title><script type='text/javascript'
src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js?ver=1.4.2'>
</script> </head>
<body><div id="123" class="123" >10000</div><script type="text/javascript">
$(".123").mouseover(function(){
$(this).animate({
fontSize:"50px",
}, 300 );
});
</script></body>
</html>
解决方案 »
- 求,点击一个链接,此链接便消失的JS效果
- 图片大小超出怎么缩略图显示
- javascript对象的方法调用出错问题
- javascript进度条 显示 JavaScript函数执行的进度
- 请问谁会用JSP做一个社区网站?
- 求教各位高手关于网页语言跟随browse变化而变化的问题
- 如何把整个页面中的所有元素放入一个动态创建的<div>或<span>中??????????????
- 有没有办法在阿信的treeview3.0上 加上单选与复选框呀
- 高手看看:如果不是每次都是从数据库中取数据,如何实现以下的功能呢?实现不行的话只能每次取数据库拉:(
- 求教如何实现登录后长时间未操作就自动退出的操作
- 帮忙看看这段代码什么意思啊?
- 蔡勒(Zeller)公式 负数的问题!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title> <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js?ver=1.4.2'>
</script></head>
<body>
<div id="123" class="123">
10000</div> <script type="text/javascript">
$(".123").mouseover(function(){
$(this).animate({
fontSize:"50px"
}, 300 ); //多了一个逗号
});
</script></body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title><script type='text/javascript'
src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js?ver=1.4.2'>
</script> </head>
<body><div id="123" class="123" style="background:red;">10000</div><script type="text/javascript">
$(document).ready(function(){
$(".123").animate({
fontSize: "50px"
//fontSize:"50px",
}, 300 );
})
</script></body>
</html>你在看看 他们的解析机制不一样