Demo entry 6655471

备份

   

Submitted by name on Oct 26, 2017 at 18:16
Language: HTML. Code size: 6.9 kB.

<!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=gb2312" />
<title>{cms:sitetitle}</title>
<meta name="Keywords" content="{cms:sitekeywords}" />
<meta name="Description" content="{cms:sitedesc}" />

<link href="../css/index.css" type="text/css" rel="stylesheet" />
<link href="../css/16sucai_index.css" rel="stylesheet" type="text/css">
<script src="../js/jquery-1.4.2.min.js"></script>
<script src="../js/swfobject_source.js"></script>
<style type="text/css">
 .link ul li{ float:left; display:inline; line-height:25px; padding:0 5px 0 5px;}
 .link h2{ font-size:14px;color:#b20000; line-height:30px; padding-top:10px;}
</style>
<!--IE6透明判断-->
<!--[if IE 6]>
<script src="js/DD_belatedPNG_0.0.8a-min.js"></script>
<script>
DD_belatedPNG.fix('.flash_bar,#tit_fc1,#tit_fc2,#tit_fc3,#tit_fc4,#flashLine');
</script>
<![endif]-->
</head>

<body>
<div class="container">

{cms:top}
</div>
<!--头部-->
<div class="clear"></div>
<!--flash begin-->
<div id="flashBg" style="background-color:#7b0004; ">
<div id="flashLine">
<div id="flash">
<a href="" id="flash1" style="display: block; " ><img src="images/1.png" width="980" height="310"></a>
<a href="" id="flash2" style="display: none; "><img src="images/2.png" width="980" height="310"></a>
<a href="" id="flash3" style="display: none; "><img src="images/3.png" width="980" height="310"></a>
  <div class="flash_bar">
<div class="dq" id="f1" onClick="changeflash(1)"></div>
<div class="no" id="f2" onClick="changeflash(2)"></div>
<div class="no" id="f3" onClick="changeflash(3)"></div>
  </div>
</div>
</div>
</div>
<script>
var currentindex=1;
$("#flashBg").css("background-color",$("#flash1").attr("name"));
function changeflash(i) {	
currentindex=i;
for (j=1;j<=3;j++){
	if (j==i) 
	{$("#flash"+j).fadeIn("normal");
	$("#flash"+j).css("display","block");
	$("#f"+j).removeClass();
	$("#f"+j).addClass("dq");
	$("#flashBg").css("background-color",$("#flash"+j).attr("name"));
	}
	else
	{$("#flash"+j).css("display","none");
	$("#f"+j).removeClass();
	$("#f"+j).addClass("no");}
}}
function startAm(){
timerID = setInterval("timer_tick()",5000);
}
function stopAm(){
clearInterval(timerID);
}
function timer_tick() {
    currentindex=currentindex>=3?1:currentindex+1;
	changeflash(currentindex);}
$(document).ready(function(){
$(".flash_bar div").mouseover(function(){stopAm();}).mouseout(function(){startAm();});
startAm();
});
</script>
<!--flash end--><!--动画-->
<div class="main">
 <div class="index_left">
 <div class="index_about" style="margin-right:18px;">
 <h2>关于祖德</h2>
 <span><img src="images/zd1_19.jpg" width="275" height="83" /></span>
 <p>
 
 {cms:about type=2 sort=17 len=120}[about:info]{/cms:about}   <a href="/about/17.html">< 详情点击 ></a>
 
  </p>
 </div><!--关于我们-->
 <div class="index_news">
 <div class="title"><h2>新闻中心</h2><div class="more"><a href="/newslist/2_1.html">>>更多</a></div></div>
 <div class="clear"></div>
 
 
  
    {cms:news sort=2  num=1 tpye=0 order=istop}

    
    
 <div class="index_news_img"><img src="[news:pic]" width="115" height="82" /></div>
 <div class="index_news_txt"><h2>[news:title len=13]</h2><span>[news:desc len=50]...<a href="[news:link]">< 详情点击 ></a></span></div>
 
 {/cms:news}
 <div class="clear"></div>
 <ul>
 
 
 
 
 
  {cms:news sort=2  num=5  tpye=0  order=order}
  
  <li><span>[[news:date style=y-m-d]]</span><a href="[news:link]">·[news:title len=15]</a></li>

{/cms:news}
 
 
 
 
 </ul>
 </div><!--新闻中心-->
 <div class="clear"></div>
 <div class="index_pro tb_top">
 <h2>产品展示</h2>
 <ul>
 
  {cms:navlist type=3}
       
<li><A href="[navlist:link]">[navlist:name]</A></li>

           {/cms:navlist} 
 
 
 
 
 
 
 </ul>
 <div class="clear"></div>
 <div class="gun">
 <div id=demo style="overflow:hidden;width:650px;" align=center   >
	<table border=0 align=center cellpadding=1 cellspacing=1 cellspace=0 >
	<tr>
    <td valign=top id=marquePic1>
	<table width='100%' border='0' cellspacing='0'>
    <tr>
    
    
       {cms:product sort=3  num=10 tpye=0  order=order}

            
    <td><a href="[product:link]" title="[product:title len=28]"><img src="[product:pic]" width="146" height="106"  border="0"/></a><span>[product:title]</span></td>
       {/cms:product}
 
    </tr></table>
	</td>
    <td id=marquePic2 valign=top></td>
    </tr>
	</table></div>
  </div>
 <script type="text/javascript">
var speed=50 
marquePic2.innerHTML=marquePic1.innerHTML 
function Marquee(){ 
if(demo.scrollLeft>=marquePic1.scrollWidth){ 
demo.scrollLeft=0 
}else{ 
demo.scrollLeft++ 
} 
} 
var MyMar=setInterval(Marquee,speed) 
demo.onmouseover=function() {clearInterval(MyMar)} 
demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)} 
</script>  
 </div><!--产品展示-->
 </div><!--左-->
 <div class="index_right">
  
  
    
   <div class="qie">

  
