Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • sadesh Friend
    #145786

    I am using Mootools in my JA_Nickel based site. Originally, the site was hosted with Dreamhost. No issues with mootools. Now, when the site is moved to a private server running Centos, sometimes the accordion menu works and sometimes, it didn’t.

    Same applies for Lightbox…Often, lightbox works in Safari, not in Firefox.:confused:

    Link to the page with mootools:

    **

    Also, my index.php has

    [PHP]<?php JHTML::_(‘behavior.mootools’); ?>[/PHP]

    No idea where is the problem. Any help here is highly appreciated. 🙂

    Anonymous Moderator
    #322715

    Hi sadesh

    I have checked your website and saw that there is an error in yoo_effects plugin


    $(C).addEvent is not a function
    http://www.irhcanada.com/plugins/system/yoo_effects/yoo_effects.js.php?lb=1&re=1&sl=1
    Line 3

    sadesh Friend
    #322780

    <em>@JA Developer 151745 wrote:</em><blockquote>Hi sadesh

    I have checked your website and saw that there is an error in yoo_effects plugin


    $(C).addEvent is not a function
    http://www.irhcanada.com/plugins/system/yoo_effects/yoo_effects.js.php?lb=1&re=1&sl=1
    Line 3

    </blockquote>

    Thank you JA developer. I haven’t changed a thing in that file after moving the site to a private server. But, here is code of the js.php file,

    <?php

    if (extension_loaded('zlib') && !ini_get('zlib.output_compression')) @ob_start('ob_gzhandler');
    header('Content-type: application/x-javascript');
    header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT');

    define('DS', DIRECTORY_SEPARATOR);
    define('PATH_ROOT', dirname(__FILE__) . DS);

    /* lightbox */
    if (isset($_GET['lb']) && $_GET['lb'] == 1) include(PATH_ROOT . 'lightbox/shadowbox_packed.js');

    /* reflection */
    if (isset($_GET['re']) && $_GET['re'] == 1) include(PATH_ROOT . 'reflection/reflection_packed.js');

    /* spotlight */
    if (isset($_GET['sl']) && $_GET['sl'] == 1) include(PATH_ROOT . 'spotlight/spotlight_packed.js');

    ?>

    what i need to change here? Also, my Yoo_accordion in the following page is not working very often (sometimes it work:confused:).
    **

    thank you for the effort.

    sadesh Friend
    #323111

    Found the solution..Mootools had conflict with Wibiya toolbar :confused:

    Any ideas to resolve this? thanks 🙂

    sadesh Friend
    #323114

    <em>@sadesh 152253 wrote:</em><blockquote>Found the solution..Mootools had conflict with Wibiya toolbar :confused:

    Any ideas to resolve this? thanks :-)</blockquote>

    Found the solution 🙂

    Add the following script next line to Wibiya script

    <script type="text/javascript">jQuery.noConflict();</script>

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  sadesh 14 years, 12 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum