⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 list_si.html

📁 网上商店 使用jsp开发网上商店系统 4.1环境准备 为了利用JSP技术,首先需要建立环境。
💻 HTML
📖 第 1 页 / 共 2 页
字号:
#set ($pcid = ${StringUtil.getLong($request,"pcid")})
#set ($cid = ${StringUtil.getLong($request,"cid")})
#set ($type = ${StringUtil.getInt($request,"type")})
#set ($p = ${StringUtil.getInt($request,"p")})
#set ($price_st = ${StringUtil.getFloat($request,"price_st")})
#set ($price_en = ${StringUtil.getFloat($request,"price_en")})
${pc.setPageNo($p)}
${pc.setPageSize(12)}
#set ($newPros = ${productMgr.getNewProductByCid($price_st,$price_en,$cid,$type,$pc)})
#set ($CatalogCommendPros = ${productMgr.getCatalogCommendProductsByCid($cid,12)})
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!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" />
<meta name="keywords" content="${systemConfig.getStringConfigValue("webtitle")}">
<meta name="description" content="${systemConfig.getStringConfigValue("webtitle")} ">
<title>${StringUtil.cuteNR(${detailCatalog.getString("description")})} ${systemConfig.getStringConfigValue("webtitle")}</title>
<link rel="stylesheet" type="text/css" href="../css/mall_tbsp.css@t=20080730.css" />
<link rel="stylesheet" type="text/css" href="../css/mall_base.css@t=20080730.css" />
<link  rel="stylesheet" type="text/css" href="../css/mall_common.css@t=20080730.css" />	
<link  rel="stylesheet" type="text/css" href="../css/mall_exhibit.css@t=20080730.css" />
<link href="../css/light.css" rel="stylesheet" type="text/css" />

<script>
function go(p)
{
	document.dataForm.p.value=p;
	window.location = "list-si-"+document.dataForm.price_st.value+"-"+document.dataForm.price_en.value+"-"+document.dataForm.pcid.value+"-"+document.dataForm.cid.value+"-"+document.dataForm.type.value+"-"+p+".html";
	
}

function price(st,en)
{
	document.dataForm.price_st.value = st;
	document.dataForm.price_en.value = en;
	go(1);
}

function changeTag(v)
{
	document.dataForm.type.value=v;
	go(1);
}

function goBrand(bid)
{
	location="../product/product-brand-"+bid+".html";
}


function changeStyle(type)
{
	if(type=='row') {
		window.location = "list-s-"+document.dataForm.price_st.value+"-"+document.dataForm.price_en.value+"-"+document.dataForm.pcid.value+"-"+document.dataForm.cid.value+"-"+document.dataForm.type.value+"-"+document.dataForm.p.value+".html";
	} else if(type=='grid') {
		window.location = "list-si-"+document.dataForm.price_st.value+"-"+document.dataForm.price_en.value+"-"+document.dataForm.pcid.value+"-"+document.dataForm.cid.value+"-"+document.dataForm.type.value+"-"+document.dataForm.p.value+".html";
	}
}






var previewImg = {busyPic :'../imgs/loading.gif'
,timeoutId:0
,src:''
,img:null}


