Tổng số bài gửi : 100 Join date : 21/08/2009 Tuổi : 27 Đến từ : Trần Gian
Tiêu đề: Menu chọn nhanh
Code này post ở bất cứ đâu cho phép HTML
Code:
function listThem() { if (document.chooser.sitelist.selectedIndex == 0) alert("Please select something"); else if (document.chooser.sitelist.selectedIndex == 1) location = 'http://thongnhat.org/index.htm'; else if (document.chooser.sitelist.selectedIndex == 2) location = 'http://thongnhat.org/portal.htm';} <script> function listThem() { if (document.chooser.sitelist.selectedIndex == 0) alert("Please select something"); else if (document.chooser.sitelist.selectedIndex == 1) location = 'http://thongnhat.org/index.htm'; else if (document.chooser.sitelist.selectedIndex == 2) location = 'http://thongnhat.org/portal.htm';}</script> <body> <center><h2>Fast Move Menu</h2></center> <center><table border="5" cellpadding="5" align="center" valign="middle"><form name="chooser"> <tr><th align="center" bgcolor="#deb887">Menu:</th></tr> <tr><td align="center" bgcolor="#deb887"><select name="sitelist" onchange="listThem()"> <option selected>Lựa Chọn <option>Diễn đàn<option>Trang Chủ</select></td></tr> </form></table> </center>
Nhớ thay link và các mục nhé
*Hãy cùng chia sẻ với bạn bè bằng cách :
Copy và gửi đến nick yahoo bạn bè!
Menu chọn nhanh
Trang 1 trong tổng số 1 trang
* Viết tiếng Việt có dấu, là tôn trọng người đọc.
* Chia sẻ bài sưu tầm có ghi rõ nguồn, là tôn trọng người viết.
* Thực hiện những điều trên, là tôn trọng chính mình.
-Nếu chèn smilies có vấn đề thì bấm A/a trên phải khung viết bài