Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Calendar Pop-up Position?
jscheer
Junior Member

Posts: 2
Registered: 8/12/2002
Member Is Offline
posted on 8/12/2002 at 11:21 PM Reply With Quote
Calendar Pop-up Position?


Is there a way to control x,y position of the calendar window which results from the .popup() call?
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 8/13/2002 at 06:21 AM Reply With Quote

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.
View User's Profile View All Posts By User U2U Member
jscheer
Junior Member

Posts: 2
Registered: 8/12/2002
Member Is Offline
posted on 8/13/2002 at 06:26 PM Reply With Quote
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.)
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 8/14/2002 at 06:34 AM Reply With Quote

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.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Free Download Free Download
Product Documentation Documentation
Support Forum Support Forum
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004