Error in HTML

Discussion in 'HTML & Website Design' started by vinodis, Jun 8, 2007.

  1. #1
    My blog is showing errors in the status bar of IE and FF.
    I am not a HTML/CSS Pro. Can you please help where and why is the error?
    Thanks.
    URL:ww.vinodlive.com
     
    vinodis, Jun 8, 2007 IP
  2. CygnetGames

    CygnetGames Peon

    Messages:
    43
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'm running Firefox 2.0.0.3 under Windows XP.
    I don't see any errors in the statusbar, but the error console says this, if it helps:
    --------------------
    Error: missing ; before statement
    Source File: http://www.vinodlive.com/wp-content/themes/torn/styleswitcher.js
    Line: 1, Column: 27
    Source Code:
    etActiveStyleSheet(title);}window.onunload = function(e) { var title = getActiveStyleSheet(); createCookie("style", title, 365);}var cookie = readCookie("style");var title = cookie ? cookie : getPreferredStyleSheet();setActiveStyleSheet(title);
    --------------------
     
    CygnetGames, Jun 8, 2007 IP
    vinodis likes this.
  3. Katy

    Katy Moderator Staff

    Messages:
    3,490
    Likes Received:
    513
    Best Answers:
    7
    Trophy Points:
    355
    #3
    I checked your page in both browsers and it works just fine. Maybe you can show a sceenshot?
     
    Katy, Jun 8, 2007 IP
  4. jakomo

    jakomo Well-Known Member

    Messages:
    4,262
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    138
    #4
    Hello,
    I checked your site with FF 2.0.4, and it is running ok for me
     
    jakomo, Jun 8, 2007 IP
    vinodis likes this.
  5. Mark Bolyard

    Mark Bolyard Active Member

    Messages:
    240
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    75
    #5
    Thats the error. Did you install a recent plugin that caused it recently?

    Most likely a character problem in one of the plugins you are using, or you modified the php theme files and mis placed a character or tag.

    Try disabling a plugin at a time and see if it resolves the issue (unless of course you know you made a recent change)
     
    Mark Bolyard, Jun 8, 2007 IP
    vinodis likes this.
  6. briansol

    briansol Well-Known Member

    Messages:
    221
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    110
    #6
    the error is in the JS in the style switcher. it is NOT remotely php related.
     
    briansol, Jun 8, 2007 IP
    vinodis likes this.
  7. vinodis

    vinodis Peon

    Messages:
    304
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thank you ALL for the inputs.
    I have had the same error as 'Line 2' one. I guess I need to check for issues with any of the plugin there.
    Thanks again.
     
    vinodis, Jun 8, 2007 IP
  8. briansol

    briansol Well-Known Member

    Messages:
    221
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    110
    #8
    i'll say it again, its in your style switcher. check that one.
     
    briansol, Jun 8, 2007 IP
  9. vinodis

    vinodis Peon

    Messages:
    304
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Yes Brian. I am kinda close to the solution - its there in the JS.
    Btw, Happy Birthday Man! :)
     
    vinodis, Jun 8, 2007 IP
  10. briansol

    briansol Well-Known Member

    Messages:
    221
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    110
    #10
    k, just making sure.

    and thanks... thats old though... shows you how much i blog. lol
     
    briansol, Jun 8, 2007 IP