Featured Content Gallery | WordPress Plugin | iePlexus

jQuery conflict??

Show off your site with FCG and get feedback from users

jQuery conflict??

PostBy Flux on Tue Jan 05, 2010 5:35 am

Hi.

I don't have a huge knowledge about javascript, I just can reuse ready plugins and scripts. On my website which is here:

http://sensorydeprivationkitchen.com/50hz_test/

gallery doesn't work. If I delete from the header link to the latest jQuery than gallery works but drop down menu and small photos preview on a single.php page not.

That's what I have in the header section:

<script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script>
<script type="text/javascript" src="http://sensorydeprivationkitchen.com/nav.js"></script>
<script type="text/javascript" src="http://sensorydeprivationkitchen.com/tinyscrolling.js"></script>
<script src="http://sensorydeprivationkitchen.com/main.js" type="text/javascript"></script>

I have tried to change the order of links but it doesn't help. If I move link to the latest jQuery to the bottom than gallery works but the rest of jquery components not :|

Does anybody know how to fix it?

Thanks.
Flux
 
Posts: 4
Joined: Sun Jan 03, 2010 8:56 am

Re: jQuery conflict??

Thank you for using the Featured Content Gallery Forum
 

Re: jQuery conflict??

PostBy admin on Tue Jan 05, 2010 8:24 am

Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4735
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Re: jQuery conflict??

PostBy Flux on Tue Jan 05, 2010 9:12 am

Thanks for your reply.

I have tried to add

<script>jQuery.noConflict();</script>

after

<script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script>

and in other places in header and unfortunately id doesn't work, also is I added it to jQuery library at last line... Actually it makes gallery works but other things using jQuery not.

Do you know why, any other ideas which can help to solve the problem?
Flux
 
Posts: 4
Joined: Sun Jan 03, 2010 8:56 am

Re: jQuery conflict??

PostBy Flux on Wed Jan 06, 2010 5:29 am

I have found an error which is:

Code: Select all
Error: element.getElements is not a function
http://sensorydeprivationkitchen.com/50hz_test/wp-content/plugins/featured-content-gallery/scripts/jd.gallery.js.php
Line: 148


On a javascript forum somebody sad that, it can be a problem. Could you tell me what is this error in a gallery?

I also changed all "$" to "jQuery" when I added jQuery.noConflict(); in files:

1. jd.gallery.set.js
2. jd.gallery.js
3. HistoryManager.js
4. mootools.v1.11.uncompressed.js

but it doesn't change anything, if I delete the link to the latest jQuery from the header gallery works but the rest of jQuery components not...

Sorry for my English :)

Thanks.
Flux
 
Posts: 4
Joined: Sun Jan 03, 2010 8:56 am


Return to FCG Plugin Showcase and Feedback

Who is online

Users browsing this forum: No registered users and 0 guests