Featured Content Gallery | WordPress Plugin | iePlexus

jQuery Hell

New releases, ideas for the future, and known issues

jQuery Hell

PostBy srcoley on Thu May 07, 2009 6:28 am

This plugin is killing my jQuery. I tried putting the jQuery above and below the wp_head() function with no luck. If it's above the wp_head then it runs the jQuery before the DOM is fully loaded, and if it's below the wp_head it returns an error on the gallery:

"element.getElements is not a function
element.getElements(options.elementSelector).each(function(el) {"

If I keep it below and take out the jQuery include there are no errors, but the jQuery doesn't even run.

If anyone can give me some guidance, I'd appreciate it. Thanks in advanced.
srcoley
 
Posts: 1
Joined: Thu May 07, 2009 6:18 am

Re: jQuery Hell

Thank you for using the Featured Content Gallery Forum
 

Re: jQuery Hell

PostBy MichaelM on Thu May 07, 2009 8:35 am

As far as I can tell, FCG will not work with jQuery. I recall reading in other posts that there is an unresolved conflict.

The About page (http://www.featuredcontentgallery.com/about) also states that jQuery conflict resolution is a planned feature...

Disappointing, I know... :?
MichaelM
 
Posts: 2
Joined: Tue May 05, 2009 12:36 pm

Re: jQuery Hell

PostBy gemini on Fri Aug 07, 2009 9:17 am

I got it working. So far it seems like it depends on the order in which all JS libraries are being loaded. I described how I did it in this article - http://www.ibsteam.net/blog/web-development/making-featured-content-gallery-work-jquery-jquery-powered-plugins
gemini
 
Posts: 4
Joined: Sun Jul 19, 2009 12:43 pm


Return to Development, Improvement, and Conflicts

Who is online

Users browsing this forum: No registered users and 0 guests