I recommend opening a JIRA issue on this.
Fixes posted to the mailing list tend to get overlooked and lost due
to the high volume of email.

Thanks.

On 2/24/06, Arshad Ali <[EMAIL PROTECTED]> wrote:
> I was also using calendar in scrollable div and i got the same problem, so i
> just changed the .js file like that..
>
> add following code first:
>
> //============ CODE ADDED BY ARSHAD ALI =================
> //browser detection
> var IE = document.all?true:false
>
> if (!IE) document.captureEvents(Event.MOUSEMOVE)
>
> document.onmousemove = getMouseXY;
>
> var tempX = 0
> var tempY = 0
>
> function getMouseXY(e)
> {
>   if( IE ) //if IE
>   {
>
>     tempX = event.clientX + document.body.scrollLeft
>     tempY = event.clientY + document.body.scrollTop
>
>   }
>   else
>   {
>     tempX = e.pageX
>     tempY = e.pageY
>   }
>
>   if( tempX < 0 ) { tempX = 0 }
>   if( tempY < 0 ){ tempY = 0 }
>
>   return true
> }
> //============================
> ============================
>
> then comment following code in
> jscalendarPopUpCalendar_Show(ctl):
>
> /*
>     var    leftpos = 0;
>     var    toppos = 0;
>
>     var aTag = ctl;
>     do {
>         aTag = aTag.offsetParent;
>         leftpos    += aTag.offsetLeft ;
>         toppos += aTag.offsetTop;
>     } while(aTag.tagName!="BODY");
>
>   jscalendarCrossobj.left = jscalendarFixedX==-1 ? ctl.offsetLeft    +
> leftpos + "px": jscalendarFixedX;
>    jscalendarCrossobj.top = jscalendarFixedY==-1 ?    ctl.offsetTop +
> toppos + ctl.offsetHeight +    2 + "px": jscalendarFixedY;
>
>
>     */
>
> and asign left and top like that:
>
>     jscalendarCrossobj.left = tempX;
>      jscalendarCrossobj.top = tempY;
>
>
>
>
> regards
> Syed Arshad Ali

Reply via email to