关于 calendar 日期控件 问题..请朋友帮助!!
下边代码可以做试验.我想让这个弹出的日期 镶嵌在页面上 而不是 弹出来
该怎么弄 我不知道该如何处理了.
请朋友帮忙给我点思路..谢谢..
下边代码可以 做测试: 复制到本地即可
----------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN ">
<html>
<head>
<title> MyHtml.html </title>
<meta http-equiv= "keywords " content= "keyword1,keyword2,keyword3 ">
<meta http-equiv= "description " content= "this is my page ">
<meta http-equiv= "content-type " content= "text/html; charset=UTF-8 ">
<!-- <link rel= "stylesheet " type= "text/css " href= "./styles.css "> -->
</head>
<body onload= "showCalendar( 'ct100$cphPage$Calendar ', '2817 ') ">
<DIV style= "Z-INDEX: 1; LEFT:5px VISIBILITY: visible; WIDTH: 155px; POSITION: absolute; HEIGHT: 22px ">
<table> <tr> <td height= "22 ">
<script>
function showCalendar(str_target, str_datetime) {
var arr_months = [ "January ", "February ", "March ", "April ", "May ", "June ", "July ", "August ", "September ", "October ", "November ", "December "];
var week_days = [ "Su ", "Mo ", "Tu ", "We ", "Th ", "Fr ", "Sa "];
var n_weekstart = 1; // day week starts from (normally 0 or 1)
var dt_datetime = (str_datetime == null || str_datetime == " " ? new Date() : str2dt2(str_datetime));
var dt_prev_month = new Date(dt_datetime);
dt_prev_month.setMonth(dt_datetime.getMonth()-1);
var dt_next_month = new Date(dt_datetime);
dt_next_month.setMonth(dt_datetime.getMonth()+1);
var dt_firstday = new Date(dt_datetime);
dt_firstday.setDate(1);
dt_firstday.setDate(1-(7+dt_firstday.getDay()-n_weekstart)%7);
var dt_lastday = new Date(dt_next_month);
dt_lastday.setDate(0);
// html generation (feel free to tune it for your particular application)
// print calendar header
var str_buffer = new String (
" <html> \n "+
" <head> \n "+
" <title> Calendar </title> \n "+
" </head> \n "+
" <body bgcolor=\ "White\ "> \n "+
" <table class=\ "clsOTable\ "