ZhipSoft.com
              冬去春來
                  鄭重聲明:本Blog純屬個人學習、工作需要,記錄相關資料。請不要發表任何有人身攻擊的言論,謝謝!!www.ZhipSoft.com
          posts - 94,comments - 149,trackbacks - 0

          1、圖片幻燈片width=410(寬) height=200(高)
          <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TBODY>
          <TR>
          <TD>
          <DIV align=center>
          <SCRIPT type=text/javascript>
          <!--
          t=5; //secs per slide

          // promos + links
          prmo = new Array();
          link = new Array();

          prmo[1]="網頁制作學習
          link[1]="
          prmo[2]="動畫制作學習
          link[2]="
          //prmo[2]="網頁特效
          //link[2]="
          prmo[4]="網頁編程學習
          link[4]="
          prmo[0]="書籍教程下載
          link[0]="
          prmo[3]="網頁素材下載
          link[3]="
          //init
          promos = "";
          links = "";

          // build flashvars
          for (x=0;x<prmo.length;x++) {
          ?promos += (x+1<prmo.length) ? prmo[x]+"|" : prmo[x];
          ?links += (x+1<prmo.length) ? link[x]+"|" : link[x];
          }

          var MM_contentVersion = 6;
          var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;

          if ( plugin ) {
          ???? var words = navigator.plugins["Shockwave Flash"].description.split(" ");
          ???? for (var i = 0; i < words.length; ++i)
          ???? {
          ? if (isNaN(parseInt(words[i])))
          ? continue;
          ? var MM_PluginVersion = words[i];
          ???? }
          ?var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
          }
          else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
          ?? && (navigator.appVersion.indexOf("Win") != -1)) {
          ?document.write('<SCR' + 'IPT LANGUAGE=VBScript> \n'); //FS hide this from IE4.5 Mac by splitting the tag
          ?document.write('on error resume next \n');
          ?document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
          ?document.write('</SCR' + 'IPT> \n');
          }

          if ( MM_FlashCanPlay ) {
          ?document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
          ?document.write('<param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="?document.write('<param name="FlashVars" value="p=' + promos + '&l=' + links + '&t=' + t + '">');
          ?document.write('<embed src="
          ?document.write('</object>');
          }
          //-->
          ? </SCRIPT>
          </DIV></TD></TR></TBODY></TABLE>

          2、圖片幻燈片
          <a target=_self href="javascript:goUrl()">
          <span class="f14b">
          <script type="text/javascript">
          imgUrl1="
          imgtext1="有線一拖三(溫馨版)"
          imgLink1=escape("
          imgUrl2="imgtext2="456"
          imgLink2=escape("
          imgUrl3="imgtext3="789"
          imgLink3=escape("
          imgUrl4="imgtext4="234"
          imgLink4=escape("
          imgUrl5="imgtext5="567"
          imgLink5=escape("

          ?var focus_width=280
          ?var focus_height=158
          ?var text_height=18
          ?var swf_height = focus_height+text_height
          ?
          ?var pics=imgUrl1+"|"+imgUrl2+"|"+imgUrl3+"|"+imgUrl4+"|"+imgUrl5
          ?var links=imgLink1+"|"+imgLink2+"|"+imgLink3+"|"+imgLink4+"|"+imgLink5
          ?var texts=imgtext1+"|"+imgtext2+"|"+imgtext3+"|"+imgtext4+"|"+imgtext5
          ?
          ?document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
          ?document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value=" 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="
          ?</script>
          </span></a><span id=focustext class=f14b> </span>

          3、文字+圖片幻燈片
          <SCRIPT LANGUAGE=JavaScript>
          var imgUrl=new Array();
          var imgLink=new Array();
          var imgtext=new Array();
          var imgsumm=new Array();
          var adNum=0;

          imgUrl[1]="imgtext[1]="[組圖]第16期 我型我塑 "
          imgLink[1]="
          imgsumm[1]="?? 摩羯座的貓貓是個安靜的女孩,面對鏡頭總是略帶羞澀。";

          imgUrl[2]="imgtext[2]="實錄:從“三陪女”到“二奶”"
          imgLink[2]="
          imgsumm[2]="?? “二奶”的日子是快樂的,但后遺癥卻是最深的痛……";

          imgUrl[3]="imgtext[3]="家飾:[組圖]我愛抱心肝寶貝"
          imgLink[3]="
          imgsumm[3]="?? 我們已經不再滿足于中規中矩,四角形模樣的抱枕...";

          var imgPre=new Array();
          var count=0;
          for (i=1;i<=3;i++) {
          if( (imgUrl!="") && (imgLink!="") ) {
          count++;
          } else {
          break;
          }
          }
          function playTran(){
          if (document.all)
          imgInit.filters.revealTrans.play();
          }
          var key=0;
          function nextAd(){
          if(adNum<count)adNum++ ;
          else adNum=1;

          if( key==0 ){
          key=1;
          } else if (document.all){
          imgInit.filters.revealTrans.Transition=20;
          imgInit.filters.revealTrans.apply();
          playTran();

          }
          document.images.imgInit.src=imgUrl[adNum];
          focustext.innerHTML=imgtext[adNum];
          focussumm.innerHTML=imgsumm[adNum];
          theTimer=setTimeout("nextAd()", 2000);//間隔時間
          }


          function goUrl(){
          window.open(imgLink[adNum],'_blank');
          }
          </SCRIPT>
          <A TARGET=_self HREF="javascript:goUrl()">
          <IMG STYLE="FILTER: revealTrans(duration=1,transition=5);border-color:black;color:#000000" SRC="javascript:nextAd()" WIDTH=338 HEIGHT=110 BORDER=0 CLASS=img01 NAME=imgInit></A>
          <A TARGET=_self HREF="javascript:goUrl()">
          <FONT COLOR=#B41A7A CLASS=sfont><SPAN ID=focustext></SPAN></FONT></A>
          <A TARGET=_self HREF="javascript:goUrl()">
          <FONT COLOR=#777777 CLASS=sfont><SPAN ID=focussumm></SPAN></FONT></A>
          </div>



                  本Blog純屬個人學習、工作需要,記錄相關資料。請不要發表任何有人身攻擊的言論,謝謝!
          www.zhipsoft.cn
          posted on 2007-01-17 11:01 ZhipSoft 閱讀(1862) 評論(0)  編輯  收藏 所屬分類: JavaScript
          主站蜘蛛池模板: 广昌县| 婺源县| 陇南市| 个旧市| 辽中县| 镶黄旗| 鸡西市| 平和县| 卓资县| 德化县| 莎车县| 九龙坡区| 定南县| 海伦市| 海口市| 梅河口市| 嘉义市| 福鼎市| 文昌市| 昆山市| 绥阳县| 巴彦淖尔市| 阜平县| 乐清市| 文昌市| 保山市| 高台县| 井陉县| 正镶白旗| 沈丘县| 泗水县| 金溪县| 马山县| 兰考县| 长兴县| 和龙市| 乌兰县| 昆明市| 青浦区| 连山| 桂阳县|