ChrisT
2006-Dec-31 17:10 UTC
Problem with inserting new list items in IE7 (and BlindDown efect)
I have this strange problem with a BlindDown on IE7 only (IE 6, Firefox, Safari and Opera all OK). I''ve got a tree-like structure made up on nested ULs. Using Edge Rails. When the page opens it shows a list of the base-level items, together with an icon for those items with children (and a hidden UL with empty LI). When you click the icon it fires an Ajax request which gets the children, and inserts the children (as LIs) into the hidden UL and then shows the UL with a blind down. So far so good. Except in IE7 only, immediately after the blind-down is finished the list items are all moved left so they are flush left with the left hand side of the content area. Then when the mouse is moved (anyway, even just a little bit), they go back to the correct position (which is indented from the parent LI by 2em via a CSS margin). I can post some of the code if necessary, but has anyone come across anything like this befoer. Have tried googling various combinations, but not getting anywhere. Thanks in advance Chris --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Chris Taggart
2006-Dec-31 19:56 UTC
Problem with inserting new list items in IE7 (and BlindDown efect)
I have this strange problem with a BlindDown on IE7 only (IE 6, Firefox, Safari and Opera all OK). I''ve got a tree-like structure made up on nested ULs. Using Edge Rails. When the page opens it shows a list of the base-level items, together with an icon for those items with children (and a hidden UL with empty LI). When you click the icon it fires an Ajax request which gets the children, and inserts the children (as LIs) into the hidden UL and then shows the UL with a blind down. So far so good. Except in IE7 only, immediately after the blind-down is finished the list items are all moved left so they are flush left with the left hand side of the content area. Then when the mouse is moved (anyway, even just a little bit), they go back to the correct position (which is indented from the parent LI by 2em via a CSS margin). I can post some of the code if necessary, but has anyone come across anything like this before. Have tried googling various combinations, but not getting anywhere. Thanks in advance Chris --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Marius Feraru
2006-Dec-31 20:51 UTC
Re: Problem with inserting new list items in IE7 (and BlindDown efect)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chris Taggart wrote:> I have this strange problem with a BlindDown on IE7 only (IE 6, > Firefox, Safari and Opera all OK). I''ve got a [...]It doesn''t matter what you''re inserting, I''ve seen it with almost any block element.> So far so good. Except in IE7 only, immediately after the blind-down is > finished the list items are all moved left so they are flush left with > the left hand side of the content area. Then when the mouse is moved > (anyway, even just a little bit), they go back to the correct positionYes, same behaviour noticed here. I''ve done some research some time ago on these issues, gathered lotta info but still didn''t had the time yet to arrange''em somehow. Here are some quick notes (i repeat, _notes_, _many_ may be proved to be false): - - cumulativeOffset fails when dealing with elements in "position: relative" containers (IIRC at least 2 levels of different positioning); - - various Effects fails to properly position their elements when dealing with "margin: auto" containers (your BlindDown is just an example, I''ve seen it with Slide, Move, Scroll, etc); - - many weird stacking related issues (z-index) ... etc ... (the ambient is getting way too cheeeeerful here to be able to remember anything at this point... cheers!) ;-) hope this will help you finding your workarounds ;-) happy new year :) - -- Marius Feraru -----BEGIN PGP SIGNATURE----- iD8DBQFFmCLLtZHp/AYZiNkRAjmwAKD8mxxy+4p5IWvNwGtzFatC6GPHwACg6YOz oHDHnYmAiR10egGYCZXKH9k=QGSo -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
ChrisT
2007-Jan-02 19:15 UTC
Re: Problem with inserting new list items in IE7 (and BlindDown efect)
OK. Not sure if that''s good news or bad news. Will try & see if I can find any workarounds (though I''m pretty much a novice on both CSS and js --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Maxwell
2007-Jan-03 12:59 UTC
Re: Problem with inserting new list items in IE7 (and BlindDown efect)
I''ve had some problems with IE7 with elements "popping" like you''ve described. Mainly my concern is coding for IE7 and FF which then just kills things in IE6. I have IE6 eolas installed but it doesn''t let me use cookies and it''s too much work to implement a work around (turning cookies off). I''ll just design for the newer browsers and advise clients to upgrade. Microsoft has IE7 on a security update so it will be everywhere. I know this doesn''t help your problems, what I''m saying is I hope that we can work with just the latest browsers and the IE7 will replace the crappy IE6 which causes me endless headaches. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---