Announcement

Collapse
No announcement yet.

CDN JQUERY not working

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

    CDN JQUERY not working

    I've got some actinic plugins that require jquery.js

    I've been informed the site will load faster if instead of hosting this on our site I use the following:
    <script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.js”></script>

    However that doesn't seem to work either inside actinic's interface or after an upload .
    Any suggestions ?
    www.grafea.co.uk
    Vintage Leather briefcases

    http://www.grafea.com
    Designer leather bags
    --------------------------
    Yanni Kioupouroglou

    #2
    The JS file does exist at the location you are calling it from, so would suggest its to do with the usage of it, i.e. the call or action you are attempting is not working.

    If you send through details of what you are attempting and the uploaded page where it is failing, then someone might be able to assist.

    Comment


      #3
      Thanks, this is the page with the cdn script.

      http://www.grafea.co.uk/shop/test/index.html

      As you can see the bullets on the main photo do not move as they should automatically. Also I get an error inside Actinic saying "Jquery.js" is not defined.

      However, when I change the script to: <script type="text/javascript" src="jquery.js"></script> it all works fine!

      Another question, my jquery.min.js takes only 385ms on the .co.uk site, however on the test page .co.uk/shop/test.index.html it takes a massive 1200ms to load!
      I have renamed the jquery.min.js to jquery.js so that the plug ins work fine so both sites use in essence the same library, why the massive difference ? I have used Webpagetest.org to obtain the results.
      www.grafea.co.uk
      Vintage Leather briefcases

      http://www.grafea.com
      Designer leather bags
      --------------------------
      Yanni Kioupouroglou

      Comment


        #4
        Originally posted by Yanni View Post
        Thanks, this is the page with the cdn script.

        http://www.grafea.co.uk/shop/test/index.html

        As you can see the bullets on the main photo do not move as they should automatically. Also I get an error inside Actinic saying "Jquery.js" is not defined.

        However, when I change the script to: <script type="text/javascript" src="jquery.js"></script> it all works fine!

        Another question, my jquery.min.js takes only 385ms on the .co.uk site, however on the test page .co.uk/shop/test.index.html it takes a massive 1200ms to load!
        I have renamed the jquery.min.js to jquery.js so that the plug ins work fine so both sites use in essence the same library, why the massive difference ? I have used Webpagetest.org to obtain the results.
        The reason that it is not loading is your page is actually requesting http://www.grafea.co.uk/shop/test/%E...ry.js%E2%80%9D. The page is adding http://www.grafea.co.uk/shop/test/ to all the calls even when they are absolute rather than relative.

        Malcolm

        SellerDeck Accredited Partner,
        SellerDeck 2016 Extensions, and
        Custom Packages

        Comment


          #5
          I've had to change the quotes before the link and it all worked fine.

          Thanks...
          www.grafea.co.uk
          Vintage Leather briefcases

          http://www.grafea.com
          Designer leather bags
          --------------------------
          Yanni Kioupouroglou

          Comment

          Working...
          X