Josh Naylor
Josh Naylor

Reputation: 273

jquery plugins conflicting

I'm trying to put both a text ticker and an image magnifier into a webpage declaring them like so

<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js?ver=1.4.2'></script>
          <script type="text/javascript" src="scripts/jquery.ticker.js" ></script>
          <script type="text/javascript" src="scripts/jquery.magnifier.js"></script> 

I have no idea why when I use the magnifier the text ticker will not show, as soon as I take I out it comes back again.

Upvotes: 0

Views: 203

Answers (1)

JJJ
JJJ

Reputation: 33153

For some reason the magnifier plugin has this line near the start:

jQuery.noConflict()

It makes the $ shortcut to not work anymore. Remove that line and it should work.

Upvotes: 1

Related Questions