As you can see from the code I included, the performance hit has nothing to do with processing javascript or removing headers and footers. These happen after the blocking lines of code with 'iframe' calls.
The performance hit is really happening between these two lines of code. What I am suggesting is to look at how fancybox inserts an iframe. They are doing it in a way that is nit blocking in IE. I haven't made much progress but i will definitely let you know if I come across a solution when I revisit the issue. - Laurent On Sunday, June 26, 2011, Stephan Gambke <f.tr...@gmx.net> wrote: > Hi Laurent, > > Am 23.06.2011 15:55, schrieb Laurent Alquier: >> 1- Why isn't popupform based on fancybox, which is already included with >> Semantic Forms and doesn't seem to display this behavior in IE > > Well, it evolved and ended up in being very similar in function to > fancybox. It was then aligned with the look and feel of fancybox to have > a consistent design throughout the wiki. One main feature of popupform > is, that arbitrary Javascript is available, which is a vital feature for > forms. I could be wrong, but I don't think that fancybox allows this. My > guess is, that this is also the reason for IE being so slow - it has to > process all the JS of the form. Popupform also hides the MediaWiki frame > (sidebar, header, footer), which fancybox just can not do as it is not > designed for MW. > > >> 2- Could you look at the code offancybox and see if there is anything >> you could borrow to make this iframe load work well in IE ? > > As you already guessed, it does not have the highest priority for me. > However, I have some ideas I would like to try for popupform and I could > have a look at your problem while I am at it. > > >> I started looking at the code but it will take me a while to identify >> what I need to change > > If you find a solution that improves performance for IE (while > maintaining performance for other browsers) I would be highly interested. > > Cheers, > Stephan > -- - Laurent Alquier http://www.linfa.net ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel