62,263
社区成员
发帖
与我相关
我的任务
分享
<%-- -------------------begin--%>
<script>
function $(id) {
return document.getElementById(id);
}
var pageSize = 5;
var currentPageIndex = 0;
var pageCount = 0;
function changeSrc(src, num) {
$('spanCurrent').innerHTML = currentPageIndex * pageSize + 1 + num;
$('imgO').src = src.replace('_100.jpg', '.jpg');
}
function changePageIndex(str) {
if ((str == 'p' && currentPageIndex < 1) || (str == 'n' && currentPageIndex > pageCount - 2)) {
return;
}
if (str == 'p') {
currentPageIndex = currentPageIndex < 1 ? 1 : currentPageIndex - 1;
}
else {
if (typeof imgArray != 'undefined' && imgArray instanceof Array) {
currentPageIndex = currentPageIndex > pageCount - 2 ? pageCount : currentPageIndex + 1;
}
}
init();
}
imgArray = new Array();
imgArray.push('http://photo.100du.com/store_album/10/1d/3e/23380_100.jpg');
imgArray.push('http://photo.100du.com/store_album/fe/c9/eb/23379_100.jpg');
imgArray.push('http://photo.100du.com/store_album/02/26/aa/23378_100.jpg');
imgArray.push('http://photo.100du.com/store_album/dd/e5/af/23377_100.jpg');
imgArray.push('http://photo.100du.com/store_album/0e/ad/71/23376_100.jpg');
imgArray.push('http://photo.100du.com/store_album/43/51/43/23397_100.jpg');
imgArray.push('http://photo.100du.com/store_album/22/9b/98/23396_100.jpg');
imgArray.push('http://photo.100du.com/store_album/64/1e/0c/23395_100.jpg');
imgArray.push('http://photo.100du.com/store_album/e8/36/b5/23394_100.jpg');
imgArray.push('http://photo.100du.com/store_album/3c/79/e6/23393_100.jpg');
imgArray.push('http://photo.100du.com/store_album/c0/f3/a9/23383_100.jpg');
imgArray.push('http://photo.100du.com/store_album/d5/a1/46/23382_100.jpg');
imgArray.push('http://photo.100du.com/store_album/eb/72/d0/23381_100.jpg');
</script>
<script>
function init() {
if (typeof imgArray != 'undefined' && imgArray instanceof Array) {
//为了能看到效果,可以取消
$('imgOne').src = '';
$('imgTwo').src = '';
$('imgThree').src = '';
$('imgFour').src = '';
$('imgFive').src = '';
$('imgOne').src = imgArray[currentPageIndex * pageSize];
if (currentPageIndex * pageSize + 1 >= imgArray.length) {
$('imgTwo').style.display = "none";
}
else {
$('imgTwo').style.display = "";
$('imgTwo').src = imgArray[currentPageIndex * pageSize + 1];
}
if (currentPageIndex * pageSize + 2 >= imgArray.length) {
$('imgThree').style.display = "none";
}
else {
$('imgThree').style.display = "";
$('imgThree').src = imgArray[currentPageIndex * pageSize + 2];
}
if (currentPageIndex * pageSize + 3 >= imgArray.length) {
$('imgFour').style.display = "none";
}
else {
$('imgFour').style.display = "";
$('imgFour').src = imgArray[currentPageIndex * pageSize + 3];
}
if (currentPageIndex * pageSize + 4 >= imgArray.length) {
$('imgFive').style.display = "none";
}
else {
$('imgFive').style.display = "";
$('imgFive').src = imgArray[currentPageIndex * pageSize + 4];
}
$('spanLength').innerHTML = imgArray.length;
}
} //end function init
init();
if (typeof imgArray != 'undefined' && imgArray instanceof Array) {
$('imgO').src = $('imgOne').src.replace('_100.jpg', '.jpg');
pageCount = imgArray.length % pageSize == 0 ? imgArray.length / pageSize : Math.floor(imgArray.length / pageSize) + 1;
$('spanCurrent').innerHTML = 1;
}
</script>
<%-- -------------------end--%>
<!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>