Forums

Easy FancyBox
[resolved] Cant get Easy Fancybox to work (15 posts)

  1. matrover
    Member
    Posted 8 months ago #

    Hi there,

    First of all thanks for this plugin!

    unfortunately, i cant get i to work.

    here's my info:
    Wordpress 3.1.2
    Easy Fancybox 1.3.4.9
    Theme magicblue
    site: volleybal.vridos.nl
    image that sould work: http://volleybal.vridos.nl/de-teams/heren-2/

    can you please take a look why i wont work??

    Thanks in Advance!

    Greetings, Marijn

    http://wordpress.org/extend/plugins/easy-fancybox/

  2. RavanH
    Member
    Posted 8 months ago #

    Hoi Marijn,

    There are several things going on on your site that break jQuery.

    First, there seems to be something very funny going on with the JQuery Drop Down Menu... Apart from the fact that the source code of the main menu seems to have been copied twice into the inline stylesheet in the head section (how did that happen?), it loads it's own version of the jQuery library on top of the one from WordPress itself, that is already included.

    Second, there is a third instance of the jQuery library loaded in the footer. I think it is the MailPress plugin doing that.

    Loading jQuery two times too many will certainly have its effect on your other plugins that depend on jQuery: Contact Forms 7, WP Table Reloaded, Cimy Header Image Rotator and Easy FancyBox.

    Start by disabling the two offending plugins JQuery Drop Down Menu and MailPress and see if it works properly then.

    Then contact the respective plugin developers and ask them to switch to the official method of including jQuery: wp_enqueue_script() with 'jquery' as dependency, not directly including the script itself.

    Groet,
    Allard :)

  3. matrover
    Member
    Posted 7 months ago #

    He Allard,

    haha ok, you mean im F*cked :)

    if i disable the drop dowm menu plugin, the whole site is broken.
    i was already thinking of rebuilding it, so maby this is a good time :)

    any further ideas?

    Groeten en Bedankt ;)
    Marijn

  4. RavanH
    Member
    Posted 7 months ago #

    Hmmm... yes, you are right. The dropdown menu script seems incompatible with more recent versions of the jquery library.

    You might consider switching themes. I know the Hybrid framework http://themehybrid.com/ has a similar menu like what you are using now. You might be able to find a good child theme and adapt it to your needs fairly easily.

    Or even create a virtually empty child theme for twenty-ten or eleven and just add little css (for background, margins and maybe some text colors) to make it look close to what you have now :)

    Take a look at http://wordpress.org/extend/themes/third-style for example to see what you can do when you start with twenty ten... Before you know it, you're switching themes every week just to reflect your mood ;)

  5. phpinterviewquestion.com
    Member
    Posted 7 months ago #

    Hi,
    matrover, I have review your site,you are using old version of plugin, that's why problem created.
    Please try latest version2.0,because new version loaded embed query library instead of add their own.

    The version2.0 uses all standard method of wordpress, like, to add jquery library use wp_enqueue_script() etc.

    I hope this will help

    Thanks
    Sana Ullah

  6. matrover
    Member
    Posted 7 months ago #

    Hi,

    im am busy whit a new website theme..
    but whit a lack of time its hard to do this.

    i cant find the 2.0 version. can you point me in the right direction.

    Greetings!

  7. RavanH
    Member
    Posted 7 months ago #

    Sana, it seems something has gone wrong with your plugin versioning. Looking at http://wordpress.org/extend/plugins/jquery-drop-down-menu-plugin/download/ I see 2.0 as current version but under 'Other versions' there is 2.1 available. The Download button points to version 2.4 which is also available under the Compatibility dropdown in the side bar...

  8. matrover
    Member
    Posted 7 months ago #

    Ps. the version 2 is/was already installed

  9. matrover
    Member
    Posted 7 months ago #

    Dear RavanH,

    Can you please check my webpage code again??
    i cleaned up the header code, because it was loading the Jquery drop down menu 3 times....

    Thanks in advance!

  10. phpinterviewquestion.com
    Member
    Posted 7 months ago #

    Hi Matrover,
    Please use latest plugin.
    http://downloads.wordpress.org/plugin/jquery-drop-down-menu-plugin.2.4.zip.

    I have visited http://volleybal.vridos.nl/de-teams/heren-2/, i have not found any problem in the site,

    Can you tell me the problem you are facing

    Thanks

  11. phpinterviewquestion.com
    Member
    Posted 7 months ago #

    Hi Matrover,

    You have installed the oldest version, I am sure, please download this file and overwrite the existing one by this one http://downloads.wordpress.org/plugin/jquery-drop-down-menu-plugin.2.4.zip.

    Thanks

  12. matrover
    Member
    Posted 7 months ago #

    Yes!!

    i installed the version 2.4(Jquery drop down menu) and it works!
    Thanks Sana Ullah en Allard

    Looks Beautiful!

  13. phpinterviewquestion.com
    Member
    Posted 7 months ago #

    Hi Matrover,

    I come here after long time, because i was very busy in pass days, sorry for late response.

    Thanks

  14. RavanH
    Member
    Posted 7 months ago #

    Ha Marijn,

    The source looks a lot better now. Site works and is more responsive :)

    Only two things I can say:

    1. The MailPress widget loads the main jQuery library a second time:

    <script type='text/javascript' src='http://volleybal.vridos.nl/wp-includes/js/jquery/jquery.js'></script>

    2. Disable all the features in FancyBox that you do NOT use to decrease page load time and increase your site performance further :)

  15. RavanH
    Member
    Posted 7 months ago #

    About the MailPress widget issue: it's probably not worth the trouble trying to fix it yourself. You should report it to the plugin developer...

Reply

You must log in to post.

About this Plugin

About this Topic