Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Sir Osis of Liver on July 21, 2022, 07:24:13 PM

Title: Newsfader glitch
Post by: Sir Osis of Liver on July 21, 2022, 07:24:13 PM
When board index initially loads, first item in newsfader fades quicker than fading delay setting.  All items fade correctly after that.  Any way to fix it?
Title: Re: Newsfader glitch
Post by: Arantor on July 21, 2022, 07:25:37 PM
Apart from rewriting the newsfader that was originally written 18 years ago, doubt it.
Title: Re: Newsfader glitch
Post by: Sir Osis of Liver on July 21, 2022, 07:34:05 PM
Know what causes it?
Title: Re: Newsfader glitch
Post by: Arantor on July 21, 2022, 07:47:35 PM
I'd speculate that the timer that runs it starts counting too early so that it does trigger at the correct interval (default 5 seconds) but that everything else hasn't quite loaded so it glitches such that it has whatever's left out of the 5 seconds before moving on.

If that's what it is, complete rewrite required to change how it triggers, when it triggers and on what cycle.
Title: Re: Newsfader glitch
Post by: Sir Osis of Liver on July 21, 2022, 07:51:04 PM
Ok, thanks.  Maybe we'll just place a shorter item first.