jscheer
Junior Member
Posts: 2
Registered: 8/12/2002
Member Is Offline
|
| posted on 8/12/2002 at 11:21 PM |
|
|
Calendar Pop-up Position?
Is there a way to control x,y position of the calendar window which results from the .popup() call?
|
|
|
tigra
Administrator
Posts: 1916
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 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
Junior Member
Posts: 2
Registered: 8/12/2002
Member Is Offline
|
| posted on 8/13/2002 at 06:26 PM |
|
|
New x,y relative to "this.target"
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
Administrator
Posts: 1916
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 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.
|
|
|