[r]
(1)Code lịch âm dương
<script type="text/javascript" language="JavaScript" src="http://www.informatik.uni-leipzig.de/~duc/amlich/JavaScript/amlich-hnd.js">
</script>
<script language="JavaScript">
<! setOutputSize("small");
document.writeln(printSelectedMonth()); >
</script>
<td align="center">
<form name="SelectMonth" action="#amlich"">
Tháng <select name="month"><option value="1">1<option value="2">2<option value="3">3<option value="4">4<option value="5">5<option value="6">6<option value="7">7<option
value="8">8<option value="9">9<option value="10">10<option value="11">11<option value="12">12</select>
<input type="button" value="Xem" onClick="javascript:viewMonth(parseInt(month.value), parseInt(year.value));"><br>
Năm <INPUT NAME="year" size=4 value="2005">
<input type="button" value="Xem" onClick="javascript:viewYear(parseInt(year.value));"> </form>
</td> </tr> </table>
<script type="text/javascript">
<! getSelectedMonth();
document.SelectMonth.month.value = currentMonth; document.SelectMonth.year.value = currentYear; function viewMonth(mm, yy) {
window.location = window.location.pathname + '?yy='+yy+'&mm='+mm+'#amlich'; }
function viewYear(yy) {
var loc = 'js/amlich-namnay.html?yy='+yy;
var win2702 = window.open(loc, "win2702", "menubar=yes,scrollbars=yes,resizable=yes"); }
// >
</script><hr>
hư – http://maianhthu.violet.vn/