Google
      
发新话题
打印

图片展示代码

本主题由 NoahsArk 于 2008-3-4 12:56 移动

图片展示代码

把如下代码加入<body>区域中
<body onclick=Clicked()>
<SCRIPT>
<!--
transeffect = 0;
theeffects = new Array(24);
theeffects[0] = "盒状收缩";
theeffects[1] = "盒状向外";
theeffects[2] = "圆形收缩";
theeffects[3] = "圆形向内";
theeffects[4] = "从下向上";
theeffects[5] = "从上向下";
theeffects[6] = "从左向右";
theeffects[7] = "从右向左";
theeffects[8] = "百页窗形向右";
theeffects[9] = "百页窗形向下";
theeffects[10] = "棋盘形交叉向右";
theeffects[11] = "棋盘形交叉向下";
theeffects[12] = "随意溶解形";
theeffects[13] = "左右向内";
theeffects[14] = "左右向外";
theeffects[15] = "上下向内";
theeffects[16] = "上下向外";
theeffects[17] = "条纹状向左下";
theeffects[18] = "条纹状向左上";
theeffects[19] = "条纹状向右下";
theeffects[20] = "条纹状向右上";
theeffects[21] = "溶解水平状";
theeffects[22] = "溶解上下状";
theeffects[23] = "随着溶解";
current_image = "image1";
function Clicked() {
var the_image, the_other;
text2.style.visiblity="hidden";
if (image1.style.visibility=="inherit") {
the_image = image2;
the_other = image1;
}
else {
the_image = image1;
the_other = image2;
}
the_other.style.visibility="hidden";
the_image.filters.item(0).Apply();
the_image.filters.item(0).Transition = transeffect;
the_image.filters.item(0).Play(2.0);
the_image.style.visibility="inherit";
text2.innerText=theeffects[transeffect];
transeffect++;
if (transeffect == 24)
transeffect = 0;
text2.style.visibility="visible";
}
//-->
</SCRIPT>
<DIV id=image>
<DIV id=text1></DIV><IMG id=image1
src="054.gif"
style="FILTER: revealTrans(Duration=3.0,Transition=1); VISIBILITY: hidden"> <IMG id=image2 src="054.gif"
style="FILTER: revealTrans(Duration=3.0,Transition=1); VISIBILITY: hidden"> </DIV>
<DIV id=text2></DIV>


第二步:把<body>中的内容改为:
<body bgcolor="#fef4d9" onclick=Clicked()>

TOP

步骤 1 - 安装
1、Lightbox v2.0 使用 Prototype 框架和 Scriptaculous 效果库. 你将需要外调这三个 Javascript 文件在你的 header.


[Copy to clipboard]
CODE:
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>

2、外调 Lightbox CSS 文件 (或添加 Lightbox 样式到你现行的样式表中).


[Copy to clipboard]
CODE:
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />

3、检查 CSS 并确定调用的 prev.gif 和 next.gif 文件在正确的位置. 同样要确定调用的 loading.gif 和 close.gif 文件及 lightbox.js 文件在正确的位置.
步骤 2 - 激活
1、添加 rel="lightbox" 属性到任何一个链接标签去激活lightbox. 例如:


[Copy to clipboard]
CODE:
<a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>

可选择项: 使用 title 属性加上说明.
2、如果你有一套你想分组的相关图片, 接着上一部并且又在 rel 属性中添加一个带方括号的组名. 例如:


[Copy to clipboard]
CODE:
<a href="images/image-1.jpg" rel="lightbox[roadtrip]">image #1</a>
<a href="images/image-2.jpg" rel="lightbox[roadtrip]">image #2</a>
<a href="images/image-3.jpg" rel="lightbox[roadtrip]">image #3</a>

3、没有限定每个页面的图片组数量和每个图片组图片的数量. 疯了!

TOP

