Announcement

Collapse
No announcement yet.

Script errors

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

    Script errors

    Hi
    Can anyone make heads or tails of this please.
    Below is what it is telling me in Firefox developer (not sure why I look cos I know absolutley nothing about this sort of thing)

    But it is also telling me in design mode on sellerdeck that there is an error too - a javascript error

    Please help as sellerdeck is running really slow and I have a feeling it is probalby something to do with this

    Many thanks
    Jo



    Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead mc-validate%2Ejs:4

    SyntaxError: missing ; before statement www.ukcurtainpoles.co.uk:70

    Use of Mutation Events is deprecated. Use MutationObserver instead. sams.js:1

    Use of getPreventDefault() is deprecated. Use defaultPrevented instead. www.ukcurtainpoles.co.uk:1

    TypeError: $(...).tabs is not a function www.ukcurtainpoles.co.uk:43
    Thank you
    Kind regards
    Joanne

    www.ukcurtainpoles.co.uk

    #2
    You have added some code for MailChimp. The stuff between the <script type='text/javascript'> and </script> tags> needs changing to:
    Code:
    window.fnames = new Array();
    window.ftypes = new Array();
    fnames[ 0 ]='EMAIL';
    ftypes[ 0 ]='email';
    fnames[ 1 ]='FNAME';
    ftypes[ 1 ]='text';
    fnames[ 2 ]='LNAME';
    ftypes[ 2 ]='text';
    }(jQuery));
    var $mcj = jQuery.noConflict(true);
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      There are a few errors, 1) the Mailchimp code square brackets get converted by SellerDeck and Norman mentioned that, 2) the Mailchimp CSS file "classic-081711.css" is missing you can add that to your folder, 3) external scripts can slow the software you can use the blockif from here.
      Peblaco

      Comment


        #4
        Hi
        Thank you

        I have done point no 1

        Point no 2 - do I have to use the Mailchimp CSS as I have added styling on my existing CSS file for Mailchimp?

        Not got to point no 3 yet
        Thank you
        Kind regards
        Joanne

        www.ukcurtainpoles.co.uk

        Comment


          #5
          If you are not using their CSS you can take the line of code out of the layout.
          Peblaco

          Comment

          Working...
          X