Hello, Has anybody had any issues with using the prototype method cumulativeOffset in IE with relative positioned elements? I read the article at http://www.quirksmode.org/js/findpos.html which seems to say that this just doesn''t work in IE. I''m using the colorpicker from http://www.knallgrau.at/code/colorpicker and the color control is placed using cumulativeOffset and it is way too far to the right in IE where as firefox works just fine. Thanks for any feedback, Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
My suggestion is to copy the findPos() function they give you - it''s great - into your application.js and use it on all of your projects. On 13-Nov-06, at 5:55 PM, Andrew Kaspick wrote:> > Hello, > > Has anybody had any issues with using the prototype method > cumulativeOffset in IE with relative positioned elements? > > I read the article at http://www.quirksmode.org/js/findpos.html which > seems to say that this just doesn''t work in IE. > > I''m using the colorpicker from > http://www.knallgrau.at/code/colorpicker and the color control is > placed using cumulativeOffset and it is way too far to the right in IE > where as firefox works just fine. > > Thanks for any feedback, > Andrew > > >Pete Forde: Partner at Unspace Interactive contact | pete-oWFMc0dWE16w5LPnMra/2Q@public.gmane.org - 416.548.8444 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
The results of findPos are the same as those returned my cumulativeOffset. In IE, the left value is off by over 200px. On 11/13/06, Pete Forde <pete-oWFMc0dWE16w5LPnMra/2Q@public.gmane.org> wrote:> > My suggestion is to copy the findPos() function they give you - it''s > great - into your application.js and use it on all of your projects. > > On 13-Nov-06, at 5:55 PM, Andrew Kaspick wrote: > > > > > Hello, > > > > Has anybody had any issues with using the prototype method > > cumulativeOffset in IE with relative positioned elements? > > > > I read the article at http://www.quirksmode.org/js/findpos.html which > > seems to say that this just doesn''t work in IE. > > > > I''m using the colorpicker from > > http://www.knallgrau.at/code/colorpicker and the color control is > > placed using cumulativeOffset and it is way too far to the right in IE > > where as firefox works just fine. > > > > Thanks for any feedback, > > Andrew > > > > > > > Pete Forde: Partner at Unspace Interactive > contact | pete-oWFMc0dWE16w5LPnMra/2Q@public.gmane.org - 416.548.8444 > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Explicitly setting a parent div to have position:static fixed my problem in IE. On 11/13/06, Andrew Kaspick <akaspick-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> The results of findPos are the same as those returned my > cumulativeOffset. In IE, the left value is off by over 200px. > > On 11/13/06, Pete Forde <pete-oWFMc0dWE16w5LPnMra/2Q@public.gmane.org> wrote: > > > > My suggestion is to copy the findPos() function they give you - it''s > > great - into your application.js and use it on all of your projects. > > > > On 13-Nov-06, at 5:55 PM, Andrew Kaspick wrote: > > > > > > > > Hello, > > > > > > Has anybody had any issues with using the prototype method > > > cumulativeOffset in IE with relative positioned elements? > > > > > > I read the article at http://www.quirksmode.org/js/findpos.html which > > > seems to say that this just doesn''t work in IE. > > > > > > I''m using the colorpicker from > > > http://www.knallgrau.at/code/colorpicker and the color control is > > > placed using cumulativeOffset and it is way too far to the right in IE > > > where as firefox works just fine. > > > > > > Thanks for any feedback, > > > Andrew > > > > > > > > > > > Pete Forde: Partner at Unspace Interactive > > contact | pete-oWFMc0dWE16w5LPnMra/2Q@public.gmane.org - 416.548.8444 > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Spoke too soon. That screwed up borders on my child elements in IE6. Arghh... I wish IE6 would just go away. On 11/14/06, Andrew Kaspick <akaspick-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Explicitly setting a parent div to have position:static fixed my > problem in IE. > > On 11/13/06, Andrew Kaspick <akaspick-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > The results of findPos are the same as those returned my > > cumulativeOffset. In IE, the left value is off by over 200px. > > > > On 11/13/06, Pete Forde <pete-oWFMc0dWE16w5LPnMra/2Q@public.gmane.org> wrote: > > > > > > My suggestion is to copy the findPos() function they give you - it''s > > > great - into your application.js and use it on all of your projects. > > > > > > On 13-Nov-06, at 5:55 PM, Andrew Kaspick wrote: > > > > > > > > > > > Hello, > > > > > > > > Has anybody had any issues with using the prototype method > > > > cumulativeOffset in IE with relative positioned elements? > > > > > > > > I read the article at http://www.quirksmode.org/js/findpos.html which > > > > seems to say that this just doesn''t work in IE. > > > > > > > > I''m using the colorpicker from > > > > http://www.knallgrau.at/code/colorpicker and the color control is > > > > placed using cumulativeOffset and it is way too far to the right in IE > > > > where as firefox works just fine. > > > > > > > > Thanks for any feedback, > > > > Andrew > > > > > > > > > > > > > > > Pete Forde: Partner at Unspace Interactive > > > contact | pete-oWFMc0dWE16w5LPnMra/2Q@public.gmane.org - 416.548.8444 > > > > > > > > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---