<!--以下為內(nèi)容--> <SCRIPT> //運(yùn)行代碼 " /> 婷婷激情综合色五月久久竹菊影视,福利视频久久,丝袜情趣在线资源二区

天天躁日日躁狠狠躁AV麻豆-天天躁人人躁人人躁狂躁-天天澡夜夜澡人人澡-天天影视香色欲综合网-国产成人女人在线视频观看-国产成人女人视频在线观看

用js實現(xiàn)的一個Flash滾動輪換顯示圖片代碼生成器

復(fù)制代碼 代碼如下:
<!--文件頭模板-->
<SCRIPT src=top.js></SCRIPT>
<SCRIPT language=Javascript>
    writeTop('Flash滾動顯示圖片代碼生成','2006-10-18');
</SCRIPT>

<!--以下為內(nèi)容-->
<SCRIPT>
//運(yùn)行代碼
function runEx(cod1)  {
     cod=document.getElementById(cod1)
      var code=cod.value;
      if (code!=""){
          var newwin=window.open('','','');  
          newwin.opener = null 
          newwin.document.write(code);  
          newwin.document.close();
    }
}
//復(fù)制代碼
function doCopy(ID) { 
    if (document.all){
         textRange = document.getElementById(ID).createTextRange(); 
         textRange.execCommand("Copy"); 
    }
    else{
         alert("此功能只能在IE上有效")
    }
}

//展開_收起段落
function close_open(theID){
    if(document.getElementById(theID).style.display!='none') {
        document.getElementById(theID).style.display='none';
    }
    else 
        document.getElementById(theID).style.display='block';
}
</SCRIPT>

<SCRIPT language=Javascript>
    //生成代碼
    function genCode()
    {
        var html='';
        var picUrl='';
        var picLink='';
        var picTitle='';
        var picWidth=0;
        var picHeight=0;
        var titleHeight=0;
        var backgroudn='';

        {
            var tempUrl='';
            var tempLink='';
            var tempTitle='';
            for(i=0;i<9;++i){
                tempUrl=document.getElementById('picUrl_'+(1+i)).value;
                tempLink=document.getElementById('picLink_'+(1+i)).value;
                tempTitle=document.getElementById('picTitle_'+(1+i)).value;
                if(tempUrl == '')continue;
                if(tempLink == '')tempLink=tempUrl;
                if(tempTitle == '')tempTitle='無題';
                picUrl   += tempUrl + '|';
                picLink  += tempLink + '|';
                picTitle += tempTitle + '|';
            }
            picUrl = picUrl.substring(0,picUrl.length-1);
            picTitle = picTitle.substring(0,picTitle.length-1);
            picLink = picLink.substring(0,picLink.length-1);
            picWidth = parseInt(document.getElementById('picWidth').value);
            picHeight=parseInt(document.getElementById('picHeight').value);
            titleHeight = parseInt(document.getElementById('titleHeight').value);
            backgroudn = document.getElementById('backgroudn').value;
        }

        html += '<EMBED pluginspage=http://www.macromedia.com/go/getflashplayer src=http://staryxy.googlepages.com/PicPlay.swf';
        html += ' width='  + picWidth;
        html += ' height=' + (picHeight + titleHeight);
        html += ' type=application/x-shockwave-flash WMODE="opaque" FLASHVARS="';
        html += 'pics='+picUrl;
        html += '&links='+picLink;
        html += '&texts='+picTitle;
        html += '&borderwidth=' + picWidth;
        html += '&borderheight=' + picHeight;
        html += '&textheight=' + titleHeight;
        html += '" MENU="false"';
        html += ' BGCOLOR="' + backgroudn;
        html += '" QUALITY="high" ALLOWSCRIPTACCESS="sameDomain"></EMBED>';

        document.getElementById('ShowCode').value = html;
        show.innerHTML = html;
    }
</SCRIPT>

<div style="margin-top:5px;background:#9abcde">
<div style='cursor:hand' onclick=close_open('edit')><li>設(shè)置</li></div>
<div id='edit' style="margin-left:15px; display:block;">
    <div style="background:#cdcdcd">
        圖片顯示寬度:<input size=10 id=picWidth   title="圖片顯示寬度" value="300"></input>
        圖片顯示高度:<input size=10 id=picHeight  title="圖片顯示高度" value="200"></input>
        文字區(qū)域高度:<input size=10 id=titleheight title="文字區(qū)域高度" value="20"></input>
        背景色:<input size=10 id=backgroudn title="背景色" value='#cdcdcd'></input>
    </div>
    <div style="background:#eeeeee">
        圖片一:
        <input maxlength=2048 size=25 id=picUrl_1 value="http://staryxy.googlepages.com/diner1.jpg" title="圖片URL地址"></input>
        鏈接地址:<input maxlength=2048 size=25 id=picLink_1 value="" title="鏈接地址"></input>
        說明:<input maxlength=2048 size=20 id=picTitle_1 value="「夜宴」搞惡圖片1" title="說明"></input>
    </div>
    <div style="background:#cdcdcd">
        圖片二:
        <input maxlength=2048 size=25 id=picUrl_2 value="http://staryxy.googlepages.com/diner2.jpg" title="圖片URL地址"></input>
        鏈接地址:<input maxlength=2048 size=25 id=picLink_2 value="" title="鏈接地址"></input>
        說明:<input maxlength=2048 size=20 id=picTitle_2 value="「夜宴」搞惡圖片2" title="說明"></input>
    </div>
    <div style="background:#eeeeee">
        圖片三:
        <input maxlength=2048 size=25 id=picUrl_3 value="http://staryxy.googlepages.com/diner4.jpg" title="圖片URL地址"></input>
        鏈接地址:<input maxlength=2048 size=25 id=picLink_3 value="" title="鏈接地址"></input>
        說明:<input maxlength=2048 size=20 id=picTitle_3 value="「夜宴」搞惡圖片3" title="說明"></input>
    </div>
    <div style="background:#cdcdcd">
        圖片四:
        <input maxlength=2048 size=25 id=picUrl_4 value="http://staryxy.googlepages.com/diner7.jpg" title="圖片URL地址"></input>
        鏈接地址:<input maxlength=2048 size=25 id=picLink_4 value="" title="鏈接地址"></input>
        說明:<input maxlength=2048 size=20 id=picTitle_4 value="「夜宴」搞惡圖片4" title="說明"></input>
    </div>
    <div style="background:#eeeeee">
        圖片五:
        <input maxlength=2048 size=25 id=picUrl_5 value="http://staryxy.googlepages.com/diner8.jpg" title="圖片URL地址"></input>
        鏈接地址:<input maxlength=2048 size=25 id=picLink_5 value="" title="鏈接地址"></input>
        說明:<input maxlength=2048 size=20 id=picTitle_5 value="「夜宴」搞惡圖片5" title="說明"></input>
    </div>
    <div style="background:#cdcdcd">
        圖片六:
        <input maxlength=2048 size=25 id=picUrl_6 value="http://staryxy.googlepages.com/diner12.jpg" title="圖片URL地址"></input>
        鏈接地址:<input maxlength=2048 size=25 id=picLink_6 value="" title="鏈接地址"></input>
        說明:<input maxlength=2048 size=20 id=picTitle_6 value="「夜宴」搞惡圖片6" title="說明"></input>
    </div>
    <div style='cursor:hand' onclick=close_open('editmore')><li>更多(推薦6張以下,否則說明將看不到)</li></div>
    <div id='editmore' style='display:none;'>
        <div style="background:#eeeeee">
            圖片七:
            <input maxlength=2048 size=25 id=picUrl_7 value="" title="圖片URL地址"></input>
        鏈接地址:<input maxlength=2048 size=25 id=picLink_7 value="" title="鏈接地址"></input>
        說明:<input maxlength=2048 size=20 id=picTitle_7 value="" title="說明"></input>
        </div>
        <div style="background:#cdcdcd">
            圖片八:
            <input maxlength=2048 size=25 id=picUrl_8 value="" title="圖片URL地址"></input>
        鏈接地址:<input maxlength=2048 size=25 id=picLink_8 value="" title="鏈接地址"></input>
        說明:<input maxlength=2048 size=20 id=picTitle_8 value="" title="說明"></input>
        </div>
        <div style="background:#eeeeee">
            圖片九:
            <input maxlength=2048 size=25 id=picUrl_9 value="" title="圖片URL地址"></input>
        鏈接地址:<input maxlength=2048 size=25 id=picLink_9 value="" title="鏈接地址"></input>
        說明:<input maxlength=2048 size=20 id=picTitle_9 value="" title="說明"></input>
        </div>
    </div>