<DIV id=dplayer2 style="margin-top:0px;"></DIV>
  <SCRIPT language=javascript type=text/javascript>
  
  

  
   {cms:pic sort=4  num=4 tpye=0  order=istop}  
imgUrl[pic:i]="[pic:pic]";
imgLink[pic:i]="[pic:link]";
imgtext[pic:i]="[pic:title]";
{/cms:pic}



var titles =imgtext1+"|"+imgtext2+"|"+imgtext3+"|"+imgtext4;
var imgs=imgUrl1+"|"+imgUrl2+"|"+imgUrl3+"|"+imgUrl4;
var urls=imgLink1+"|"+imgLink2+"|"+imgLink3+"|"+imgLink4;
var pw = 262;
var ph = 186;
var sizes = 14;
var Times = 4000;
var umcolor = 0xFFFFFF;
var btnbg =0xFF7E00;
var txtcolor =0xFFFFFF;
var txtoutcolor = 0x000000;
var flash = new SWFObject('images/focus1.swf', 'mymovie', pw, ph, '7', '');
flash.addParam('allowFullScreen', 'true');
flash.addParam('allowScriptAccess', 'always');
flash.addParam('quality', 'high');
flash.addParam('wmode', 'Transparent');
flash.addVariable('pw', pw);
flash.addVariable('ph', ph);
flash.addVariable('sizes', sizes);
flash.addVariable('umcolor', umcolor);
flash.addVariable('btnbg', btnbg);
flash.addVariable('txtcolor', txtcolor);
flash.addVariable('txtoutcolor', txtoutcolor);
flash.addVariable('urls', urls);
flash.addVariable('Times', Times);
flash.addVariable('titles', titles);
flash.addVariable('imgs', imgs);
flash.write('dplayer2');
</SCRIPT>
  
  </div>
  
  
  <div class="index_contact tb_top">
   地址:{cms:companyaddress} <br>
电话:{cms:companyphone} <br>
网址:{cms:siteurl}  <br>
邮箱:{cms:companyemail}  <br>
Q    Q:{cms:companypostcode}<br>
  
  </div><!--联系我们-->
 </div>
 <div class="clear"></div>
<div class="link">
 <h2>友情链接:</h2>
 <ul>
 {cms:linklist  type=font}<li><a href="[linklist:link]">[linklist:name]</a></li><li>|</li>{/cms:linklist}
 </ul>
 <div class="clear"></div> 
 </div>
</div>



{cms:foot}
</div>

</body>
</html>

This snippet took 0.02 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).