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

📄 index.ascx

📁 jsp实现的网上购物系统
💻 ASCX
字号:
<%@ Control Language="c#" EnableViewState="False" AutoEventWireup="false" Inherits="JiSuShop.Web.Skin.Index" %>
<%@ Register TagPrefix="JSS" TagName="GoodsSortList" Src="GoodsSortList.ascx" %>
<%@ Register TagPrefix="JSS" TagName="SellList" Src="SellList.ascx" %>
<%@ Register TagPrefix="JSS" TagName="IndexBulletin" Src="IndexBulletin.ascx" %>
<%@ Register TagPrefix="JSS" TagName="RecommendGoods" Src="RecommendGoods.ascx" %>
<%@ Register TagPrefix="JSS" TagName="NewGoods" Src="NewGoods.ascx" %>
<%@ Register TagPrefix="JSS" TagName="ImageLink" Src="ImageLink.ascx" %>
<%@ Register TagPrefix="JSS" TagName="FriendLink" Src="FriendLink.ascx" %>
<%@ Register TagPrefix="JSS" TagName="SaleGoods" Src="SaleGoods.ascx" %>
<%@ Register TagPrefix="JSS" TagName="MainHeader" Src="MainHeader.ascx" %>
<%@ Register TagPrefix="JSS" TagName="MainFooter" Src="MainFooter.ascx" %>
<%@ Register TagPrefix="JSS" TagName="ArticleList" Src="ArticleList.ascx" %>
<html>
<head>
<title><asp:Literal ID="HeaderTitle" Runat="server" /></title>
<meta http-equiv="bulletin-date" content="<asp:Literal ID='HeaderBulletinDate' Runat='server' />">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="robots" content="all">
<meta name="author" content="http://www.jisushop.com/">
<meta name="copyright" content="JiSuShop Team">
<meta name="keywords" content="<asp:Literal ID='HeaderKeyWords' Runat='server'></asp:Literal>">
<meta name="description" content="<asp:Literal ID='HeaderDescription' Runat='server'></asp:Literal>">
<link href="Skin/Clothing/Images/Public.css" rel="stylesheet" type="text/css">
<link href="Skin/Clothing/Images/Font.css" rel="stylesheet" type="text/css">
<link href="Skin/Clothing/Images/Index.css" rel="stylesheet" type="text/css">
<script src="js/Function.js"></script>
</head>
<body>
<form id="form" runat="server">
 <JSS:MAINHEADER id="MainHeader" runat="server" IsShowLogin="true"/>
 <table width="980" border="0" cellspacing="0" cellpadding="0" class="C_MarginBorder">
  <tr>
   <td width="778" valign="top;"><table width="778" height="100" border="0" align="center" cellpadding="0" cellspacing="0"
							class="GuangGao_Content">
     <tr>
      <td><script language="JavaScript">
var strArray=new Array();
strArray[1]='<a href="http://www.jisushop.com" target="_blank"><img src="Skin/Clothing/Images/ad01.gif" border="0" alt="极速网店系统"></a> <a href="http://www.jisushop.com" target="_blank"><img src="Skin/Clothing/Images/ad02.gif" border="0" alt="极速网店系统"></a> <a href="http://www.jisushop.com" target="_blank"><img src="Skin/Clothing/Images/ad03.gif" border="0" alt="极速网店系统"></a>'

strArray[2]='<a href="http://www.jisushop.com" target="_blank"><img src="Skin/Clothing/Images/ad04.gif" border="0" alt="极速网店系统"></a> <a href="http://www.jisushop.com" target="_blank"><img src="Skin/Clothing/Images/ad05.gif" border="0" alt="极速网店系统"></a> <a href="http://www.jisushop.com" target="_blank"><img src="Skin/Clothing/Images/ad06.gif" border="0" alt="极速网店系统"></a> '

strArray[3]='<a href="http://www.jisushop.com" target="_blank"><img src="Skin/Clothing/Images/ad01.gif" border="0" alt="极速网店系统"></a> <a href="http://www.jisushop.com" target="_blank"><img src="Skin/Clothing/Images/ad02.gif" border="0" alt="极速网店系统"></a> <a href="http://www.jisushop.com" target="_blank"><img src="Skin/Clothing/Images/ad03.gif" border="0" alt="极速网店系统"></a>  '

									</script>
       <script>
document.write('<table width=100% border=0 cellspacing=0 cellpadding=0>'
+'<tr><td width=100%>'
+'<div id="icefable1" style="width:100%;">'
+'<table width=778 border=0 cellspacing=0 cellpadding=0>'
+'<tr><td height=106>'+strArray[1]+'</td></tr>'
+'<tr><td height=106>'+strArray[2]+'</td></tr>'
+'<tr><td height=106>'+strArray[3]+'</td></tr>'
+'</table>'
+'</div>'
+'<div id="icefable2" style="position:absolute;z-index:1;visibility:hidden"></div>'
+'</td></tr>'
+'</table>');

marqueesHeight=150;
stopscroll=false;
icefable1.scrollTop=0;

with(icefable1){
  style.width=0;
  style.height=marqueesHeight;
  style.overflowX="visible";
  style.overflowY="hidden";
  noWrap=true;
  onmouseover=new Function("stopscroll=true");
  onmouseout=new Function("stopscroll=false");
}

preTop=0; currentTop=0; stoptime=0;

