jqueryrotate 插件问题

b86956921b 2013-02-01 11:47:41
http://code.google.com/p/jqueryrotate/wiki/Examples 我按照这个demo写旋转 在IE看不到效果啊

<!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=gb2312" />
<link rel="stylesheet" type="text/css" href="../css/common.css"/>

<script type="text/javascript" src="jquery.js"></script>

<script type="text/javascript" src="jQueryRotate.2.2.js"></script>
<script type="text/javascript" >
$(document).ready(function(){
$("#img").rotate(45);
});
</script>
<title>无标题文档</title>
</head>

<body>
<img src="http://teeworlds.com/images/dl_arrow.png" id="#img" style="-moz-transform: rotate(0deg);">
</body>
</html>
...全文
269 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
b86956921b 2013-02-01
  • 打赏
  • 举报
回复
楼上火眼金睛
  • 打赏
  • 举报
回复
<img src="http://teeworlds.com/images/dl_arrow.png" id="#img" style="-moz-transform: rotate(0deg);"> ID错了 <img src="http://teeworlds.com/images/dl_arrow.png" id="img" style="-moz-transform: rotate(0deg);">

87,991

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