下面就是添加js后,出现了以前的东东不能用了

plglenn27 2009-12-16 03:58:16
...全文
130 14 打赏 收藏 转发到动态 举报
写回复
用AI写文章
14 条回复
切换为时间正序
请发表友善的回复…
发表回复
sh_suyuelin 2009-12-16
  • 打赏
  • 举报
回复
- - !!!
阿非 2009-12-16
  • 打赏
  • 举报
回复
<img id='imgOne' onclick='changeSrc(this.src,0);' />
<img id='imgTwo' onclick='changeSrc(this.src,1);' />
<img id='imgThree' onclick='changeSrc(this.src,2);' />
<img id='imgFour' onclick='changeSrc(this.src,3);' />
<img id='imgFive' onclick='changeSrc(this.src,4);' />


应该是这个样子D~
阿非 2009-12-16
  • 打赏
  • 举报
回复
<li> <img id='imgOne' onclick='changeSrc(this.src,0);' />
</li>
<li> <img id='imgTwo' onclick='changeSrc(this.src,0);' />

</li>
<li> <img id='imgThree' onclick='changeSrc(this.src,0);' />
</li>
<li> <img id='imgFour' onclick='changeSrc(this.src,0);' />
</li>
<li> <img id='imgFive' onclick='changeSrc(this.src,0);' />


这个应该是递增的

你都写成 0 了
plglenn27 2009-12-16
  • 打赏
  • 举报
回复
               浏览数:<font id="pic_click_1"></font> 次</div>
</li>
</ul>
<ul class="albums_title_t">

<li>
<label>
更新时间:</label><span id="pic_update_1"></span> </li>
</ul>
<ul>
<li>
<label>
照片简介:</label><span class="text1" id="pic_description_1"></span> </li>

</ul>
</div>
<div class="blank10">
</div>
<div class="st_l_bot">
</div>
</div>
<!--相册内容-->
<div id="cnt_album_2" style="display: none">

<div class="albums_pic">
<div class="albums_pic_l" onclick="toPrev(2);return false">
</div>
<div class="albums_pic_cont text2">
<ul id="imgPreviewSlider_2">
<li><span id="title_2_1" style="display: none">虫草官燕</span> <span id="description_2_1"
style="display: none">无</span> <span id="image_2_1" style="display: none">http://photo.100du.com/store_album/43/51/43/23397.jpg</span>

<span id="update_2_1" style="display: none">2008年5月4日</span> <span id="pid_2_1" style="display: none">
23397</span> <span id="tbl_2_1" style="display: none">store_photo</span> <span id="pos_2_1"
style="display: none">1</span>
<div class="store_img2">
<p>
<a onclick="ShowPic(1,2);return false" href="http://food.100du.com/album/1208412653182#">

<img src="biz_photo.files/23397_100.jpg"></a></p>
</div>
</li>
<li><span id="title_2_2" style="display: none">韩日真味拼</span> <span id="description_2_2"
style="display: none">无</span> <span id="image_2_2" style="display: none">http://photo.100du.com/store_album/22/9b/98/23396.jpg</span>
<span id="update_2_2" style="display: none">2008年5月4日</span> <span id="pid_2_2" style="display: none">

23396</span> <span id="tbl_2_2" style="display: none">store_photo</span> <span id="pos_2_2"
style="display: none">2</span>
<div class="store_img2">
<p>
<a onclick="ShowPic(2,2);return false" href="http://food.100du.com/album/1208412653182#">
<img src="biz_photo.files/23396_100.jpg"></a></p>
</div>

</li>
<li><span id="title_2_3" style="display: none">八味官燕</span> <span id="description_2_3"
style="display: none">无</span> <span id="image_2_3" style="display: none">http://photo.100du.com/store_album/64/1e/0c/23395.jpg</span>
<span id="update_2_3" style="display: none">2008年5月4日</span> <span id="pid_2_3" style="display: none">
23395</span> <span id="tbl_2_3" style="display: none">store_photo</span> <span id="pos_2_3"
style="display: none">3</span>

<div class="store_img2">
<p>
<a onclick="ShowPic(3,2);return false" href="http://food.100du.com/album/1208412653182#">
<img src="biz_photo.files/23395_100.jpg"></a></p>
</div>
</li>
<li><span id="title_2_4" style="display: none">金辉翅</span> <span id="description_2_4"
style="display: none">无</span> <span id="image_2_4" style="display: none">http://photo.100du.com/store_album/e8/36/b5/23394.jpg</span>

<span id="update_2_4" style="display: none">2008年5月4日</span> <span id="pid_2_4" style="display: none">
23394</span> <span id="tbl_2_4" style="display: none">store_photo</span> <span id="pos_2_4"
style="display: none">4</span>
<div class="store_img2">
<p>
<a onclick="ShowPic(4,2);return false" href="http://food.100du.com/album/1208412653182#">

