Announcement

Collapse
No announcement yet.

javascript errors

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    javascript errors

    I have used the Error Console in Firefox to look at our website:
    http://www.staircasekits.co.uk because in IE there is an error message at the bottom of every page.

    Firefox has thrown up several errors of two types:

    error in parsing value for property 'cursor'
    and
    unexpected end of XML source

    I can't see where I can correct these errors myself in Actinic and would really appreciate some help as I would by far prefer the website to be shown without any errors.

    Thanks for any suggestions.

    Sally
    www.StaircaseKits.co.uk

    #2
    I am not seeing the XML error but the cursor:hand error (benign) can be found in the actinic.css ... search for cursor and you will find it ... it is to change the cursor style on a mouse over.


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      Unsure about this

      Thank you for your quick reply. I've found the cursor: hand in the actinic.css but I can't see where the error is (I'm not very clued up on css). As this error doesn't seem to cause any problems as far as I am aware, do you think it is ok just to ignore it?

      Comment


        #4
        You can ignore the CSS error. Some CSS is valid in only some browsers and ignored by others.

        I see the JavaScript error. You have duff Google Analytics code at the top of your page
        Code:
        <script>
        <script type="text/javascript">
        var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
        document.write(unescape("%3Cscript src='" + gaJsHost + "acatalog/google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
        </script>
        And that top <script> tage is redundant. Try deleting it.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Thanks, Norman. Code replaced and tidied up and all seems ok. I just need to check that Google Analytics is working ok.
          Thank you for your help.
          Sally
          http://www.staircasekits.co.uk

          Comment

          Working...
          X