1. Trang chủ
  2. » Giáo án - Bài giảng

code xem ti vi trực tuyến

4 474 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 4
Dung lượng 30 KB

Nội dung

Nhấnchọn1 kênh bên dưới để xem CHÚC CÁC BẠNGIẢI TRÍ VUI VẺ.

Trang 1

<div class="content">

<div style=

"font: 12px Verdana, Geneva, Lucida, 'Lucida Grande'; margin-bottom:3px">

<input type="button" value="Bật Tivi" style=

"width:70px;font-size:12px;margin:0px;padding:0px;" onclick=

"if (this.parentNode.parentNode.getElementsByTagName('div')

[1].getElementsByTagName('div')[0].style.display != '')

{ this.parentNode.parentNode.getElementsByTagName('div')

[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Tắt Tivi'; } else { this.parentNode.parentNode.getElementsByTagName('div')

[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = '';

this.value = 'Bật Ti vi'; }"></div>

<div style=

"min-height: 20px; background-color: #3399FF; margin: 0px; padding: 1px; border: 1px inset;">

<div style="display: none;"><script type="text/javascript">

function showiframe(iframe)

{ document.getElementById("quangthaibody").innerHTML = '<center> <iframe

id=iframe src="' + iframe + '" width=520 height=378 frameborder=0

scrolling=no><\/iframe><\/center>';

document.getElementById("quangthai").style.display = 'block';

document.getElementById("quangthai").focus(); } function showTivi(name){ if (name

== 'qto40'){ document.getElementById("quangthaibody").innerHTML ='<iframe

scrolling="no" src="http://vtc.com.vn/playstream.swf?id=10&tp=l" style="border:0; width:484px; height:375px"><\/iframe>'; } else if (name == 'qto41')

{ document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=11&tp=l" style="border:0; width:484px; height:375px"><\/iframe>'; } else if (name == 'qto42')

{ document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=20&tp=l" style="border:0; width:484px; height:375px"><\/iframe>'; } else if (name == 'qto43')

{ document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=21&tp=l" style="border:0; width:484px; height:375px"><\/iframe>'; } else if (name == 'qto44')

{ document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=22&tp=l" style="border:0; width:484px; height:375px"><\/iframe>'; } else if (name == 'qto45')

{ document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=24&tp=l" style="border:0; width:484px; height:375px"><\/iframe>'; } else if (name == 'qto46')

{ document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=4&tp=l" style="border:0; width:484px; height:375px"><\/iframe>'; } else if (name == 'qto47')

Trang 2

{ document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=15&tp=l" style="border:0; width:484px; height:375px"><\/iframe>'; } else if (name == 'qto48')

{ document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=23&tp=l" style="border:0; width:484px; height:375px"><\/iframe>'; } else if (name == 'qto49')

{ document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=3&tp=l" style="border:0; width:484px; height:375px"><\/iframe>'; } else if (name == 'qto50')

{ document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=5&tp=l" style="border:0; width:484px; height:375px"><\/iframe>'; } else if (name == 'qto51')

{ document.getElementById("quangthaibody").innerHTML ='<iframe scrolling="no" src="http://vtc.com.vn/playstream.swf?id=2&tp=l" style="border:0; width:484px; height:375px"><\/iframe>'; } else if (name == 'qto52')

{ document.getElementById("quangthaibody").innerHTML ='<embed

type="application/x-mplayer2"

pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/Medi aPlayer/" file="mms://123.30.108.77/thvl1" src="mms://123.30.108.77/thvl1"

tppabs="mms://123.30.108.77/thvl1" showcontrols="1" showdisplay="0"

showstatusbar="1" width="484" height="375">'; } else if (name == 'qto53')

{ document.getElementById("quangthaibody").innerHTML ='<embed

type="application/x-mplayer2"

pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/Medi aPlayer/" file="mms://123.30.108.77/thvl2" src="mms://123.30.108.77/thvl2"

tppabs="mms://123.30.108.77/thvl2" showcontrols="1" showdisplay="0"

showstatusbar="1" width="484" height="375">'; } }

</script>

<div align="center">

<table id="Table_01" width="548" background="" border="0"

cellpadding="0" cellspacing="0" height="465">

<tbody>

<tr>

<td width="548" height="19" colspan="3" bgcolor="#000000"></td>

</tr>

<tr>

<td width="33" height="376" bgcolor="#000000"></td>

<td bgcolor="#3399FF" valign="middle" width="484">

<div id="quangthaibody">

<p align="center"><font color="#FFFFFF"><b>

MINH KHUÊ</b></font></p>

<p align="center"><font color="#FFFFFF"><b>MỜI CÁC BẠN

XEM TI VI TRỰC TUYẾN</b></font></p>

Trang 3

<p align="center"><font color="#FFFFFF" size="2"><b><i>Nhấnchọn

1 kênh bên dưới để xem</i></b></font></p>

<b><br>

<br></b>

<center><b><img src=

"http://d.violet.vn/uploads/resources/301/hoaViolet.gif" width="60"

height="60"></b></center>

<b><br>

<br></b>

<p align="center"><b><font color="yellow"><b>CHÚC CÁC BẠNGIẢI TRÍ VUI VẺ.</b></font></b></p>

</div>

</td>

<td width="31" height="376" bgcolor="#000000"></td>

</tr>

<tr>

<td width="548" height="22" colspan="3" bgcolor="#000000"></td>

</tr>

<tr>

<td width="548" height="47" colspan="3"></td>

</tr>

</tbody>

</table>

</div>

<! Xem Tivi Online >

<div align="center"><button class="live" onclick=

"showTivi('qto50')">Hanoi1</button> <button class="live" onclick=

"showTivi('qto40')">VTC1</button> <button class="live" onclick=

"showTivi('qto41')">VTC2</button> <button class="live" onclick=

"showTivi('qto42')">VTC8</button> <button class="live" onclick=

"showTivi('qto43')">VTC9</button> <button class="live" onclick=

"showTivi('qto44')">VTC10</button> <button class="live" onclick=

"showTivi('qto51')">VTV4</button></div>

<div align="center"><button class="live" onclick=

"showTivi('qto45')">HTV7</button> <button class="live" onclick=

"showTivi('qto46')">HTV9</button> <button class="live" onclick=

"showTivi('qto47')">VTV1</button> <button class="live" onclick=

"showTivi('qto48')">VTV2</button> <button class="live" onclick=

"showTivi('qto49')">VTV3</button><button class="live" onclick=

"showTivi('qto52')">THVL1</button> <button class="live" onclick=

"showTivi('qto53')">THVL2</button></div>

<table>

<tr>

Trang 4

</tr>

</table>

</div>

</div>

</div>

Ngày đăng: 24/05/2015, 07:00

TỪ KHÓA LIÊN QUAN

w