<img src="biz_photo.files/23394_100.jpg"></a></p>
</div>
</li>
</ul>
</div>
<div class="albums_pic_r" onclick="toNext(2);return false">
</div>
<input id="batch_2" type="hidden" value="1" begin="1">
</div>

<input id="flag_2" type="hidden" value="1">
<div class="albums_page text8">
第<span id="pic_pos_2">1</span>/<span id="pic_total_2">14</span>张
</div>
<div class="albums_cont">
<img id="pic_image_2" title="点击查看下一页" style="cursor: pointer" onclick="toNextPic(2)"
src="biz_photo.files/23397.jpg"></div>
<div class="blank10">

</div>
<div class="clear">
</div>
<div class="albums_title text1">
<ul class="albums_title_t">
<li>
<label>
照片名称:</label><span><strong id="pic_title_2">虫草官燕</strong></span>

<div class="albums_title_r text2">
浏览数:<font id="pic_click_2">171</font> 次</div>
</li>
</ul>
<ul class="albums_title_t">
<li>
<label>

更新时间:</label><span id="pic_update_2">2008年5月4日</span> </li>
</ul>
<ul>
<li>
<label>
照片简介:</label><span class="text1" id="pic_description_2">无</span> </li>

</ul>
</div>
<div class="blank10">
</div>
<div class="st_l_bot">
</div>
</div>
<!--相册内容-->
<div id="cnt_album_3" style="display: none">

<div class="albums_pic">
<div class="albums_pic_l" onclick="toPrev(3);return false">
</div>
<div class="albums_pic_cont text2">
<ul id="imgPreviewSlider_3">
</ul>
</div>
<div class="albums_pic_r" onclick="toNext(3);return false">
</div>



plglenn27 2009-12-16
  • 打赏
  • 举报
回复

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0041)http://food.100du.com/album/1208412653182 -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<title>常胜鲍鱼店_相册_100du享乐网_北京站</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="常胜鲍鱼地处繁华的CBD商圈,可承接婚宴、朋友聚餐、家庭晚宴、商务会议、宴请及家宴外送服务,多款午晚优惠套餐,可根据宾客不同需求设计菜单,尊贵之情,味然其中!"
name="description">

<script src="biz_photo.files/album.js" type="text/javascript"></script>

<link href="biz_photo.files/fieldgroup.css" rel="stylesheet" type="text/css" />
<link href="biz_photo.files/all.css" rel="stylesheet" type="text/css" />
<link href="biz_photo.files/all_new.css" rel="stylesheet" type="text/css" />

<script src="biz_photo.files/browsercopy.js" type="text/javascript"></script>

<link href="biz_photo.files/content-module.css" rel="stylesheet" type="text/css" />
<link href="biz_photo.files/defaults.css" rel="stylesheet" type="text/css" />

<script src="biz_photo.files/drupal.js" type="text/javascript"></script>

<link href="biz_photo.files/fckeditor.css" rel="stylesheet" type="text/css" />

<script src="biz_photo.files/jquery.jmpopups-0.5.1.js" type="text/javascript"></script>

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

<link href="biz_photo.files/log1021.css" rel="stylesheet" type="text/css" />

<script src="biz_photo.files/jquery.json-1.3.min.js" type="text/javascript"></script>

<link href="biz_photo.files/node.css" rel="stylesheet" type="text/css" />

<script src="biz_photo.files/store.js" type="text/javascript"></script>

<link href="biz_photo.files/store1028.css" rel="stylesheet" type="text/css" />
<link href="biz_photo.files/system-menus.css" rel="stylesheet" type="text/css" />
<link href="biz_photo.files/system.css" rel="stylesheet" type="text/css" />

<link href="biz_photo.files/user.css" rel="stylesheet" type="text/css" />

<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/" });
//--><!]]>
</script>


</head>
<body>
<!--头部开始-->
<!--顶部灰条开始-->
<!--顶部灰条结束 -->
<!--顶部导航开始 -->

<!--顶部导航结束-->
<div class="blank10">
</div>
<!--头部结束-->
<!--主体部分开始-->
<div class="main">
<div class="main_l">
<div class="st_left">

<script type="text/javascript">tab_album = new TabClass({tabName:'tab_album', cntName:'cnt_album', tabShowCls:'albums_nav2_on@albums_nav_on',tabHiddenCls:'albums_nav2', number:5});</script>

<div class="albums_nav">
<div class="albums_nav_l">
店家相册</div>
<ul>
<li class="albums_nav2_on" id="tab_album_0" onclick="tab_album.show(0);">全部照片 </li>
<li id="tab_album_1" onclick="tab_album.show(1);">菜品 </li>

<li id="tab_album_2" onclick="tab_album.show(2);">环境 </li>
<li id="tab_album_3" onclick="tab_album.show(3);">活动 </li>
<li id="tab_album_4" onclick="tab_album.show(4);">其他 </li>
</ul>
</div>
<!--相册内容-->
<div id="cnt_album_0">

