test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • iainmac Friend
    #133489

    I am getting the following error in IE7
    Line: 20
    Char: 4
    Error: ‘CurrentFontSize’ is undefined
    Code: 0

    The code at issue is the line in ja_script.js
    <blockquote>function switchFontSize (ckname,val){ var bd = $E(‘BODY’); switch (val) { case ‘inc’: if (CurrentFontSize+1 < 7) { bd.removeClass(‘fs’+CurrentFontSize); CurrentFontSize++; bd.addClass(‘fs’+CurrentFontSize); } break; case ‘dec’: if (CurrentFontSize-1 > 0) { bd.removeClass(‘fs’+CurrentFontSize); CurrentFontSize–; bd.addClass(‘fs’+CurrentFontSize); } break; default: bd.removeClass(‘fs’+CurrentFontSize);
    CurrentFontSize = val;
    bd.addClass(‘fs’+CurrentFontSize); } Cookie.set(ckname, CurrentFontSize,{duration:365});}</blockquote>

    Any ideas how to resolve this?
    Thanks

    lcristian Friend
    #272632

    What’s the link to your site?
    Try to disable the Site Tools / User tools in the template parameters

    iainmac Friend
    #272990

    Hi Icristian
    The tools are already disabled but the error still appears:
    The link to the site is found below:
    http://www.maximise.com
    Thanks for your help.

    iainmac Friend
    #273002

    Hi again
    I had disabled all the template tools but when I enabled the font size tools the problem disappeared. Not sure what that worked and I can live with the font tools being displayed for now.
    Thanks again for your help!

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  iainmac 16 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum