【国庆活动】俄罗斯方块中国2011年国庆节活动视频直播 站点

關於Tetris Online Poland的問題回饋,新發現,意見建議,添加新功能,都可以在這裏分享。
Forum rules
如果你對TOP的任何部分有意見或者建議,想要獲得一些新功能,有意為支持TOP做出貢獻,都可以寫在這裏。

【国庆活动】俄罗斯方块中国2011年国庆节活动视频直播 站点

Postby lxy_lixiaoyan » Wed Sep 21, 2011 11:17 am



chrome下的跨域安全性问题暂时没有解决……所以先别用chrome浏览器上了……

以上
lxy_lixiaoyan
 
Posts: 7
Joined: Wed Aug 17, 2011 10:08 am

Re: 【国庆活动】俄罗斯方块中国2011年国庆节活动视频直播 站点

Postby lxy_lixiaoyan » Wed Sep 21, 2011 11:25 am

网页源代码……有缺点可以指出……

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--

   __                                   __
  /\ \       __                        /\ \__
  \ \ \     /\_\  __  __     __    ____\ \  _\  _ __    __     __      ___ ___
   \ \ \  __\/\ \/\ \/\ \  / __ \ / ___\\ \ \/ /\  __\/ __ \ / __ \  /  __  __ \
    \ \ \_\ \\ \ \ \ \_/ |/\  __//\___  \\ \ \_\ \ \//\  __//\ \_\ \_/\ \/\ \/\ \
     \ \____/ \ \_\ \___/ \ \____\/\____/ \ \__\\ \_\\ \____\ \__/ \_\ \_\ \_\ \_\
      \/___/   \/_/\/__/   \/____/\/___/   \/__/ \/_/ \/____/\/__/\/_/\/_/\/_/\/_/

-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>俄罗斯方块中国2011年国庆节活动视频直播</title>
<link rel="shortcut icon" href="favicon.ico" />
<link rel="bookmark" href="favicon.ico" />
<style>
body
{
   text-align:center;
}
iframe
{
   margin:0px;
   padding:0px;
}
div#video
{
   text-align:center;
   width:560px;
   height:340px;
   margin-left:auto;
   margin-right:auto;
}
div#line
{
   text-align:center;
   width:560px;
   height:10px;
   margin-left:auto;
   margin-right:auto;
}
div#bar
{
   text-align:center;
   width:560px;
   height:30px;
   line-height:30px;
   margin-left:auto;
   margin-right:auto;
}
div#prev
{
   text-align:center;
   width:30px;
   height:30px;
   line-height:30px;
   float:left;
   cursor:pointer;
   background-image:url(perv.png);
}
div#prev:hover
{
   background-image:url(perv_hover.png);
}
div#prev:active
{
   background-image:url(prev_active.png);
}
div#next
{
   text-align:center;
   width:30px;
   height:30px;
   line-height:30px;
   float:right;
   cursor:pointer;
   background-image:url(next.png);
}
div#next:hover
{
   background-image:url(next_hover.png);
}
div#next:active
{
   background-image:url(next_active.png);
}
div#bar_text
{
   text-align:center;
   width:500px;
   height:30px;
   line-height:30px;
   margin-left:auto;
   margin-right:auto;
   background-image:url(bar_text.png);
}
div#middle_line
{
   text-align:center;
   width:10px;
   height:380px;
   margin-left:auto;
   margin-right:auto;
}
</style>
<script type="text/javascript" src="swfobject.js"></script>
</head>
<body>
<h1>俄罗斯方块中国2011年国庆节活动视频直播</h1>
<table border="0px" cellpadding="0px" cellspacing="0px" align="center">
<tr>
<td height="380px" width="560px">
<div id="video">
<iframe id="video_swf" width="560" height="340" src="" frameborder="0" scrolling="no"></iframe>
</div>
<div id="line">
</div>
<div id="bar">
<div id="prev" onclick="prev();">
</div>
<div id="next" onclick="next();">
</div>
<div id="bar_text">
</div>
</div>
</td>
<td height="380px" width="10px">
<div id="middle_line">
</div>
</td>
<td height="380px" width="300px">
<div id="chat">
<a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a>
</div>
</td>
</tr>
</table>
<script type="text/javascript">
var _bar_text=["俄罗斯方块中国视频直播\<1\>","俄罗斯方块中国视频直播\<2\>"];
var _video=["http://cdn.livestream.com/embed/tetriscn?layout=4&height=340&width=560&autoplay=true","http://cdn.livestream.com/embed/tetriscn2?layout=4&height=340&width=560&autoplay=true","http://webchat.quakenet.org/?randomnick=1&channels=tetris-cn"];
var _chat=["http://cdn.livestream.com/chat/LivestreamChat.swf","http://cdn.livestream.com/chat/LivestreamChat.swf"];
var _chat_channel=["tetriscn","tetriscn2"];
var _length=_bar_text.length;
var n=0;
var popup;
var so;
function prev()
{
   n=(n+_length-1)%_length;
   set();
}
function next()
{
   n=(n+1)%_length;
   set();
}
function set()
{
   document.getElementById("bar_text").innerHTML=_bar_text[n];
   document.getElementById("video_swf").src=_video[n];
   swfobject.embedSWF(_chat[n],"chat","300","380",((navigator.platform.toLowerCase().indexOf("linux")!=-1)?"9.0.31.0":"9.0.45.0"),"expressInstall.swf",{"channel":_chat_channel[n],"showBorder":"true"},{"wmode":"transparent","allowScriptAccess":"always"},{"id":"chat"});
}
set();
</script>
</body>
</html>
lxy_lixiaoyan
 
Posts: 7
Joined: Wed Aug 17, 2011 10:08 am


Return to TO-P討論

Who is online

Users browsing this forum: No registered users and 5 guests