First off: thanks for a grand framework, its excelent.

I'm currently using trunk to develop some small stuff at work, and  
one of the things I needed to make was a simple widget for selecting  
dates. I have that working now, but I tripped on a little peble here.

If I have an element with position: relative; and then create in that  
element a button with position: absolute, and then try to  
getElementPosition on that button, it seems to be wrong.

I have tried to "test" it here:

http://home.palle.net/~omega/DateSelector/examples/dateselector.html

The first one looks good, but on the second one is within an relative  
container, and that seems to shift the values of getElementPosition.

Perhaps this is expected behaviour? If so, how can I "plan" for both  
cases in my code?.

ohh, and general feedback on the dateaselector is also welcomed, if  
anyone has any. Its my first real piece of javascript code in years,  
so a bit rusty. And if anyone has any insight into why it takes ages  
to build the table in safari, I am all ears :)


thanks again for a great framework and a great comunity

andreas

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to