[pmwiki-users] Triad Skin - Problem with Text Size buttons

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Thu Sep 14 14:13:22 CDT 2006


I deactivated the buttons:

SDV($EnableViewSwitcher, 0);
SDV($EnableFontSizer, 0);

in triad/skin.php and ended receiving a javaScript error in IE telling "fontSize is undefined".

I could fix it in skin-triad.tmpl changing 

if (fontSize) { fontSize.fontSizeInit();}

for 

if (typeof fontSize != "undefined"){ fontSize.fontSizeInit();}

Pierre

> -----Message d'origine-----
> De : pmwiki-users-bounces at pmichaud.com [mailto:pmwiki-users-
> bounces at pmichaud.com] De la part de Stirling Westrup
> Envoyé : 13 septembre 2006 14:59
> À : pmwiki-users at pmichaud.com
> Objet : Re: [pmwiki-users] Triad Skin - Problem with Text Size buttons
> 
> Pierre Racine wrote:
> > Hi,
> >
> > I have a problem with the Triad skin. The first time I access the site
> the
> > Text Size "- 0 +" buttons do not display. I get "undefined" instead...
> If I
> > refresh using my browser button, everything becomes fine.
> >
> > Any idea why?
> >
> 
> Its a known issue having to do with differing support for javascript in
> firefox and IE. I'm afraid I don't remember the details.
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users





More information about the pmwiki-users mailing list