</div>
<div>
    <input type=button onclick='Javascript:genCode();' value=生成代碼>
    </input>
</div>
</div>


<div style="margin-top:5px;background:#9abcde">
<div onclick=close_open('code')  style='cursor:hand'><li>代碼</li></div>
<div id='code' style='margin-left:15px;display:none;'>
<TEXTAREA rows="15" id="ShowCode" style="width:100%">
<!--此處顯示結(jié)果代碼-->
</TEXTAREA>
</div>
<div>
    <INPUT onclick="runEx('ShowCode')"  type="button" value="運(yùn)行此代碼"/>
    <INPUT onclick="doCopy('ShowCode')"  type="button" value="復(fù)制此代碼"/>
    [Ctrl+A 全部選擇 提示:你可先修改部分代碼,再按運(yùn)行]
</div>
</div>



<div style="margin-top:5px;background:#9abcde;">
    <div onclick=close_open('show')  style='cursor:hand'><li>顯示效果</li></div>
    <div id='show' title="顯示效果" align=center style="margin-left:15px;display:none;background:#abcdef">
    還沒有
    </div>
</div>
</div>

JavaScript技術(shù)用js實現(xiàn)的一個Flash滾動輪換顯示圖片代碼生成器,轉(zhuǎn)載需保留來源!

鄭重聲明:本文版權(quán)歸原作者所有,轉(zhuǎn)載文章僅為傳播更多信息之目的,如作者信息標(biāo)記有誤,請第一時間聯(lián)系我們修改或刪除,多謝。

主站蜘蛛池模板: 国产精品毛片AV久久97 | 芳草地社区在线视频 | 好色女博士 | 亚洲国语在线视频手机在线 | 久久久久久91香蕉国产 | 双腿打开揉弄高潮H苏安安秦慕深 | 佐山爱巨大肥臀在线 | 东京热 百度影音 | av狼新人开放注册区 | 国产一卡2卡3卡4卡孕妇网站 | 国产欧美一区二区精品久久久 | 国产成人在线播放 | 98久久无码一区人妻A片蜜 | 丰满的寡妇hd高清在线观看 | 麻豆AV久久无码精品九九 | 98久久人妻无码精品系列蜜桃 | 欧美乱妇狂野欧美在线视频 | 九九热在线视频观看这里只有精品 | 欧美精品中文字幕亚洲专区 | 欧美日韩北条麻妃一区二区 | 91九色视频在线观看 | 毛片无码免费无码播放 | 天天色狠狠干 | 翁用力的抽插 | 99热久久视频只有精品6 | 高h乱np甄宓 | 蜜桃婷婷狠狠久久综合9色 蜜桃视频一区二区 | 与邻居换娶妻子2在线观看 瑜伽牲交AV | 欧美日韩免费播放一区二区 | 国产三级在线免费 | 亚洲色图激情小说 | 奇虎成人网 | 9亚洲欧洲免费无码在线 | 手机在线亚洲日韩国产 | 绝色娇嫩美人妻老师 | 嘟嘟嘟在线视频免费观看高清中文 | 国产精品JK白丝AV网站 | 午夜理论片日本中文在线 | 久久草福利自拍视频在线观看 | 国产AV果冻传奇麻豆 | 国产色婷亚洲99精品AV |