[pmwiki-users] Annoncement: DomTT

Dominique Faure dominique.faure at gmail.com
Thu Aug 31 06:20:30 CDT 2006


On 8/31/06, Hans <design5 at softflow.co.uk> wrote:
> Thursday, August 31, 2006, 8:39:59 AM, Dominique wrote:
>
> > The recipe has been updated according to Patrick suggestion.
>
> when I change in the fixflow template
>      onload = changeDivMetrics();
> to
>      var onloadPrevFunc = window.onload;
>      window.onload = function() {
>         if(onloadPrevFunc) onloadPrevFunc();
>         changeDivMetrics();
>         }
> and go to a page which has domtt markup, for IE it breaks both the
> skin metrics (not resetting main width) and the domtt popup,
> plus an error message pops up:
>      Stack overflow at line: 177
>
> This is the line in the html source from the domtt loading:
>     if(onloadPrevFunc) onloadPrevFunc();
>
> I am probably making a mistake in just repeating the same code,
> just with my own function inserted.
> Any ideas how to mend this?
>

I guess we shouldn't use same variable name ;-)

Dom




More information about the pmwiki-users mailing list