HTML radioÅжÏ
<!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 NAME="Copyright" CONTENT="Copyright (c) 2009 LOADCOM Corporation. All Rights Reserved.">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>NTPÉèÖÃ</title>
<style type="text/css">
#leftpic{width:160px;float:left;padding-right:15px;}
#leftpic a:link, #leftpic a:visited{color:#006eb3;text-decoration:none;}
#leftpic a:hover{color:#000000;text-decoration:underline;}
img{border:1px solid #0066b0;margin-bottom:5px;}
ul#list{list-style-type:none;margin:0px;padding:5px 0px 5px 2px;}
ul#list li{line-height:18px;}
ul#list li a:link{color:#000000;text-decoration:none;}
ul#list li a:visited{color:#333333;text-decoration:none;}
ul#list li a:hover{color:#006eb3;text-decoration:underline;}
</style>
<link href="images/basic.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
function checkRadio()
{
if(document.NTPForm.radiobutton[0].checked)
{
//NTPForm.action="/cgi-bin/serverSet.cgi";
//NTPForm.submit();
alert("Ìá½»");return;
}
else if(document.NTPForm.radiobutton[1].checked)
{
//NTPForm.action="/cgi-bin/manualSet.cgi";
//NTPForm.submit();
alert("·µ»Ø");return;
}
else
{
alert("ÎÞÈκÎÌá½»µÄÐÅÏ¢");
return false;
}
}
</script>
</head>
<body id="sports">
<br>
<form name="NTPForm" method="post" action="#">
<table width="500" border="0" align="center" cellpadding="1" cellspacing="1" class="tb" bgcolor="##c3e4fc">
<tr bgcolor="#FFFFFF">
Ïà¹ØÎĵµ£º
¿ÉÒÔ˵¼¸ºõÿ¸ö×ö¹ýWeb¿ª·¢µÄÈ˶¼Îʹý£¬µ½µ×ÔªËصÄIDºÍNameÓÐʲôÇø±ð°¢£¿ÎªÊ²Ã´ÓÐÁËID»¹ÒªÓÐNameÄØ?!
¶øͬÑùÎÒÃÇÒ²¿ÉÒԵõ½×îclassicalµÄ´ð°¸£ºID¾ÍÏñÊÇÒ»¸öÈ˵ÄÉí·ÝÖ¤ºÅÂ룬¶øName¾ÍÏñÊÇËûµÄÃû×Ö£¬IDÏÔÈ»ÊÇΨһµÄ£¬¶øNameÊÇ¿ÉÒÔÖظ´µÄ¡£
nameÔÀ´ÊÇΪÁ˱êʶ֮Ó㬵«ÊÇÏÖÔÚ¸ù¾Ý¹æ·¶£¬¶¼½¨ÒéÓÃidÀ´±êʶԪËØ¡£
ÒÔÏÂÖ»ÄÜÓ ......
Ä£°åµÄhtml ¸ñʽÈçÏ£º
<div id="itemTemplate" style="display:none">
<div class='hotl'>
<div class='l'>
<a href='__ProUrl__'><img src='__ImgUrl__' alt='__ProName__' /></a>
</div>
<ul class='r'>
<li><a href='__ProUrl__' ......
ͬһÃæÖеÄÌøת ͨ¹ýÃèµã Ö÷ÒªÓõ½ window.location.hash Ö¸¶¨ÃèµãλÖÃ
<!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-Ty ......
<script language="javascript">
function addItem()
{
var oTable = document.getElementById("whtable");
var oTbody = oTable.tBodies[0];
var v = oTbody.rows.length;
oTbody.insertRow(v);
oTbody.rows[v].id="itemtr ......