function showImage(img)
{
	clearTimeout(previewImg.timeoutId);
	$('PreviewImage').src = previewImg.busyPic
	previewImg.timeoutId = setTimeout('loadPreview()',500);
	previewImg.img = img;
}
function loadPreview()
{
	var src = '';
	var href = '';
	img = previewImg.img;
	
	if(img.nodeName =="IMG"){
		var bodyDim = Element.getDimensions(document.body);
		//link = $(img).up('A')
		link = img.parentNode;
		var pos = Position.cumulativeOffset(img);
		//var d = Position.
		var left = pos[0] + img.width + 0
		var top = pos[1] + (img.height)/2
		src = img.longDesc;
		href = link.href
	}else if (img.nodeName == 'A')
	{
		var pos = Position.cumulativeOffset(img);
		//var d = Position.
		var left = pos[0] + img.offsetWidth 
		var top = pos[1]  
		
		href = img.href;
		//alert(img.getAttribute('longDesc'));
		src = img.getAttribute('longDesc');
			
	}else {return false;}
	
	Element.setStyle('PreviewBox', {'display': 'block', 'left': left+'px', "top": top+'px'});
	imgPreloader = new Image();
	
	// once image is preloaded, resize image container
	imgPreloader.onload=function(){
		$('PreviewImage').src =this.src;
		$('PreviewImage').width =this.width;
		$('PreviewImage').height =this.height;
		$('previewUrl').href = href;
		imgPreloader.onload=function(){};	//	clear onLoad, IE behaves irratically with animated gifs otherwise 
	}
	imgPreloader.src = src;

}
function hidePreview(e)
{//$('PreviewBox').style.display = 'none'
//	e = window.event || e;
	//alert(1);
	//alert(e);
	if(e){
	//alert(2);
		var toElement=e.relatedTarget||e.toElement;
		while(toElement){
		if(toElement.id=='PreviewBox'){return;}
		toElement=toElement.parentNode;}
	}
	try{
		//clearInterval(checkComplete.__timeId);
		//checkComplete.__img=null;
		//previewImage.src=null;
		$('PreviewBox').style.display = 'none'
		$('PreviewImage').src = previewImg.busyPic
		$('PreviewImage').width = '185';
		$('PreviewImage').height = '16';
		}
	catch(e){}
	
	//clearTimeout(previewTimeoutId);previewBox.style.display='none';
}

</script>

<script src="../js/request_c.js"></script>
<script src="../js/common.js"></script>
</head>
<body align=center>
${head}

<div class="page large shadow">
	<style type="text/css">
<!--
#headV3 { font-family:Verdana; height:34px; background:url(../../img/paipai/headbg.gif); overflow:hidden; margin-bottom:10px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #D6E8ED; }
body { margin: 0px; }
#logo_paipai { background-image: url(../../img/paipai/logo_sm.jpg); display: block; float: left; height: 33px; width: 295px; margin-left: 10px; cursor: hand; }
.top_paipaimenu { font-size: 12px; text-align: right; float: right; height: 25px; width: 300px; margin-top: 8px; margin-right: 15px; }
a.toppaipai:link,a.toppaipai:visited { font-size: 12px; color: #21407d; }
a.toppaipai:hover,a.toppaipai:active { font-size: 12px; color: #ff7e00; }

#quicknav select
{
	width:150px;
}
-->
</style>

				

	<div class="body grid-layout-3">
		<!--内容开始-->
		<div class="body-content">
			<div class="body-skin">
				<!--主内容开始-->
				<div class="main">
					<div class="grid-column">
						<div class="crumbs">
							<ul class="crumbs-patch">
								<li>您的位置</li> >  <a href="list-p-0-${pcid}.html"> ${pdetailCatalog.getString("title")} </a>${detailCatalog.getString("title")}
							</ul>
						</div>

						<div id="listFilter">
						 


						 <div id="firstContentWrap" style="overflow:hidden"><div class="links">
#if (${detailCatalog.getString("internal_banner")}!="")
			<table width="100%" border="0" cellspacing="0" cellpadding="0" >
  <tr>
    <td><a href="${detailCatalog.getString("internal_banner_link")}" target="_blank"><img src="${ConfigBean.getStringValue("systenFolder")}.${ConfigBean.getStringValue("upload_pro_img")}${detailCatalog.getString("internal_banner")}" border="0"></a></td>
  </tr>
</table><br /><br />
#end

		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td valign="top"><span class="title">您可能会比较关注:</span> <br />
				</td>
				<td valign="top">&nbsp;</td>
				<td valign="top"><span class="title">相关分类:</span></td>
			</tr>
			<tr>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -