Hi All Not strictly Scriptaculous but I came across this whilst trying to implement some Scriptaculous code. I am hoping some XHTML guru out there might be able to shed some light. If you load up the attached file in IE6, you''ll see the events only fire in the middle section of the title bar when your over the border ! - FF1.5 is fine.. Any thoughts / comments appreciated.. Cheers Matt Spendlove *********************************************************************************** The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. Authorized and regulated by the Financial Services Authority This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. The Royal Bank of Scotland plc does not accept responsibility for changes made to this message after it was sent. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by The Royal Bank of Scotland plc in this regard and the recipient should carry out such virus and other checks as it considers appropriate. Visit our websites at: rbos.com rbsmarkets.com *********************************************************************************** _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
I believe that in IE events don''t propagate down they only bubble up. In FF they do both! Thus the hover is for the top element and it doesn''t propagate down the the div underneath in IE... Just a vague memory, Am I speaking total crap here? Anyone? On 26/04/06, SPENDLOVE, Matt, GBM <Matt.SPENDLOVE-ge51qsjLezM@public.gmane.org> wrote:> Hi All > > Not strictly Scriptaculous but I came across this whilst trying to implement > some Scriptaculous code. I am hoping some XHTML guru out there might be able > to shed some light. > > If you load up the attached file in IE6, you''ll see the events only fire in > the middle section of the title bar when your over the border ! - FF1.5 is > fine.. > > Any thoughts / comments appreciated.. > > Cheers > > Matt Spendlove > > > *********************************************************************************** > The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. > Authorized and regulated by the Financial Services Authority > > This e-mail message is confidential and for use by the > addressee only. If the message is received by anyone other > than the addressee, please return the message to the sender > by replying to it and then delete the message from your > computer. Internet e-mails are not necessarily secure. The > Royal Bank of Scotland plc does not accept responsibility for > changes made to this message after it was sent. > > Whilst all reasonable care has been taken to avoid the > transmission of viruses, it is the responsibility of the recipient to > ensure that the onward transmission, opening or use of this > message and any attachments will not adversely affect its > systems or data. No responsibility is accepted by The Royal > Bank of Scotland plc in this regard and the recipient should carry > out such virus and other checks as it considers appropriate. > Visit our websites at: > rbos.com > rbsmarkets.com > *********************************************************************************** > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > >-- Andrew
I think there''s a little IE bug for you. Normally events are bubbled up from the target element. But floated elements seem to loose their position in the DOM for events. If div.formw is not floated it''s considered a child of div.row in your example and the event correctly bubbles up to div.row and highlights it. If you float div.formw suddenly it stops bubbling as if it''s now considered to be on top of anf not a child of div.row..... weird. On 26/04/06, Andrew Tetlaw <atetlaw-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I believe that in IE events don''t propagate down they only bubble up. > In FF they do both! > > Thus the hover is for the top element and it doesn''t propagate down > the the div underneath in IE... > > Just a vague memory, Am I speaking total crap here? Anyone? > > On 26/04/06, SPENDLOVE, Matt, GBM <Matt.SPENDLOVE-ge51qsjLezM@public.gmane.org> wrote: > > Hi All > > > > Not strictly Scriptaculous but I came across this whilst trying to implement > > some Scriptaculous code. I am hoping some XHTML guru out there might be able > > to shed some light. > > > > If you load up the attached file in IE6, you''ll see the events only fire in > > the middle section of the title bar when your over the border ! - FF1.5 is > > fine.. > > > > Any thoughts / comments appreciated.. > > > > Cheers > > > > Matt Spendlove > > > > > > *********************************************************************************** > > The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. > > Authorized and regulated by the Financial Services Authority > > > > This e-mail message is confidential and for use by the > > addressee only. If the message is received by anyone other > > than the addressee, please return the message to the sender > > by replying to it and then delete the message from your > > computer. Internet e-mails are not necessarily secure. The > > Royal Bank of Scotland plc does not accept responsibility for > > changes made to this message after it was sent. > > > > Whilst all reasonable care has been taken to avoid the > > transmission of viruses, it is the responsibility of the recipient to > > ensure that the onward transmission, opening or use of this > > message and any attachments will not adversely affect its > > systems or data. No responsibility is accepted by The Royal > > Bank of Scotland plc in this regard and the recipient should carry > > out such virus and other checks as it considers appropriate. > > Visit our websites at: > > rbos.com > > rbsmarkets.com > > *********************************************************************************** > > > > > > _______________________________________________ > > Rails-spinoffs mailing list > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > > > > > > > > > -- > Andrew >-- Andrew
Ahh nope, wrong, too much crack for me, sorry. But it _does_ have something to do with event bubbling On 26/04/06, Andrew Tetlaw <atetlaw-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I think there''s a little IE bug for you. Normally events are bubbled > up from the target element. But floated elements seem to loose their > position in the DOM for events. If div.formw is not floated it''s > considered a child of div.row in your example and the event correctly > bubbles up to div.row and highlights it. If you float div.formw > suddenly it stops bubbling as if it''s now considered to be on top of > anf not a child of div.row..... weird. > > On 26/04/06, Andrew Tetlaw <atetlaw-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > I believe that in IE events don''t propagate down they only bubble up. > > In FF they do both! > > > > Thus the hover is for the top element and it doesn''t propagate down > > the the div underneath in IE... > > > > Just a vague memory, Am I speaking total crap here? Anyone? > > > > On 26/04/06, SPENDLOVE, Matt, GBM <Matt.SPENDLOVE-ge51qsjLezM@public.gmane.org> wrote: > > > Hi All > > > > > > Not strictly Scriptaculous but I came across this whilst trying to implement > > > some Scriptaculous code. I am hoping some XHTML guru out there might be able > > > to shed some light. > > > > > > If you load up the attached file in IE6, you''ll see the events only fire in > > > the middle section of the title bar when your over the border ! - FF1.5 is > > > fine.. > > > > > > Any thoughts / comments appreciated.. > > > > > > Cheers > > > > > > Matt Spendlove > > > > > > > > > *********************************************************************************** > > > The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. > > > Authorized and regulated by the Financial Services Authority > > > > > > This e-mail message is confidential and for use by the > > > addressee only. If the message is received by anyone other > > > than the addressee, please return the message to the sender > > > by replying to it and then delete the message from your > > > computer. Internet e-mails are not necessarily secure. The > > > Royal Bank of Scotland plc does not accept responsibility for > > > changes made to this message after it was sent. > > > > > > Whilst all reasonable care has been taken to avoid the > > > transmission of viruses, it is the responsibility of the recipient to > > > ensure that the onward transmission, opening or use of this > > > message and any attachments will not adversely affect its > > > systems or data. No responsibility is accepted by The Royal > > > Bank of Scotland plc in this regard and the recipient should carry > > > out such virus and other checks as it considers appropriate. > > > Visit our websites at: > > > rbos.com > > > rbsmarkets.com > > > *********************************************************************************** > > > > > > > > > _______________________________________________ > > > Rails-spinoffs mailing list > > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > > > > > > > > > > > > > > > > -- > > Andrew > > > > > -- > Andrew >-- Andrew