hi dear all
please help me
im using the calander control from a form
just i paste here the problem,
the problem is when i click the calander button the calander is opening at the same time backside form component also visible in front side how can i rectfiy this one? i changed the z-index also but no use?
[HTML]<TABLE border="1" bordercolor="#D DDFE7" bgcolor="#56565 6"cellPaddin g=0 cellSpacing="1" id=calendar style="DISPLAY: none; POSITION:absolu te; z-index:4;" >
<TBODY>
<TR>
<TD Align="left" colspan="7">
<!-- Month combo box -->
<SELECT id=month class=sbox onchange=newCal endar()>
<SCRIPT language=JavaSc ript>
// Output months into the document.
// Select current month.
for (var intLoop = 0; intLoop < months.length; intLoop++)
document.write( "<OPTION " + (today.month == intLoop ? "Selected" : "") + ">" + months[intLoop]);
</SCRIPT>
</SELECT>
<!-- Year combo box -->
<SELECT id=year class=sbox onchange=newCal endar()>
<SCRIPT language=JavaSc ript>
// Output years into the document.
// Select current year.
for (var intLoop = 1900; intLoop < 2028; intLoop++)
document.write( "<OPTION " + (today.year == intLoop ? "Selected" : "") + ">" + intLoop);
</SCRIPT>
</SELECT>
</TD>
</TR>
<TR class=days align="center" >
<!-- Generate column for each day. -->
<SCRIPT language=JavaSc ript>
// Output days.
for (var intLoop = 0; intLoop < days.length; intLoop++)
document.write( "<TD>" + days[intLoop] + "</TD>");
</SCRIPT>
</TR>
<TBODY class=dates id=dayList onclick="getDat e('')" Align=center >
<!-- Generate grid for individual days. -->
<SCRIPT language=JavaSc ript>
for (var intWeeks = 0; intWeeks < 6; intWeeks++)
{
document.write( "<TR>");
for (var intDays = 0; intDays < days.length; intDays++)
document.write( "<TD></TD>");
document.write( "</TR>");
}
</SCRIPT>
<!-- Generate today day. --></TBODY>
<TBODY>
<TR >
<TD class=today colSpan=5 id=todayday onclick=getToda yDay()></TD>
<TD align=right colSpan=2><A href="javascrip t:HideCalendar( );"><SPAN class="content" ><B>
Hide</B></SPAN></A></TD>
</TR>
</TBODY>
</table>[/HTML]
please help me
im using the calander control from a form
just i paste here the problem,
the problem is when i click the calander button the calander is opening at the same time backside form component also visible in front side how can i rectfiy this one? i changed the z-index also but no use?
[HTML]<TABLE border="1" bordercolor="#D DDFE7" bgcolor="#56565 6"cellPaddin g=0 cellSpacing="1" id=calendar style="DISPLAY: none; POSITION:absolu te; z-index:4;" >
<TBODY>
<TR>
<TD Align="left" colspan="7">
<!-- Month combo box -->
<SELECT id=month class=sbox onchange=newCal endar()>
<SCRIPT language=JavaSc ript>
// Output months into the document.
// Select current month.
for (var intLoop = 0; intLoop < months.length; intLoop++)
document.write( "<OPTION " + (today.month == intLoop ? "Selected" : "") + ">" + months[intLoop]);
</SCRIPT>
</SELECT>
<!-- Year combo box -->
<SELECT id=year class=sbox onchange=newCal endar()>
<SCRIPT language=JavaSc ript>
// Output years into the document.
// Select current year.
for (var intLoop = 1900; intLoop < 2028; intLoop++)
document.write( "<OPTION " + (today.year == intLoop ? "Selected" : "") + ">" + intLoop);
</SCRIPT>
</SELECT>
</TD>
</TR>
<TR class=days align="center" >
<!-- Generate column for each day. -->
<SCRIPT language=JavaSc ript>
// Output days.
for (var intLoop = 0; intLoop < days.length; intLoop++)
document.write( "<TD>" + days[intLoop] + "</TD>");
</SCRIPT>
</TR>
<TBODY class=dates id=dayList onclick="getDat e('')" Align=center >
<!-- Generate grid for individual days. -->
<SCRIPT language=JavaSc ript>
for (var intWeeks = 0; intWeeks < 6; intWeeks++)
{
document.write( "<TR>");
for (var intDays = 0; intDays < days.length; intDays++)
document.write( "<TD></TD>");
document.write( "</TR>");
}
</SCRIPT>
<!-- Generate today day. --></TBODY>
<TBODY>
<TR >
<TD class=today colSpan=5 id=todayday onclick=getToda yDay()></TD>
<TD align=right colSpan=2><A href="javascrip t:HideCalendar( );"><SPAN class="content" ><B>
Hide</B></SPAN></A></TD>
</TR>
</TBODY>
</table>[/HTML]
Comment