<CENTER>
<img width=200 height=223 src="../../tx1/images/图片名字.jpg" name="x1">
</CENTER>
<FORM>
<CENTER>
<SELECT onChange="document.x1.src=options[selectedIndex].value">
<option value="images/图片名字1.jpg">看看图片1</option>
<option value="images/图片名字2.jpg">看看图片2</option>
<option value="images/图片名字3.jpg">看看图片3</option>
<option value="images/图片名字4.jpg">看看图片4</option>
</SELECT>
</CENTER>
</FORM>

TOP

JS图片翻动展示代码,在网上淘来的,想要改写一下来用。对JS是连皮毛也不懂,自己在网上搜资料看的头大,贴出来求教高人


想改写的目标效果:

页面A.HTML中使用两个iframe,iframe1中src=1.HTML,内容和实现的功能就是下边标注的“小图显示部分”,iframe2中src=2.HTML,内容和实现的功能就是下边标注的“大图显示部分”,即经过改写后使用iframe,1.HTML的参数可以正确的传递到2.HTML并正确的执行。

另:所谓的“大图显示部分”似乎较为简单,能否实现其src的值在1.HTML中定义,从1.HTML中获取?


请各位高人赐教,最好是做上浅显的注释,以便学习。


========================页面主要内容===========================
<style type="text/css">
<!--
.clssMainRoll {
FILTER: progid:DXImageTransform.Microsoft.Slide(slidestyle=SWAP,Bands=1); CURSOR: pointer
}
-->
</style>


<script language="JavaScript" type="text/javascript" src="imagerollover.js"></script>


<!--JS代码部分1-->
<SCRIPT language=javascript>
var m_nPageInitTime = new Date();
var MainTopRoll = new xwzRollingImageTrans("IMG_MAIN_TOP_ROLL_DETAIL", "IMGS_MAIN_TOP_ROLL_THUMBNAIL");
MainTopRoll.addItem("http://www.baidu.com/","images/shower_01.jpg");
MainTopRoll.addItem("http://www.sina.com/","images/shower_02.jpg");
MainTopRoll.addItem("http://www.qq.com/","images/shower_03.jpg");
MainTopRoll.addItem("http://www.126.com/","images/shower_04.jpg");
</SCRIPT>


<!--大图显示部分-->
<TABLE cellSpacing=0 cellPadding=0 width=575 align=center>
<TBODY>
   <TR>
<TD id="IDS_DIV_MAIN_TOP_ROLL_DETAIL" width=500 height=235>
<IMG class=clssMainRoll height=235 src="images/shower_01.jpg" width=500 border=0 name="IMG_MAIN_TOP_ROLL_DETAIL">
</TD>
   </TR>
</TBODY>
</TABLE>


<!--小图显示部分-->
<TABLE cellSpacing=0 cellPadding=0 align=center>
<TBODY>
    <TR>
   <TD align=right height=60>
   <IMG style="DISPLAY: none" height=5 src="" width=9 align=absMiddle border=0 name="IMGS_MAIN_TOP_ROLL_THUMBNAIL">
   <IMG style="CURSOR: pointer" onclick="MainTopRoll.alterImage(0)" src="images/mini_01.jpg" border=0>
   </TD>
    </TR>
    <TR>
   <TD align=right height=60>
   <IMG style="DISPLAY: none" height=5 src="" width=9 align=absMiddle border=0 name="IMGS_MAIN_TOP_ROLL_THUMBNAIL">
   <IMG style="CURSOR: pointer" onclick="MainTopRoll.alterImage(1)" src="images/mini_02.jpg" border=0>
   </TD>
    </TR>
    <TR>
   <TD align=right height=60>
   <IMG style="DISPLAY: none" height=5 src="" width=9 align=absMiddle border=0 name="IMGS_MAIN_TOP_ROLL_THUMBNAIL">
   <IMG style="CURSOR: pointer" onclick="MainTopRoll.alterImage(2)" src="images/mini_03.jpg" border=0>
   </TD>
    </TR>
    <TR>
   <TD align=right height=60>
   <IMG style="DISPLAY: none" height=5 src="" width=9 align=absMiddle border=0 name="IMGS_MAIN_TOP_ROLL_THUMBNAIL">
   <IMG style="CURSOR: pointer" onclick="MainTopRoll.alterImage(3)" src="images/mini_04.jpg" border=0>
   </TD>
    </TR>
