<!-- 幻灯开始 --><script language="javascript">
var sPicArr = new Array();
sPicArr[0] = new Array('/images/tenpay.jpg','科汛与腾讯财付通达成合作','凡在2008年3月25日至2008年5月25日期间,Kesion系统集成财付通的用户免费送会员两个月!','http://www.kesion.com/qq/');
sPicArr[1] = new Array('/upfiles/article/home/xd.jpg','科汛在线图文V2008系列产品发布!','科汛在线图文下单系统V2008 (Kesion Orders System)就是科汛专为输出、设计、喷画、广告..','http://www.kesion.com/twcs/v2008/');
sPicArr[2] = new Array('/images/kh.gif','科汛与海量联手向广大KesionCMS','海量与联盟中国和国内最受欢迎的网站内容管理系统(CMS)合作,为网站提供了包含数据源、数据','http://bbs.kesion.com/dispbbs.asp?boardID=41&ID=31154&page=1');
sPicArr[3] = new Array('/images/43.gif','KesionCMS V4.X普及SQL热销中','科汛网站管理系统V4.X正式版集成Web2.0元素,她是一个经过完善设计及其强大的会员互动...','http://www.kesion.com/');
function GetObj(objName){
if(document.getElementById){
return eval('document.getElementById("' + objName + '")');
}else if(document.layers){
return eval("document.layers['" + objName +"']");
}else{
return eval('document.all.' + objName);
}
}
var plPic = new Image();
var gIndex = 0;
function SlidePic(index){
gIndex = index;
//patch by dorian 1017
if ('Microsoft Internet Explorer' == navigator.appName)
{
document.images["slidePic"].filters.item(0).Apply();
}
document.images["slidePic"].src = sPicArr[index][0];
document.images["slidePic"].alt = sPicArr[index][1];
GetObj("slidePicLink").href = sPicArr[index][3];
GetObj("slideTitle").innerHTML = "<a href='"+sPicArr[index][3]+"' target=_blank class=links title='全文'>"+sPicArr[index][1]+"</a>";
GetObj("slideContent").innerHTML = " " + sPicArr[index][2] + " <span class='uline'><a href='" + sPicArr[index][3] + "'>详细 »</a>"
//sPicArr[index][1];
//GetObj("slideDesc").innerHTML = sPicArr[index][2];
//GetObj("slideLink").innerHTML = "[<a href='"+sPicArr[index][3]+"' target=_blank class=links title='全文'>全文</a>]";
if((index+1)<sPicArr.length) plPic.src = sPicArr[index+1][0];//preload;
for(var i=0;i<sPicArr.length;i++){
GetObj("item"+i).className = "itemOff";
GetObj("item"+i).onmouseover = function(){return false;}
GetObj("item"+i).onmouseout = function(){return false;}
}
GetObj("item"+index).className = "itemOn";
if ('Microsoft Internet Explorer' == navigator.appName)
{
document.images["slidePic"].filters.item(0).play();
}
}
function NextPic(){
gIndex = ((gIndex+1)>=sPicArr.length?0:(gIndex+1));
SlidePic(gIndex);
}
function PrevPic(){
//alert(gIndex);
gIndex = ((gIndex-1)<0?(sPicArr.length-1):(gIndex-1));
//alert(gIndex);
SlidePic(gIndex);
}
var sid;
function inislide()
{
if(sid==null) sid = setInterval('NextPic()', 6000);//fixed by AmourGUO, 051017
}
function pauseslide()
{
clearInterval(sid);
sid = null;
}
</script>
<div class="left_col" id="img_news">
<div id="pic"><a id="slidePicLink" title href="www.kesion.com" target="_blank"><img border="0" src="/images/3.1.gif" width="226" height="154" id="slidePic" onMouseOver="pauseslide();" style="FILTER: revealtrans(duration=2.0,transition=12);" onMouseOut="inislide();" name="slidePic"></a></div>
<script>document.getElementById("slidePic").src=sPicArr[0][0];</script>
<script>document.getElementById("slidePicLink").href=sPicArr[0][3];</script>
<div id="num">
<script language="javascript">
for(var i=0;i<sPicArr.length;i++){document.writeln("<span style='height:10px' id='item"+i+"' onClick='SlidePic("+i+");'>"+(i+1)+"</span> ");}
</script>
</div>
<div id="text"><h3 id="slideTitle"></h3>
<p id="slideContent"></p>
<script language="javascript"> GetObj("slideTitle").innerHTML=sPicArr[0][1];GetObj("slideContent").innerHTML = sPicArr[0][2] + " <span class='uline'><a href='" + sPicArr[0][3] + "'>详细 »</a>"</script>
</div>
<script language="javascript">inislide();</script>
</div>
<!-- 幻灯结束 -->
把上面的做成一个静态标签调用就是了