PDA

View Full Version : Jason's Date Input Calendar popup left position



madesign
03-29-2011, 11:39 PM
1) Script Title:
Jason's Date Input Calendar
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex7/jasoncalendar.htm
3) Describe problem:
Hello,
by default the calendar popup opens to the right of the calendar image.
I use it on a right column of a website and the popup disappears when the browser window is to small. How i change the settings that the popup opens to the left?

Thanks a lot, Michael

madesign
04-02-2011, 12:57 PM
Ok i found it out by my self.
For who wanted control the position like me here the solution:
Just set the surrounded element to position:relative (if not it use the position of the body) and search in the calendarDateInput.js for position:absolute at the bottom of the script.
Now you only have to add the position values like: left:5px. Thats it.

Saludos, Michael