1
bjuti
Strange jQuery conflict
  • 2010/2/28 19:25

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Hi there.

I'm working on a new website, and I use jquery for lightbox features. It all works well except for the publisher module.

To avoid conflict I use:
jQuery.noConflict(); 
jQuery(document).ready(function($){


But I had no luck.

In news module the same code works, and in custom block. It's really simple, just loaded jquery with plugin for gallery and class element on <a> tag.

Tnx

2
Anonymous
Re: Strange jQuery conflict
  • 2010/3/1 1:14

  • Anonymous

  • Posts: 0

  • Since:


Try jQuery(document).ready(function(){ without $

3
bjuti
Re: Strange jQuery conflict
  • 2010/3/1 1:33

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


It doesn't work. It's only for publisher. Everything else is working.

4
kaotik
Re: Strange jQuery conflict
  • 2010/3/1 10:14

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


have you tried searching publisher for any jquery code?

It's possible publisher is running it's own jquery code, thus causing this conflict.

5
bjuti
Re: Strange jQuery conflict
  • 2010/3/1 10:49

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Yup, and when I disable it in footer.php, again it doesn't work.

Login

Who's Online

188 user(s) are online (121 user(s) are browsing Support Forums)


Members: 0


Guests: 188


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits