Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Beer tokens available, Jquery.js Prototype.js conflict

    Ok working on a new design of a site but can't get the slider which needs Jquery to work with out it messing up the whole checkout system.

    Have a look at the site, electricsun.co.uk/new/creams.html

    the only way i can get sliders to work it to take the prototype.js out of the other javscript file and move it below the rest of them like so..

    Code:
    <script type="text/javascript" src="http://www.electricsun.co.uk/new/js/index.php?c=auto&amp;f=,prototype/validation.js,scriptaculous/builder.js,scriptaculous/effects.js,scriptaculous/dragdrop.js,scriptaculous/controls.js,scriptaculous/slider.js,varien/js.js,varien/form.js,varien/menu.js,mage/translate.js,mage/cookies.js,varien/product.js,calendar/calendar.js,calendar/calendar-setup.js" ></script>
    <script type="text/javascript" src="http://www.electricsun.co.uk/js/prototype/prototype.js" ></script>
    If i do this the sliders work as the do now. The problem is that on that page you can add any product to the cart fine but if you go into a product and the try to add to cart it does nothing and also it brakes the lightbox on the product image.

    If i move the prototype.js above the other main js files the oposit happens, the add to cart works and the lightbox works but the slider images dont work.

    Any help appriciated, and beer tokent to anyone who manages to fget tot the bottom of this...

    Steven

  • #2
    New to the CF scene
    Join Date
    Jun 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    no idea what the probem was but got it fiexedby using jquery 1.2.3 insted of 1.6.1


  •  

    Posting Permissions

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