Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • yerg Friend
    #138832

    I have an error with the font sizer …

    Error: switchFontSize is not defined
    Line: 1

    Uncaught SyntaxError: Unexpected token < http://232.235.236.2/templates/tactics/ja.script.js (line 1)
    Uncaught SyntaxError: Unexpected token < http://232.235.236.2/templates/tactics/opacity.script.js (line 1)

    I can run this on my local server (on my PC and no error) put it on the intranet and this comes up.
    Switched off all the other javascript related plugins and no change.

    Any ideas?

    Can’t show the live site cos it’s not connected to the net. :((

    ShannonN Friend
    #294658

    yerg;116079I have an error with the font sizer …

    Error: switchFontSize is not defined
    Line: 1

    Uncaught SyntaxError: Unexpected token < http://232.235.236.2/templates/tactics/ja.script.js (line 1)
    Uncaught SyntaxError: Unexpected token < http://232.235.236.2/templates/tactics/opacity.script.js (line 1)

    I can run this on my local server (on my PC and no error) put it on the intranet and this comes up.
    Switched off all the other javascript related plugins and no change.

    Any ideas?

    Can’t show the live site cos it’s not connected to the net. :((

    If it runs locally and not on intranet
    Check that your links to the js etc are relative or absolute given that absolute will work fine if defined to suit local host but break when online and url becomes different

    Also have you modded the HTaccess file at all or defined a live url in the configuration file I seem to remember having a similar prob caused by these in the past
    Hope these are clues to the problem area
    ShannonN

    yerg Friend
    #294675

    Discovered that I had the css and .js in the wrong order.

    Simple but so obvious.

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

This topic contains 3 replies, has 2 voices, and was last updated by  yerg 15 years, 8 months ago.

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