彩蝶 的个人资料彩蝶Butterfly Valley照片日志列表 工具 帮助

日志


單行滾動向上新聞特效待碼

<script>
var marqueeContent=new Array();   //
marqueeContent[0]='<font color="#0000CC">07/01/2008 </font><a href=http://y1118s1115.spaces.live.com/blog/cns!90FDECCBA8C96E98!1153.entry target=_blank class="f12red">酷極時鐘鼠標特效2007/5/13 上午 05:06:03</a><br>';
marqueeContent[1]='<font color="#0000CC">07/01/2008 </font><a href=http://y1118s1115.spaces.live.com/blog/cns!90FDECCBA8C96E98!1152.entry target=_blank class="f12red">不停變色的背景2007/5/13 上午 05:03:54 </a><br>';
marqueeContent[2]='<font color="#0000CC">07/01/2008 </font><a href=http://y1118s1115.spaces.live.com/blog/cns!90FDECCBA8C96E98!1150.entry target=_blank class="f12red">當圖片無法顯示時顯示另一張圖片</a><br>';
marqueeContent[3]='<font color="#0000CC">07/01/2008 </font><a href=http://y1118s1115.spaces.live.com/blog/cns!90FDECCBA8C96E98!1151.entry target=_blank class="f12red">隨機背景音樂2007/5/13 上午 05:02:55 </a><br>';
var marqueeInterval=new Array();  //
var marqueeId=0;
var marqueeDelay=4000;
var marqueeHeight=20;
//
function initMarquee() {
    var str=marqueeContent[0];
    document.write('<div id=marqueeBox style="overflow:hidden;height:'+marqueeHeight+'px" onmouseover="clearInterval(marqueeInterval[0])" onmouseout="marqueeInterval[0]=setInterval(\'startMarquee()\',marqueeDelay)"><div>'+str+'</div></div>');
    marqueeId++;
    marqueeInterval[0]=setInterval("startMarquee()",marqueeDelay);
    }
function startMarquee() {
    var str=marqueeContent[marqueeId];
        marqueeId++;
    if(marqueeId>=marqueeContent.length) marqueeId=0;
    if(marqueeBox.childNodes.length==1) {
        var nextLine=document.createElement('DIV');
        nextLine.innerHTML=str;
        marqueeBox.appendChild(nextLine);
        }
    else {
        marqueeBox.childNodes[0].innerHTML=str;
        marqueeBox.appendChild(marqueeBox.childNodes[0]);
        marqueeBox.scrollTop=0;
        }
    clearInterval(marqueeInterval[1]);
    marqueeInterval[1]=setInterval("scrollMarquee()",20);
    }
function scrollMarquee() {
    marqueeBox.scrollTop++;
    if(marqueeBox.scrollTop%marqueeHeight==(marqueeHeight-1)){
        clearInterval(marqueeInterval[1]);
        }
    }
initMarquee();
</script>

預覽效果

评论 (3)

请稍候...
很抱歉,您输入的评论太长。请缩短您的评论。
您没有输入任何内容,请重试。
很抱歉,我们当前无法添加您的评论。请稍后重试。
若要添加评论,需要您的家长授予您相应权限。请求权限
您的家长禁用了评论功能。
很抱歉,我们当前无法删除您的评论。请稍后重试。
您已超过了一天之内允许提供的评论数上限。请在 24 小时后重试。
因为我们的系统表明您可能在向其他用户提供垃圾评论,您的帐户已禁用了评论功能。如果您认为我们错误地禁用了您的帐户,请联系 Windows Live 支持部门
完成下面的安全检查,您提供评论的过程才能完成。
您在安全检查中键入的字符必须与图片或音频中的字符一致。

若要添加评论,请使用您的 Windows Live ID 登录(如果您使用过 Hotmail、Messenger 或 Xbox LIVE,您就拥有 Windows Live ID)。登录


还没有 Windows Live ID 吗?请注册

9 月 21 日
没有名字发表:

Hi,Do you need ad players, advertisement player and LCD advertisings? Please go Here:www.amberdigital.com.hk(Amberdigital).we have explored and developed the international market with professionalism. We have built a widespread marketing network, and set up a capable management team dedicated to provide beyond-expectation services to our customers. amberdigital Contact Us

E-mail:sstar@netvigator.com
website:www.amberdigital.com.hk
alibaba:amberdigital.en.alibaba.com[ifhaghdgbff

9 月 2 日
8 月 25 日

引用通告

此日志的引用通告 URL 是:
http://y1118s1115.spaces.live.com/blog/cns!90FDECCBA8C96E98!1149.trak
引用此项的网络日志