Board logo

標題: 點選式選單 [打印本頁]

作者: 蛙    時間: 13-5-2012 09:27     標題: 點選式選單

如不能顯示語法效果可貼去本站語法測試板試看

 

 

<script>
<!-- Activate Cloaking Device
// Called by an onClick in each radio button.
function leapTo (link)
{
var new_url=link;
if ( (new_url != "") && (new_url != null) )
window.location=new_url;
else
alert("\nYou must make a selection.");
}
// Called by View Source button - displays source of file.
function viewSource()
{
var current_url="";
current_url=document.location;
window.location="view-source:"+current_url;
}
// Called by Full Window button - loads file to full window for easy saving.
function WinOpen()
{
alert('\n笨笨網站提供');
window.open("no.htm","DisplayWindow","menubar=no,scrollbars=no");
window.open("no.htm","DisplayWindow","menubar=no,scrollbars=no"); // double for Macs
}
// Deactivate Cloaking -->
</script>
<center>
<form>
<table BORDER="3" WIDTH="500">
<tr>
<td align="center" BGCOLOR="000080"><input TYPE="radio" NAME="buttons1" onClick="leapTo('http://bunbun000.com')">
<font COLOR="00FFFF"><b>笨笨網站</b></font>
<td align="center" BGCOLOR="FF0000"><input TYPE="radio" NAME="buttons1" onClick="leapTo('http://www.bunbunhk.com/BBS/Discuz/index.php')">
<font COLOR="000000"><b>笨網論壇</b></font>
<td align="center" BGCOLOR="008080"><input TYPE="radio" NAME="buttons1" onClick="leapTo('http://www.bunbunhk.com/bg.htm')">
<font COLOR="FFFF00"><b>免費資源</b></font> 
<td align="center" BGCOLOR="008080"><input TYPE="radio" NAME="buttons1" onClick="leapTo('http://www.bunbunhk.com/tool/index.htm')">
<font COLOR="FFFF00"><b>繁簡轉換</b></font>
</table>
<br>
</form>


作者: 蛙    時間: 25-4-2013 13:14     標題: 複製上列語法








歡迎光臨 笨笨網站超級論壇 (http://www.bunbunhk.com/BBS/Discuz/) Powered by Discuz! 6.0.0