- 注册时间
- 2011-3-21
- 最后登录
- 2022-3-22
- 在线时间
- 1191 小时
- 阅读权限
- 200
- 积分
- 9457
- 帖子
- 1256
- 精华
- 0
- UID
- 1
|
transport.js 中重载了 Object.prototype.toJSONString 方法
与 jQuery 冲突了。。
考虑两者的使用场合都非常多,去修改兼容是比较不靠谱的
暂时用- $(function(){
- window.__Object_toJSONString = Object.prototype.toJSONString;
- delete Object.prototype.toJSONString;
- $("#spec-list").jdMarquee({
- deriction:"left",
- width:294,
- height:50,
- step:2,
- speed:4,
- delay:10,
- control:true,
- _front:"#spec-right",
- _back:"#spec-left"
- });
- $("#spec-list img").bind("mouseover",function(){
- var src=$(this).attr("src");
- $("#spec-n1 img").eq(0).attr({
- src:src.replace("\/n5\/","\/n1\/"),
- jqimg:src.replace("\/n5\/","\/n0\/")
- });
- $(this).css({
- "border":"2px solid #ff6600",
- "padding":"1px"
- });
- }).bind("mouseout",function(){
- $(this).css({
- "border":"1px solid #ccc",
- "padding":"2px"
- });
- });
- });
复制代码 后续如果在当前页面中遇到别的问题,再作研究 |
|