March 19th, 2020 at 10:07 AM
(This post was last modified: March 19th, 2020 at 11:02 AM by tc4me.)
(March 19th, 2020 at 5:01 AM)tc4m4 Wrote: Thank you, I'll put that in, you'll find a final solution that works both together :-) Greets Tc
Hello, as it said, with slidedown on, the marquee doesn't work.
Unfortunately I can NOT programming, but I have now changed something in the template bam_announcement, the disadvantage, slide down on or off does not matter, disadvantage, every announcement is in Marquee. I know it's a very old script, but maybe it will help you. Greeds Tc
first I tried that
replaced the content of the bam_announcement
Code:
<p class="{$bam_unsticky} {$class}" id="announcement-{$bcprefix}{$announcement_id}">{$announcement} <span class="bam_date">{$date}<span class='close_bam_announcement {$display_close}'>x</span></p>
with this
Code:
<p class="{$bam_unsticky} {$class}" id="announcement-{$bcprefix}{$announcement_id}"><marquee behavior="scroll" direction="right" onmouseover="this.stop();" onmouseout="this.start();">{$announcement} <span class="bam_date">{$date}</span></marquee><span class='close_bam_announcement {$display_close}'>x</span></p>
that's how it worked, I then set the template back to the original code, and then I replaced your code with the one in mycode
Code:
Replacement: <marquee direction="left" scrollspeed="14">$1</marquee>
to
Code:
Replacement: <marquee behavior="scroll" direction="right" onmouseover="this.stop();" onmouseout="this.start();">$1</marquee>
if you now move your mouse over it, the marquee also starts with slidedown on :-)
i'm from Austria, sorry from my bad english, this is my school english, and that was a very, very long time ago