function init_srolltext(){
  icefable2.innerHTML="";
  icefable2.innerHTML+=icefable1.innerHTML;    
  icefable1.innerHTML=icefable2.innerHTML+icefable2.innerHTML;
  setInterval("scrollUp()",1);
}
function scrollUp(){
  if(stopscroll==true) return;
  currentTop+=1;
  if(currentTop==155)
  {
  	stoptime+=1;
  	currentTop-=1;
  	if(stoptime==300) 
  	{
  		currentTop=0;
  		stoptime=0;
  	}
  }
  else {  	
	  preTop=icefable1.scrollTop;
	  icefable1.scrollTop+=1;
	  if(preTop==icefable1.scrollTop){
	    icefable1.scrollTop=icefable2.offsetHeight-marqueesHeight;
	    icefable1.scrollTop+=1;
	  }
  }

}
init_srolltext();
									</script>
      </td>
     </tr>
    </table></td>
   <td width="190" valign="top"><JSS:INDEXBULLETIN id="IndexBulletin" runat="server" SubTextCount="20" />
   </td>
  </tr>
 </table>
 <table width="980" border="0" cellspacing="0" cellpadding="0" class="C_MarginBorder">
  <tr>
   <td width="20" valign="top"><img src="Skin/Clothing/Images/JSS_TJ_03.gif" /></td>
   <td align="right" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="11" height="14" align="left" valign="top"><img src="Skin/Clothing/Images/JSS_TJ_04.gif" /></td>
      <td class="TJ_Border_t"></td>
      <td width="14" align="right" valign="top"><img src="Skin/Clothing/Images/JSS_TJ_07.gif" /></td>
     </tr>
     <tr>
      <td class="TJ_Border_l"></td>
      <td height="163" valign="bottom"><JSS:SaleGoods id="SaleGoods" runat="server" ListCount="5" SubTextCount="30"></JSS:SaleGoods>
      </td>
      <td class="TJ_Border_r"></td>
     </tr>
     <tr>
      <td height="16" align="left" valign="bottom"><img src="Skin/Clothing/Images/JSS_TJ_17.gif" /></td>
      <td class="TJ_Border_b"></td>
      <td align="right" valign="bottom"><img src="Skin/Clothing/Images/JSS_TJ_19.gif" /></td>
     </tr>
    </table></td>
   <td width="21" align="left" valign="bottom"><img src="Skin/Clothing/Images/JSS_TJ_11.gif" /></td>
  </tr>
 </table>
 <table width="980" border="0" cellspacing="0" cellpadding="0">
  <tr>
   <td width="188"><img src="Skin/Clothing/Images/JSS_Clothing_38.gif" /></td>
   <td valign="top" class="Item_Hot01_Bg"><img src="Skin/Clothing/Images/JSS_Clothing_42.gif" /></td>
   <td width="165" class="Item_Hot01_Bg"><a href="<asp:Literal runat=server id=RecommendGoodsMoreLink />"> <img src="Skin/Clothing/Images/Icon_bulletin_07.gif" /></a> </td>
   <td width="32" valign="top"><img src="Skin/Clothing/Images/JSS_Clothing_57.gif" /></td>
  </tr>
 </table>
 <table width="980" height="560" border="0" cellpadding="0" cellspacing="0" class="Item_Hot01">
  <tr>
   <td width="188" valign="top" class="Item_Hot01_Left"><table width="100%" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td class="Item_Hot01_ContentBg"><JSS:SELLLIST id="SellList" runat="server" SubTextCount="20" ListCount="10" />
	  <div style="position:relative;"><div style="position:absolute; z-index:10; width:165px; padding-bottom:20px; top:25px; left:0px; background:#fff;">
 <JSS:ArticleList id="ArticleList" runat="server" ShowDate="true" TitleLength="20" ListCount="7" IsBlank="true" />
 </div></div>
      </td>
     </tr>
     <tr>
      <td><img src="Skin/Clothing/Images/JSS_Clothing_49.gif" /></td>
     </tr>
    </table></td>
   <td valign="top"><JSS:RECOMMENDGOODS id="RecommendGoods" runat="server" SubTextCount="26" ListCount="4" />
   </td>
  </tr>
 </table>
 <table width="980" border="0" cellspacing="0" cellpadding="0">
  <tr>
   <td width="188"><img src="Skin/Clothing/Images/JSS_Sort_38.gif" /></td>
   <td valign="top" class="Item_Hot01_Bg"><img src="Skin/Clothing/Images/JSS_Clothing_39.gif" /></td>
   <td width="165" class="Item_Hot01_Bg"><a href="<asp:Literal runat=server id=NewGoodsMoreLink />"> <img src="Skin/Clothing/Images/Icon_bulletin_07.gif" /></a></td>
   <td width="16" valign="top"><img src="Skin/Clothing/Images/JSS_Clothing_57.gif" /></td>
  </tr>
 </table>
 <table width="980" border="0" cellpadding="0" cellspacing="0" class="Item_Hot01">
  <tr>
   <td width="188" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td valign="top" class="Item_Hot01_ContentBg"><JSS:GoodsSortList ChildSubTextCount="8" ChildListCount="2" id="GoodsSortList" Flag="true" runat="server"
										SubTextCount="18" />
      </td>
     </tr>
     <tr>
      <td><img src="Skin/Clothing/Images/JSS_Clothing_49.gif" /></td>
     </tr>
    </table></td>
   <td valign="top"><JSS:NEWGOODS id="NewGoods" runat="server" SubTextCount="26" ListCount="4" />
   </td>
  </tr>
 </table>
 <JSS:FRIENDLINK id="FriendLink" SubTextCount="-1" ListCount="14" runat="server" />
 <JSS:IMAGELINK id="ImageLink" ListCount="10" runat="server" />
 <JSS:MAINFOOTER id="MainFooter" runat="server" />
 
</form>
</body>
</html>

⌨️ 快捷键说明

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