Hello,
I currently have a problem with my seaside application and IE 6 only (what a surprise ?). In fact my application use a WAFileLibrary which contained lots of files including some png, css, and js. The first problem is when I display for the first time my page I have to refresh it because all the component do not have its css applied. After that, as I use some scriptaculous scripts, I refresh only some html elements in my page, and when I do that, the support for the png transparency is not available for the picture in this element. So i refresh the page and only after that it is ok. This problem is only on IE6. IE7 and firefox just do it fine. All my css are stored into my WAFileLibrary, nothing in a style method of my components. Should I do it this way, copy the css in my component ?. Thanks for help, any ideas are welcome ! Sylvain _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi Sylvain,
for web browsers read a fresh complete version of the page pres Ctr-R or make click on reload button while pressing shift. That ensures that all resources including css and js files will not used from the UA cache. IE6 has a well know hack that makes it capable of something it's not: proper render of PNG's. Amazing isn't? In an application I use in the root component: updateRoot: anHtmlRoot "Updates the root of the html document by adding the title and subtitle" super updateRoot: anHtmlRoot. anHtmlRoot title: 'Site blah blah'. anHtmlRoot if lessThan; ie7; do:[ anHtmlRoot javascript attributeAt: #defer put: ''; url: (BlahProductionLibrary urlOf: #pngfixJs) that introduces the hack from a js file I've downloaded from: http://homepage.ntlworld.com/bobosola/pnghowto.htm cheers, Sebastian Sastre > -----Mensaje original----- > De: [hidden email] > [mailto:[hidden email]] En nombre > de Sylvain Pralon > Enviado el: MiƩrcoles, 24 de Octubre de 2007 12:12 > Para: [hidden email] > Asunto: [Seaside] FileLibrary refreshment IE > > Hello, > > I currently have a problem with my seaside application and IE > 6 only (what a surprise ?). > In fact my application use a WAFileLibrary which contained > lots of files including some png, css, and js. > The first problem is when I display for the first time my > page I have to refresh it because all the component do not > have its css applied. > After that, as I use some scriptaculous scripts, I refresh > only some html elements in my page, and when I do that, the > support for the png transparency is not available for the > picture in this element. So i refresh the page and only after > that it is ok. > > This problem is only on IE6. IE7 and firefox just do it fine. > All my css are stored into my WAFileLibrary, nothing in a > style method of my components. Should I do it this way, copy > the css in my component ?. > > Thanks for help, any ideas are welcome ! > > > Sylvain > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Thanks for your answer bue I still have a problem.
My application is composed as follow : A mainComponent which contained a tabPanel component. this tabPanel component contains some components too. one of these component is an accordion component so, it contains again some components. I have a problem with one of them which is a sort of Tree I created. It works perfectly on all browsers except for IE6. In fact, when the page is loaded, the style of this one is not loaded. I have to refresh my page to get the style. When this same component is less depth in the component hierachy, it seems to work. Any ideas ? Thanks Sylvain Hi Sylvain, for web browsers read a fresh complete version of the page pres Ctr-R or make click on reload button while pressing shift. That ensures that all resources including css and js files will not used from the UA cache. IE6 has a well know hack that makes it capable of something it's not: proper render of PNG's. Amazing isn't? In an application I use in the root component: updateRoot: anHtmlRoot "Updates the root of the html document by adding the title and subtitle" super updateRoot: anHtmlRoot. anHtmlRoot title: 'Site blah blah'. anHtmlRoot if lessThan; ie7; do:[ anHtmlRoot javascript attributeAt: #defer put: ''; url: (BlahProductionLibrary urlOf: #pngfixJs) that introduces the hack from a js file I've downloaded from: http://homepage.ntlworld.com/bobosola/pnghowto.htm cheers, Sebastian Sastre-----Mensaje original----- De: [hidden email] [[hidden email]] En nombre de Sylvain Pralon Enviado el: Miércoles, 24 de Octubre de 2007 12:12 Para: [hidden email] Asunto: [Seaside] FileLibrary refreshment IE Hello, I currently have a problem with my seaside application and IE 6 only (what a surprise ?). In fact my application use a WAFileLibrary which contained lots of files including some png, css, and js. The first problem is when I display for the first time my page I have to refresh it because all the component do not have its css applied. After that, as I use some scriptaculous scripts, I refresh only some html elements in my page, and when I do that, the support for the png transparency is not available for the picture in this element. So i refresh the page and only after that it is ok. This problem is only on IE6. IE7 and firefox just do it fine. All my css are stored into my WAFileLibrary, nothing in a style method of my components. Should I do it this way, copy the css in my component ?. Thanks for help, any ideas are welcome ! Sylvain _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |