WordPress.org

Ready to get started?Download WordPress

Forums

JS conflict integrating ZenPhoto in WordPress (2 posts)

  1. minutepapillon
    Member
    Posted 1 year ago #

    Hi there,

    I've been trying to fix this all day long, but I am not a CMS expert ...
    I tried to integrate a zenphoto gallery with zpgalleriffic theme in my wordpress blog (Sterling theme). I used Ruskee's method :
    http://www.ruzee.com/blog/2006/06/integrating-zenphoto-into-wordpress/
    ... which means that I added my blog's footer and header to my version of the theme. The integration seems ok for the css (not too hard) but I deal with a js issue :

    The galleriffic-wrap div containing the gallery remains hidden : its css shows : display : none (if i change this using firebug I get my gallery)

    I guess some js in the senphoto theme was supposed to change this display css property but it does not trigger, I guess because of a conflict with the wp theme's JS

    The fact is that when a delete wp_head() a php function from my theme, the zpgalleriffic works properly ...

    Any idea of the way i can solve such a conflict ?

    A huge THANKS for any help !

    Nicolas

    The page with the problem :
    http://www.voirleloup.com/galerie/marais/

    My other gallery with my modified version of the theme :
    http://www.nicolasguionnet.com/zgal/boutique/marais/

  2. minutepapillon
    Member
    Posted 1 year ago #

    Hi,
    Dealing with this problem I discovered that the simultaneous use of jquery by galleriffic and the wordpress theme causes galleriffic to fail.
    ... and i solved the problem by removing one of the library calls...
    works well :
    http://www.voirleloup.com/galerie/nuit/#!prettyPhoto

Topic Closed

This topic has been closed to new replies.

About this Topic