I'm very knew to using jQuery, so I don't know if this something I'm doing wrong, or if this a bug or a compatibility issue.

I'm using Drupal 5.12 and on a test page I have the the following code:

  drupal_add_js (
    '$(document).ready(function(){$("p.jtest").fadeIn(6000);});',
    'inline');

Before installing jQuery Update, the fade in worked just fine. But after installing, the fade does not work.
I replaced all the .js files in the misc directory with the .js files from this module as instructed.

Ultimately, I'm trying to install the Node Carousel module which depends on jQuery Update through jCarousel module.

The funny thing is that the Node Carousel module does work (except the circular setting) when I have installed jQuery Update, but then fadeIn effects do not. Without jQuery Update installed, fadeIn works but I get errors saying there is an endless loop from the block containing Node Carousel.

Any help and direction you can provide me would be GREATLY Appreciated!

Thanks in advance,
Steve

Comments

wickwood’s picture

By the way, when I have jQuery Update installed, the Status Report page says jQuery Update is Installed correctly and
the current installed version of jQuery is 1.2.6.

I suspect this is compatibility issue, but I have found nothing saying fadeIn is deprecated in jQuery is 1.2.6 and I assume the compat.js file should take care of this if it is a compatibility issue.

Thanks again for your help.

Steve

wickwood’s picture

Apparently the only time I have this problem with fadeIn is when I try to use the above code inline.

By linking to a js script, I can get fadeIn to work with the jQuery Update installed.

Weird. It's probably something I'm doing or not doing with the inline code, but I've yet to figure out what the heck it might be.

Steve

marktheshark’s picture

I'd like to note that the only way that I managed to get this working was by setting the 'display' attribute to 'none' in the CSS of the element to be faded in.

For some reason I haven't seen it being stated as a necessary setting, not even in the Drupal fadeIn test example page.

heddn’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Marking this as won't fixed. 5.x is no longer supported/maintained. If this is still an issue in 7.x, then please re-open.