Jump to:

23490 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » conflicting jQuery - no conflict doesnt work

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 971 Views
  • borriej
    Community Member
    267 Posts

    conflicting jQuery - no conflict doesnt work Link to this post


    See http://www.jscodes.com/codes/code08/

    downloaded the jquery and put it in my site/templates

    see http://grefkens.robvaneckdesign.nl

    what is going wrong?

    In a single html everything works, but within Silverstripe the 'featured item slider' wont do anything.

    I've deteled all jquery's and tested it many times in different ways..

    Currently using this at the bottom of Homepage.ss

    <script type="text/javascript">


       jQuery(document).ready(function() {
                jQuery("#tabs li a"),
                jQuery("#output li"),

    but still things go wrong..

    please help!

  • Zauberfisch
    Community Member
    30 Posts

    Re: conflicting jQuery - no conflict doesnt work Link to this post


    when you look at http://paste2.org/p/1750558 you will see that you include the featureList javascript file (which seems to be a jquery plugin) BEFORE you include jquery.
    of course this plugin will not work

    try to change your code as showed in the paste, remove red lines, add green lines

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.