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

Gián án Code tạo hộp game online (nhiều game) trên violet

2 390 0
Tài liệu đã được kiểm tra trùng lặp

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

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Code Tạo Hộp Game Online (Nhiều Game) Trên Violet
Thể loại Tutorial
Năm xuất bản 2011
Định dạng
Số trang 2
Dung lượng 71,18 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

CODE TẠO HỘP GAME ONLINE CÓ NHIỀU GAME ĐỂ LỰACHỌN Demo: xin mời nhấp chuột vào ảnh minh hoạ dưới đây Code: .highlighttext{ background-color:yellow; font-weight:bold; } ---Mời bạn nhấ

Trang 1

CODE TẠO HỘP GAME ONLINE CÓ NHIỀU GAME ĐỂ LỰA

CHỌN Demo: xin mời nhấp chuột vào ảnh minh hoạ dưới đây

Code:

<style type="text/css">

.highlighttext{

background-color:yellow;

font-weight:bold;

}

</style>

<p align="center"></p>

<form name="jumpy2"><select name="example2" size="1" onchange=

"gone2()"><! CHANGE THE BELOW URLS TO YOUR OWN >

<option value=

"http://game.24h.com.vn/upload/game/2011-01-21/1295575079_Game_meocondaichien.swf"

selected="selected"> -Mời bạn

nhấp vào đây để chọn

game -</option>

<option value=

"http://game.24h.com.vn/upload/game/2011-01-21/1295575079_Game_meocondaichien.swf">

Mèo con đại chiến</option>

<option value=

"http://game.24h.com.vn/upload/game/2011-01-26/1295992020_GameTaoMeoFull.swf">

Táo quân mèo</option>

<option value=

"http://img247.imageshack.us/img247/1646/goldmineria3.swf">Game

đào vàng</option>

<option value=

"http://game.24h.com.vn/upload/game/2010-09-04/1283565688_game-thethao-kythuatsutbong.swf ">

Sút bóng kỹ thuật</option>

<option value=

"http://game.24h.com.vn/upload/game/2010-12-03/1291351870_Game_affcup2010.swf ">

AFF suzuki cup</option>

<option value=

Trang 2

"http://game.24h.com.vn/upload/game/2010-04-01/1270112250_bejeweled.swf ">

Xếp kim cương</option>

<option value=

"http://game.24h.com.vn/upload/game/2010-06-10/1276158481_pikachumoi.swf ">

Ghép cặp pikachu</option>

<option value=

"http://game.24h.com.vn/upload/game/2010-03-02/1267518795_BombItSiljo.swf ">

Đặt bom tốc độ</option>

</select></form>

<script language="Javascript" type="text/javascript">

<! /*

Select and Copy form element script- Bytrongbang-studio

For full source, Terms of service, and 100s DTHML scripts

Visit http://caobang83.violet.cn

*/

//specify whether contents should be auto copied to clipboard (memory)

//Applies only to IE 4+

//0=no, 1=yes

var copytoclip=1

function HighlightAll(theField) {

var tempval=eval("document."+theField)

tempval.focus()

tempval.select()

if (document.all&&copytoclip==1){

therange=tempval.createTextRange()

therange.execCommand("Copy")

window.status="Contents highlighted and copied to clipboard!"

setTimeout("window.status=''",1800)

}

}

// >

</script><script language="javascript" type="text/javascript">

<! //Drop-down Document Viewer- trongbang-sudio

//For full source code, 100's more DHTML scripts, and TOS,

//visit http://bloggiaovienthaibinh.110mb.com/flash/index.html

//Specify display mode (0 or 1)

//0 causes document to be displayed in an inline frame, while 1 in a new browser window

var displaymode=0

//if displaymode=0, configure inline frame attributes (ie: dimensions, intial document shown

var iframecode='<iframe id="external2" style="width:100%;height:450px" src="http://game.24h.com.vn/upload/game/2010-04-01/1270112250_bejeweled.swf"><\/iframe>'

/////NO NEED TO EDIT BELOW HERE////////////

if (displaymode==0)

document.write(iframecode)

function gone2(){

var selectedurl=document.jumpy2.example2.options[document.jumpy2.example2.selectedIndex].value

if (document.getElementById&&displaymode==0)

document.getElementById("external2").src=selectedurl

else if (document.all&&displaymode==0)

document.all.external2.src=selectedurl

else{

if (!window.win2||win2.closed)

win2=window.open(selectedurl)

//else if win2 already exists

else{

win2.location=selectedurl

win2.focus()

}

}

}

// >

</script>

Ngày đăng: 03/12/2013, 02:11

TỪ KHÓA LIÊN QUAN

w