Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

it bugs with lighbox2.04
  • Hello anybody,

    I just experience a small issue.
    I would like to use lightbox2.04
    http://www.huddletogether.com/projects/lightbox2/

    I have to add this

    <script type=\"text/javascript\" src=\"include/js/reload_captcha.js\"></script>
    <script type=\"text/javascript\" src=\"include/js/valid_form.js\"></script>
    <!-- Uploadify -->
    <script type=\"text/javascript\" src=\"jquery_uploadify/jquery-1.3.2.min.js\"></script>
    <script type=\"text/javascript\" src=\"jquery_uploadify/jquery.uploadify_source.js\"></script>
    <!-- Lightbox -->
    <script type=\"text/javascript\" src=\"include/js/lightbox2_04/prototype.js\"></script>
    <script type=\"text/javascript\" src=\"include/js/lightbox2_04/scriptaculous.js?load=effects,builder\"></script>
    <script type=\"text/javascript\" src=\"include/js/lightbox2_04/lightbox.js\"></script>
    </head>

    But after I added the lightbox javascript link my uploadify does not work any more and in the Firefox error console I can read :
    Errot: $(document).ready is not a function..


    If I remove my lightbox javascript code (or link) it work again.

    Do you have an idea why ?

    Many thank
  • It's not lightbox it's bugging out with but prototype. Still that doesn't help you. Do one of two things. Either search the forums for noConflict and use that version of uploadify someone has put together. Or just do a find and replace in uploadify.js to change every $ reference to jQuery