最新图片交替闪现效果代码

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>最新图片交替闪现效果代码</title>
<style>
td{  font-size:14px; color:#333333; line-height:140%}
body{  font-size:14px; color:#333333; line-height:140%;}

a:link          { color: #01499A; text-decoration: none }
a:visited       { color: #01499A; text-decoration: none }
a:active        { color: #cc0000; text-decoration: none }
a:hover         { color: #cc0000; text-decoration: none}
</style>
</head>

<body bgcolor="#F7F7F7">

<div align="center">
 <table border="1" width="296" height="340" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#C0C0C0">
  <tr>
   <td>  <!-- 代码开始一 -->
<div id="focusFlash">
<p align="center">
<embed type="application/x-shockwave-flash" src="http://image.mop.com/sh/deco/focus_shY.swf" id="focus1" name="focus1" swliveconnect="true" quality="high" allowscriptaccess="always" menu="flase" wmode="opaque" flashvars="picStr=http://www.qpsh.com/icon/sohu1.jpg|http://www.qpsh.com/icon/sohu2.jpg|http://www.qpsh.com/icon/sohu3.jpg|http://www.qpsh.com/icon/sohu4.jpg|http://www.qpsh.com/icon/sohu3.jpg&linkStr=http://www.qpsh.com|http://www.qpsh.com|http://www.qpsh.com|http://www.qpsh.com|http://www.qpsh.com" height="237" width="296"></embed></div>
<div id="focusTextArea"></div>
<script language="JavaScript">
<!--
var textStrArr= new Array();
textStrArr[0]='<h3 align="center"><a href="http://tmscsy.sinaapp.com/" target="_blank">组图:网络十大女红人谁更凶</a></h3><p>  “冰作影、玉为魂”,皓月凝霜雪,暗香动黄昏。梅亦逊“雪”三分白textStrArr[4]='<h3 align="center"><a href="" target="_blank">新丝路模特大赛众佳丽三亚嬉水</a></h3><p>  新丝路中国模特大赛创办于一九八九年,已举办十四届……[<a href="" target="_blank">全文</a>]</p>'

function setFoucsText(id){
 document.getElementById("focusTextArea").innerHTML = textStrArr[id];
}
setFoucsText(0);
var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
function focus1_DoFSCommand(command, args) {
 if(command == "setFoucsText"){
 //by setFoucsText(args);
 //alert("asdfasdf");
 };
}

if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
 document.write('<script language="VBScript">\n');
 document.write('On Error Resume Next\n');
 document.write('Sub focus1_FSCommand(ByVal command, ByVal args)\n');
 document.write(' Call focus1_DoFSCommand(command, args)\n');
 document.write('End Sub\n');
 document.write('</script\>\n');
}
//-->
</script>
  </div>
  <!-- 代码结束 --></td>
  </tr>
 </table>
</div>

</body>

</html>

posted @ 2013-01-03 12:24  tmscnz  阅读(240)  评论(0编辑  收藏  举报