<div class="albums_pic">
<div class="albums_pic_l" id='spanP' onclick='changePageIndex("p");' >

</div>
<div class="albums_pic_cont text2">
<ul id="imgPreviewSlider_0">
<li> <img id='imgOne' onclick='changeSrc(this.src,0);' />
</li>
<li> <img id='imgTwo' onclick='changeSrc(this.src,0);' />

</li>
<li> <img id='imgThree' onclick='changeSrc(this.src,0);' />
</li>
<li> <img id='imgFour' onclick='changeSrc(this.src,0);' />
</li>
<li> <img id='imgFive' onclick='changeSrc(this.src,0);' />




</ul>

</div>
<div class="albums_pic_r" id='spanN' onclick='changePageIndex("n");' >

</div>
<input id="batch_0" type="hidden" value="1" begin="1">
</div>
<input id="flag_0" type="hidden" value="1">
<div class="albums_page text8">
第<span id='spanCurrent'>0</span>/<span id='spanLength'>0</span>张
</div>

<div class="albums_cont">
<img id='imgO' /></div>
<div class="blank10">
</div>
<div class="clear">
</div>
<div class="albums_title text1">
<ul class="albums_title_t">
<li>

<label>
照片名称:</label><span><strong id="pic_title_0">虫草官燕</strong></span>
<div class="albums_title_r text2">
浏览数:<font id="pic_click_0">171</font> 次</div>
</li>
</ul>

<ul class="albums_title_t">
<li>
<label>
更新时间:</label><span id="pic_update_0">2008年5月4日</span> </li>
</ul>
<ul>
<li>

<label>
照片简介:</label><span class="text1" id="pic_description_0">无</span> </li>
</ul>
</div>
<div class="blank10">
</div>
<div class="st_l_bot">

</div>
</div>
<!--相册内容-->
<div id="cnt_album_1" style="display: none">
<div class="albums_pic">
<div class="albums_pic_l" onclick="toPrev(1);return false">
</div>
<div class="albums_pic_cont text2">
<ul id="imgPreviewSlider_1">

</ul>
</div>
<div class="albums_pic_r" onclick="toNext(1);return false">
</div>
<input id="batch_1" type="hidden" value="1" begin="1">
</div>
<input id="flag_1" type="hidden" value="1">
<div class="albums_page text8">
第<span id="pic_pos_1">1</span>/<span id="pic_total_1">0</span>张
</div>

<div class="albums_cont">
<img id="pic_image_1" title="点击查看下一页" style="cursor: pointer" onclick="toNextPic(1)"
src="biz_photo.files/0.jpg"></div>
<div class="blank10">
</div>
<div class="clear">
</div>
<div class="albums_title text1">
<ul class="albums_title_t">
<li>

<label>
照片名称:</label><span><strong id="pic_title_1"></strong></span>
<div class="albums_title_r text2">
plglenn27 2009-12-16
  • 打赏
  • 举报
回复
[Quote=引用 7 楼 sandy945 的回复:]
引用 5 楼 plglenn27 的回复:
您给的相册



[/Quote]
一个对,加一个对,居然是错误
阿非 2009-12-16
  • 打赏
  • 举报
回复
浏览器有点问题,查看不了源文件

你现在是怎么写的
阿非 2009-12-16
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 plglenn27 的回复:]
您给的相册
[/Quote]

tzs2304 2009-12-16
  • 打赏
  • 举报
回复
网页错误详细信息

用户代理: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
时间戳: Wed, 16 Dec 2009 08:29:50 UTC


消息: 缺少对象
行: 271
字符: 3
代码: 0
URI: http://www.shuangyongjulebu.com/test.files/drupal.js


消息: 'jQuery' 未定义
行: 12
字符: 1
代码: 0
URI: http://www.shuangyongjulebu.com/test.files/jquery.jmpopups-0.5.1.js


消息: 'null' 为空或不是对象
行: 20
字符: 5
代码: 0
URI: http://www.shuangyongjulebu.com/test.files/album.js


消息: 'null' 为空或不是对象
行: 20
字符: 5
代码: 0
URI: http://www.shuangyongjulebu.com/test.files/album.js


消息: 'null' 为空或不是对象
行: 20
字符: 5
代码: 0
URI: http://www.shuangyongjulebu.com/test.files/album.js



...
看不出来 贴点代码
plglenn27 2009-12-16
  • 打赏
  • 举报
回复
您给的相册
阿非 2009-12-16
  • 打赏
  • 举报
回复
添加什么了
CopperBell 2009-12-16
  • 打赏
  • 举报
回复
顶贴小王子的贴要顶
但不知道是什么原因导致了你的问题。。。多描述点
Lovely_baby 2009-12-16
  • 打赏
  • 举报
回复
把你的js报错的代码贴出来~~
chengcheng1253 2009-12-16
  • 打赏
  • 举报
回复
SF

62,254

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

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