Board Logo

Calendar Pop-up Position?
jscheer - 8/12/2002 at 11:21 PM

Is there a way to control x,y position of the calendar window which results from the .popup() call?


tigra - 8/13/2002 at 06:21 AM

You can specify new values for X and Y in the calendar?.js file in the window.open(...) call. Attributes are 'left' and 'top' respectively.


jscheer - 8/13/2002 at 06:26 PM

Thanks... I had gotten that far myself yesterday (found where the x,y pos was set). However, rather than hard coded values, I'd like to set the x,y based on the position of the form element the calendar is associated with. You know, so it acts more like a "drop down" combo box or a pop-up menu insofar as it's position is relative to the associated component.
I'm working on it now... just need to find out how to determine the "screen x,y" of the HTML form element rather than it's position relative to the window within the browser. Any ideas? (I am working with IE 5.5 or greater DHTML.)


tigra - 8/14/2002 at 06:34 AM

Feel free to publish your results here if you have any luck positioning calendar relatively.

BTW: This feature is already implemented in special version of our Tigra Calendar PRO product. You can find screenshot in some posting on this forum.


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/