</TBODY>
</TABLE>


<!--JS代码部分2-->
<SCRIPT language=JavaScript>
MainTopRoll.Index =   parseInt('0');
MainTopRoll.install();
</SCRIPT>
==========================页面内容结束===========================



下边是JS文件代码
==========================JS代码内容===========================
function MM_swapImgRestore() { //v3.0
   var i,x,a=document.MM_sr;
   for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++){
    x.src=x.oSrc;
   }
}

function MM_preloadImages() { //v3.0
   var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
     var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
     if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}

function MM_findObj(n, d) { //v4.01
   var p,i,x;   if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
     d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
   if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
   for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
   if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
   var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
    if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function swapLayer(sById1, sById2){
var div1 = document.getElementById(sById1);
var div2 = document.getElementById(sById2);
if(div1 == null || div2 == null) return;
if(div1.style.display == 'none'){
   div1.style.display = "block";
   div2.style.display = "none";
}else{
   div1.style.display = "none";
   div2.style.display = "block";
}
}

/* ================================================
<img onMouseOver=xwzImgRollOver(this, true, '/path/src/sample.gif') onMouseOut=xwzImgRollOver(this)
================================================ */
function xwzImgRollOver(oImg, bType, sSrc){
if(bType == true){
   if( oImg.getAttribute('xwzAlreadySrc') == null) oImg.setAttribute('xwzAlreadySrc', oImg.src);
   oImg.src = sSrc;
}else{
   if( oImg.getAttribute('xwzAlreadySrc') != null) oImg.src = oImg.getAttribute('xwzAlreadySrc');
}
}

function xwzRollingImageTrans(imageName, thumbnailName, eventName, winName){
this.Index = 0;
this.ListItem = new Array(0);
this.Name = imageName;
this.Thumbnail = thumbnailName;
this.tmRotate = null;
this.nInterval = 4500;
this.eventName = eventName;
this.winTarget = winName;

if(window.xwzRollObject == null) window.xwzRollObject = new Array(0);
window.xwzRollObject[this.Name] = this;

this.install = function(){
   window.document.images[this.Name].onclick=this.goLink;
   if(this.ListItem.length == 0) return;
   this.tmRotate = setTimeout("window.xwzRollObject['" + this.Name + "'].rotateTrans()" , this.nInterval);
   var icons = document.getElementsByName(this.Thumbnail);
   for(var i = 0; i < icons.length; i++){
    if(this.eventName == 'over') icons.onmouseover=new Function("window.xwzRollObject['"+this.Name+"'].alterImage(" + i + ")");
    else icons.onclick=new Function("window.xwzRollObject['"+this.Name+"'].alterImage(" + i + ")");
   }
}

this.addItem = function(Link, ImgSrc, Icon1, Icon2 ){
   var itmX = {Link : "", ImgSrc : "", DefIcon : "", OvrIcon : ""};
   itmX.Link = Link;
   itmX.ImgSrc = ImgSrc;
   itmX.DefIcon = Icon1;
   itmX.OvrIcon = Icon2;
   this.ListItem[this.ListItem.length] = itmX;
}

this.alterImage = function(index){
   var icons = document.getElementsByName(this.Thumbnail);
   if(this.Index == index) return;
   if(this.ListItem[this.Index].DefIcon !="") icons[this.Index].src = this.ListItem[this.Index].DefIcon;

   this.Index = index;
   this.imgTrans();
   clearTimeout(this.tmRotate);
   this.tmRotate = null;
   this.tmRotate = setTimeout("window.xwzRollObject['" + this.Name + "'].rotateTrans()" , this.nInterval);

}


this.goLink = function(){
   var name = this.getAttribute('name');
   var xwzRoll = window.xwzRollObject[name];
   clearTimeout(xwzRoll.tmRotate);
   xwzRoll.tmRotate = null;
         xwzRoll.winTarget="_blank"; //定义是否弹出新页面
   if(xwzRoll.winTarget == '' || xwzRoll.winTarget == null){
    window.location.href=xwzRoll.ListItem[xwzRoll.Index].Link;
   }else{
    window.open(xwzRoll.ListItem[xwzRoll.Index].Link, xwzRoll.winTarget);
   }
}


this.rotateTrans = function(){
   var icons = document.getElementsByName(this.Thumbnail);
   var itmX = this.ListItem[this.Index];
   if(itmX.DefIcon !="") icons[this.Index].src = itmX.DefIcon;

   this.Index +=1;
   if(this.Index >= this.ListItem.length) this.Index = 0;

   this.imgTrans();
  
   clearTimeout(this.tmRotate);
   this.tmRotate = null;
   this.tmRotate = setTimeout("window.xwzRollObject['" + this.Name + "'].rotateTrans()" , this.nInterval);
}


this.imgTrans = function(){
   var icons = document.getElementsByName(this.Thumbnail);
   var itmX = this.ListItem[this.Index];
   if(itmX.OvrIcon !=null   && itmX.OvrIcon !="") icons[this.Index].src = itmX.OvrIcon;
   try{
    document.images[this.Name].filters[0].apply();
    document.images[this.Name].src = itmX.ImgSrc;
    document.images[this.Name].filters[0].play();
   }catch(e){
    document.images[this.Name].src = itmX.ImgSrc;
   }
}
}


function xwzRollingMarqTrans(Name, eventName){
this.Name = Name;
this.Index = 0;
this.ListItem = new Array(0);

this.tmRotate = null;
this.nInterval = 4500;
this.eventName = eventName;

if(window.xwzMarqObject == null) window.xwzMarqObject = new Array(0);
window.xwzMarqObject[this.Name] = this;


this.install = function(){
   if(this.ListItem.length == 0) return;
   this.tmRotate = setTimeout("window.xwzMarqObject['" + this.Name + "'].rotateTrans()" , this.nInterval);
   for(var i = 0; i < this.ListItem.length; i++){
    if(this.eventName == 'over') this.ListItem.Img.onmouseover=new Function("window.xwzMarqObject['"+this.Name+"'].alterTrans(" + i + ")");
    else this.ListItem.Img.onclick=new Function("window.xwzMarqObject['"+this.Name+"'].alterTrans(" + i + ")");
   }
}

this.addItem = function(targetObj, targetImg, Icon1, Icon2 ){
   var itmX = {Objects : null, Imgs : null, DefaultSrc : "",OverSrc : ""};
   itmX.Object = targetObj;
   itmX.Img = targetImg;
   itmX.DefaultSrc = Icon1;
   itmX.OverSrc = Icon2;
   this.ListItem[this.ListItem.length] = itmX;
}


this.alterTrans = function(index){
   if(this.Index == index) return;
   var itmX = this.ListItem[this.Index];
   if(itmX.DefaultSrc !="") itmX.Img.src = itmX.DefaultSrc;
   this.Index = index;
   this.objTrans();
   clearTimeout(this.tmRotate);
   this.tmRotate = null;
   this.tmRotate = setTimeout("window.xwzMarqObject['" + this.Name + "'].rotateTrans()" , this.nInterval);
}

this.rotateTrans = function(){
   var itmX = this.ListItem[this.Index];
   if(itmX.DefaultSrc !="") itmX.Img.src = itmX.DefaultSrc;

   this.Index +=1;
   if(this.Index >= this.ListItem.length) this.Index = 0;

   this.objTrans();
  
   clearTimeout(this.tmRotate);
   this.tmRotate = null;
   this.tmRotate = setTimeout("window.xwzMarqObject['" + this.Name + "'].rotateTrans()" , this.nInterval);
}


this.objTrans = function(){
   var itmX = this.ListItem[this.Index];
   if(itmX.Img !=null   && itmX.OverSrc !="") itmX.Img.src = itmX.OverSrc;
   for(var i =0; i <   this.ListItem.length; i++) this.ListItem.Object.style.display = 'none';
   try{
    itmX.Object.filters[0].apply();
    itmX.Object.style.display='';
    itmX.Object.filters[0].play();
   }catch(e){
    itmX.Object.style.display='';
   }
}
}

function verticalWheel(id, height, nSec ){
if(window.xwzWheelMarq == null) window.xwzWheelMarq = new Array(0);
xwzWheelMarq[id]   = {
   install : function(id, height, nSec){
    this.id = id;
    this.div = document.getElementById('ID_DIV_KEYWORD');
    this.table = document.getElementById('ID_TABLE_KEYWORD');
    if(this.div == null) return;
    //this.div.style.cssText = "height:"+height+";position:relative;cursor:pointer;";
    this.div.style.cssText = "height:"+height+";overflow:hidden;position:relative;cursor:pointer;clip:rect(0 auto "+this.height+" 0);left:0;top:0";
    this.div.parentNode.style.position='relative'
    this.div.parentNode.onmouseover=function(){xwzWheelMarq[id].table.style.visibility ='visible'; xwzWheelMarq[id].nPause=true;}
    this.div.parentNode.onmouseout= function(){xwzWheelMarq[id].table.style.visibility ='hidden';xwzWheelMarq[id].nPause=false;}

    this.index =0;
    this.height = height;
    this.items = new Array(0);
    this.tmID = null;
    this.nPause = false;
    this.nSec = nSec;
    var rows =this.table.tBodies[0].rows;
    for(var i = 0; i < rows.length; i++){
     this.items = document.createElement("DIV");
     this.items.innerHTML=rows.innerHTML;
     this.items.style.padding="3";
     this.items.style.width="100%";
     this.items.style.height=this.height ;
     this.items.style.position="absolute";
     this.items.style.top = this.height*i;
     this.div.appendChild(this.items);

     rows.cells[0].style.cssText="padding-left:5px;border-bottom:#CACACA 1px dotted;";
     rows.onmouseover=function(){this.style.backgroundColor="#FDF1F0";}
     rows.onmouseout=function(){this.style.backgroundColor="";}
     if(i >= rows.length -1){rows.cells[0].style.border="";}
    }
   },
   doWheel : function(){
    var itmN = this.items[this.index];
    var nSleep= 50;
    var nIndex= this.index+1 >=   this.items.length ? 0 :   this.index+1;
    clearTimeout(this.tmID); this.tmID = null;
    if(this.nPause != true){
     for(var i = 0; i < this.items.length; i++){
      this.items.style.top = parseInt(this.items.style.top)-1;
     }
     if(parseInt(itmN.style.top) <= this.height*-1){
      itmN.style.top = this.height*(this.items.length-1);
      this.index = this.index+1 >=   this.items.length ? 0 :   this.index+1;
      nSleep= this.nSec;
     }
    }else{
     if(parseInt(itmN.style.top) < (this.height/2)*-1){
      itmN.style.top = this.height*(this.items.length-1);
      this.index = this.index+1 >=   this.items.length ? 0 :   this.index+1;
     }

     for(var i = 0; i < this.items.length; i++){
      this.items.style.top =   this.height * (   (this.items.length -   this.index + i ) % this.items.length );
     }
     nSleep = 10;
    }

   
    this.tmID = setTimeout("xwzWheelMarq['" + this.id + "'].doWheel()", nSleep);
   }
}


xwzWheelMarq[id].install(id, height, nSec);
xwzWheelMarq[id].tmID = setTimeout("xwzWheelMarq['" +id + "'].doWheel()", nSec);
}

==========================JS代码内容结束=========================

TOP

这里代码只需要注意几点
1. 我添加了一个隐藏的select列表,用于添加图片。添加图片时,只需要添加以下代码到select里即可<option value="图片地址" >文本说明</option>
2 相册高宽控制在脚本注释处
3 如果需要实现展示小图和文本,点击显示大图,则添加一个select name="Bpics",里面的value存放大图地址,代码中将 "links+=escape(Slp.options.value);"    中Slp改为Sbp即可

程序代码
<select NAME="Lpics" style="display:none">
<option value="http://image2.sina.com.cn/ent/pc/2005-11-01/55/U1513P28T55D4732F936DT20051105235153.jpg" >imgUrl1</option>
<option value="http://image2.sina.com.cn/ent/pc/2005-11-06/55/U1513P28T55D4765F932DT20051106220014.jpg" >imgUrl2</option>
<option value="http://image2.sina.com.cn/ent/pc/2005-11-06/55/U1513P28T55D4765F933DT20051106220014.jpg" >imgUrl3</option>
<option value="http://image2.sina.com.cn/ent/pc/2005-11-06/55/U1513P28T55D4765F934DT20051106220014.jpg" >imgUrl4</option>
<option value="http://image2.sina.com.cn/ent/pc/2005-11-06/55/U1513P28T55D4765F935DT20051106220014.jpg" >imgUrl5</option>
<option value="图片地址" >文本说明</option>
</select>
<a target=_self href="javascript:goUrl()">

<!--脚本开始 -->
<script type="text/javascript">
showpics();
function showpics(){
var focus_width=192 //相册的宽度
var focus_height=240 //相册的高度
var text_height=18  ////相册底部文字的高度
var swf_height = focus_height+text_height
  var pics="";
var links="";
var texts="";
  var Slp = document.getElementsByName("Lpics")(0);
  var Sbp = document.getElementsByName("Bpics")(0);
if (Slp.options.length>0) {
         for (var i="0"; i< Slp.options.length; i++){
            pics+=Slp.options.value;
            links+=escape(Slp.options.value);
            texts+=Slp.options.text;
            if (i<(Slp.options.length -1)){
                pics+="|";
                links+="|";
                texts+="|";
                 }
         }
}
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="http://www.webjx.com/js/focus.swf"><param name="quality" value="high"><param name="bgcolor" value="#F0F0F0">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
document.write('<embed src="pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#F0F0F0" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');  document.write('</object>');
}
</script>
<!--脚本结束 -->
</a>

TOP

所有文件已打包
<DIV id=sasFlashFocus60></DIV>
<SCRIPT type=text/javascript>
<!--
var varText = ""
function addInfo(title,photourl,link){
  if(varText!=""){
   varText+="|||";
  }
  varText+=title+"|_|"+photourl+"|_|"+link;
}
addInfo("亮点车型","http://photocdn.sohu.com/20070427/Img249732228.jpg","http://auto.sohu.com/s2007/07shhuizong/",0xA7369E);
addInfo("七色车模","http://photocdn.sohu.com/20070427/Img249732653.jpg","http://picture.auto.sohu.com/@category_c59047_p1.html",0xD0472B);
addInfo("RIO巡游","http://images.sohu.com/cs/button/kia/1-2/4002000404.jpg","http://doc.go.sohu.com/200704/550ca3773adfd3c0940664efac775fef.php",0xA38FAB);
addInfo("迈腾3.2L","http://images.sohu.com/cs/button/dazhong/maiteng/4002000426.jpg","http://doc.go.sohu.com/200704/8ee50a088699e780223f104c7f82883b.php",0x228DAC);
addInfo("上汽荣威","http://images.sohu.com/cs/button/rongwei/400200426.jpg","http://doc.go.sohu.com/200704/c0d000feac145ecd22e950af023fc66f.php",0x78C80D);
addInfo("东风日产","http://images.sohu.com/cs/button/gz/215-16/400200416.jpg","http://doc.go.sohu.com/200704/b879d005e37806495da1b4969e1e04d3.php",0x78C80D);
var sohuFlash2 = new sohuFlash("http://images.sohu.com/cs/button/flash/0318.swf", "sasFlashFocus60", 400, 220, "6");
sohuFlash2.addParam("quality", "high");
sohuFlash2.addParam("wmode", "transparent");
sohuFlash2.addVariable("info",varText);
sohuFlash2.write("sasFlashFocus60");
//-->
</SCRIPT>

TOP

发新话题