scarred.by.ie6.com ;) On Thu, Mar 5, 2009 at 2:55 PM, Derek Chen-Becker <dchenbec...@gmail.com>wrote:
> Anyone for registering IEateMyhtml.com ? > > On Thu, Mar 5, 2009 at 6:26 AM, David Pollak < > feeder.of.the.be...@gmail.com> wrote: > >> >> >> - Show quoted text - >> On Wed, Mar 4, 2009 at 10:17 PM, Atsuhiko Yamanaka < >> atsuhiko.yaman...@gmail.com> wrote: >> >>> >>> Hi there, >>> >>> Please allow me to continue this thread, which nobody may be interested >>> in. >>> I found a reason(or solution) for that problem. >>> >>> On Wed, Mar 4, 2009 at 12:31 PM, Atsuhiko Yamanaka >>> <atsuhiko.yaman...@gmail.com> wrote: >>> > By the way, I found the problem in running it on IE6/7; I mean that >>> > the page must not be updated automatically on IE6/7. >>> >>> The index.html had following html tags, >>> <p> >>> <lift:comet type="LinkActor"> >>> <links:view>Loading...</links:view> >>> </lift:comet> >>> </p> >>> >>> I found that, by wrapping "lift:comet" with "div" tag, it will works >>> well on IE6/7; I mean that >>> <p><div> >>> <lift:comet type="LinkActor"> >>> <links:view>Loading...</links:view> >>> </lift:comet> >>> </div></p> >>> >>> You can reproduce a similar phenomenon easily. For example, >>> http://demo.liftweb.net/ has >>> following tags in "src/main/webapp/templates-hidden/default.html", >>> <div class="widget" style="text-align: center"> >>> <lift:comet type="Clock">Current Time: <clk:time>Missing >>> Clock</clk:time></lift:comet> >>> </div> >>> If "div" is replaced with "p", the clock will not be updated on IE6/7. >>> >>> Anyway, I think this is not a problem from liftweb. This is just a >>> tips or know-how, which >>> we should keep in our mind in using "lift:comet". >> >> >> Thanks you for this pointer. I was unaware of IEs breakage when changing >> the contents of a <p> tag. Useful knowledge. >> >> IE does also have a problem with replace of content in <td> tags >> irrespective of Comet or plain or JavaScript. One cannot set innerHTML on a >> td tag. One has to put a <span> inside the <td> tag and then change the >> innerHTML of the <span>. >> >>> >>> >>> >>> Sincerely, >>> -- >>> Atsuhiko Yamanaka >>> JCraft,Inc. >>> 1-14-20 HONCHO AOBA-KU, >>> SENDAI, MIYAGI 980-0014 Japan. >>> Tel +81-22-723-2150 >>> +1-415-578-3454 >>> Fax +81-22-224-8773 >>> Skype callto://jcraft/ >>> >>> >>> >> >> >> -- >> Lift, the simply functional web framework http://liftweb.net >> Beginning Scala http://www.apress.com/book/view/1430219890 >> Follow me: http://twitter.com/dpp >> Git some: http://github.com/dpp >> >> >> > > > > -- Viktor Klang Senior Systems Analyst --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---