Welcome,
Guest
|
|
I have developed a backend for Force.com platform and i'm seeing one problem.
I have a problem where the popups don't point to the events clicked on. They are offset downward by 95px This occurs when the calendar is framed inside the Force.com platform tab row, which is also 95px tall. it appears that the popup location is looking outside it's iframe to establish the top of window. i'll include a picture, this is in firefox, using the latest premium 1.3.6 if i turn off the header from Force.com Visualforce pages, it works correctly, but i need the tab row to be there can i control which iframe the calendar looks at for positioning ? I would prefer if it did not look at the parent frame at all, since these are in different domains actually. salesforce.com for the outer frame, and force.com for the visualforce page that holds the web2cal thanks! Ron Hess |
Please Log in to join the conversation. |
|
Hey Ron,
We are aware that at times, specially when you have fixed containers you face positioning issues. For this purpose, we do have adjustHeightOffset option. You can provide adjustHeightOffset=97; Alternatively, You can change the positioning code by changing showPreview method in web2cal.support.js Hope this helps! |
Please Log in to join the conversation. Team Web2Cal. |
|
Where do i add adjustHeightOffset=97;
is this a property of the calendar ? so ical.adjustHeightOffset=97; or is it passed in the object like this : adjustHeightOffset:"97", I tried both, but was not able to affect the offset. Is there documentation on adjustHeightOffset ? thanks |
Please Log in to join the conversation. |
|
ok, i added this
Web2Cal.defaultSettings = -97; just above my function createCalendar() and it appears to work (correct the offset ) for the "Create New Event " popup. but not for the event preview popup, this is still offset down from where i expect. Is there another adjustment that i should try? Thanks |
Please Log in to join the conversation. |