We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2396
    • 101 Posts
    Has anyone had a problem with AjaxSeaech interfering (stopping) any other javascript functions?

    Specifically, it seems to have stopped a jQuery image fader from working - can’t figure out why.

    The image fader is CycleLight. http://malsup.com/jquery/cycle/lite/

    Thanks.
      • 5811
      • 1,717 Posts
      Do you use AjaxSearch with the ajax mode (default mode) or with the non-ajax mode (ajaxSearch=0) ?

      And with the ajaxSearch mode do you use the jquery mode or the mootools default mode ?
        • 23299
        • 1,161 Posts
        This answer might raise more questions than a solution?

          • 5811
          • 1,717 Posts
          @Photowebmax
          This answer might raise more questions than a solution?
          You are right, but without information (ajax mode used, js library used) Nobody can’t give a correct answer. Unfortunately conflicts between js library are possible. This point has been corrected for jquery with the next release 1.9.0

          @atype, do you get any js error under firebug with firefox ?
            • 23299
            • 1,161 Posts
            Got it.

            After reading that yesterday I added a tiny image cycle jquery script to the home page of a project I am working on. It would not work with AS on the same page. The usual conflicting scripts issue. I found your page herehttp://modx.wangba.fr/index.php?id=281 and with two mouse clicks the problem went away. Very Nice!!!!!!!!!!
              • 2396
              • 101 Posts
              Hi Coroico

              Sorry for the delay embarrassed (been holidaying).

              Hmm, the problem seems to have fixed itself.

              I had started with it on ajax mode but changed it for another reason (to have more space for results) - maybe this is why it’s now working (At least I am guessing this is what corrected it..?).

              Also no, I didn’t see any error in Firebug at the time.

              Oh well its all good now - your help is much appreciated. Thanks!