-
April 25th, 2007, 03:59 PM
#1
Calendar Hiding behind combo box
I am using a Javascript Calendar and when it pops up. It covers up the text boxes. But if there is a combo box, the calendar is behind the combo box. How can I fix that? Is there a setting that I need to have?
Code:
function SetCalendarOnElement(el_name)
{
if (el_name=="")
el_name = element_id;
var shift = new Array(2);
GetBodyOffsetX(el_name, shift);
document.all.calendar.style.pixelLeft = shift[0]; // - document.all.calendar.offsetLeft;
document.all.calendar.style.pixelTop = shift[1] + 25 ;
}
function ShowCalendar(elem_name)
{
if (elem_name=="")
elem_name = element_id;
element_id = elem_name; // element_id is global variable
newCalendar();
SetCalendarOnElement(element_id);
//document.all.calendar.style.visibility = "visible";
document.all.calendar.style.display="inline";
}
Found it... Please delete this post.
Last edited by vbjohn; April 25th, 2007 at 04:07 PM.
-
April 25th, 2007, 04:29 PM
#2
Re: Calendar Hiding behind combo box
To have the forums serve as an archive of solutions, we'd prefer you to post the solutions instead of removing your question.
*9-11-01* Never Forget; Never Forgive; Never Relent!
"If we ever forget that we're one nation under God, then we will be a nation gone under." - Ronald Reagan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|