TehseenKazmi
Junior Member
Posts: 2
Registered: 9/14/2007
Location: Pakistan
Member Is Offline
|
| posted on 9/14/2007 at 08:52 AM |
|
|
Want to change Calender Position
I want to change Clender's window position relevant to my clicking position. Currently the code is being used to open window is.
var obj_calwindow = window.open(
'calendar.html?id=' + this.id + '&s=' + this.dt_selected.valueOf() + '&c=' + this.dt_current.valueOf(),
'Calendar', 'width=200,height=' + (this.time_comp ? 215 : 190) +
',status=no,resizable=no,top=200,left=200,dependent=yes,alwaysRaised=yes'
);
|
|
|
tigra
Administrator
Posts: 1976
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 9/28/2007 at 09:07 PM |
|
|
Position is specified via top= and left= parameters of the window.open(..) call. The coordinates are relative to the top left corner of the screen.
For relative positioned calendar consider modal mode of Tigra Calendar PRO.
|
|
|
|