I have this code:
<div id="teaser" style="display: none;"></div>

And this javascript code:
function teaserHide() {
        jQuery('#teaser').fadeOut(1000);
}

function teaserShow() {
        jQuery('#teaser').fadeIn(1000);
}

/**
 * Initialize page
 */
jQuery(document).ready(function() {
        //
        // Start update function
        jQuery('#teaser').PeriodicalUpdate({
                        url: '/framework/teaser',
                        delay: 10000,
                        delayed: false,
                        cbStart: function(jqElem) {
                                        teaserShow();
                                },
                        cbFinish: function(jqElem) {
                                        setTimeout(teaserHide, 4000);
                                }
                });
        });

Basicly what it does is it shows a teaser on my homepage (fading
graphics). All works fine, expect for the fading in and out. Either
the fadein works, or the fadeout works, but not both... Exactly
thesame code worked fine with pre 1.1.

I think it is something in the animate code.. The strange thing is; no
Javascript errors are thrown.

Reply via email to