SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Evangelist
    Join Date
    May 2006
    Posts
    457
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    errors found in js console (firefox)

    im using firefox javascript console to find errors within my webpages.

    Ive found the following errors:

    "Expected colour but found '#'. Error in parsing value from property 'color'. Decleration dropped. Line 0"

    " Error in parsing value from property 'display'. Decleration dropped. Line 0"

    How can i go about finding which lines of code are creating these errors? as it tells me its on line0, this gives me no clue as to where to look.

    Any ideas?

  2. #2
    SitePoint Addict jtrelfa's Avatar
    Join Date
    Oct 2004
    Location
    Troy, Mi
    Posts
    231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Usually, there's a "source file" link underneath the error. Also, have you tried firebug?
    var me = null;

  3. #3
    SitePoint Wizard silver trophy kyberfabrikken's Avatar
    Join Date
    Jun 2004
    Location
    Copenhagen, Denmark
    Posts
    6,157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looks like stylesheet errors - not javascript errors.

  4. #4
    SitePoint Guru
    Join Date
    Apr 2006
    Posts
    802
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    look for 'color:' and 'display:' , both errors are css errors in the file named in the error console-


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •