Hast es mal in allen Browsern getestet? Marquee zickt oft und wenn ich jetzt mal deinen Codeschnippel bei googel eingebe komme ich zu:
http://www.trap17.com/index.php/marquee_t10083.html1. You can make the marquee stop when the mouse is over it with a little JavaScript action:
$this->bbcode_second_pass_code('', '<marquee direction="up" scrolldelay=32 scrollamount=1 onMouseOver=this.stop() onMouseOut=this.start()>
This will stop when the mouse is over the marquee, and it will resume when mouse is not over marquee
</marquee>')
2. That code will not work in Mozilla Firefox, so it's pretty much useless (no offense to you) because nobody that I know use Firefox anymore. smile.gif
Ich habs dann mal in meinem Tagebuch getestet mit diesem Codestück:
$this->bbcode_second_pass_code('', '<marquee direction="up" scrolldelay=32 scrollamount=1 onMouseOver=this.stop() onMouseOut=this.start()>
This will stop when the mouse is over the marquee, and it will resume when mouse is not over marquee
</marquee>')
und habe die Erlaubnis+Verbotsstruktur so geändert:
$this->bbcode_second_pass_code('', '/**
* Allow these tags in Silienta sind bestimmte html codes zum einfügen von Bildern und Absätze per Entertaste erlaubt
*/
$allowedTags='<br><b><h1><h2><h3><h4><i><hr>' .
'<img><li><ol><p><strong><table>' .
'<tr><td><th><u><ul><div><span><center><font><size><p><img><marquee>';
/**
* Disallow these attributes/prefix within a tag (Sicherheitsfix um ausführbare Javascripte zu unterbinden)
*/
$stripAttrib = 'javascript:|onclick|ondblclick|onmousedown|onmouseup|'.
'onmousemove|onkeypress|onkeydown|onkeyup|onabort|'.
'onfocus|onload|onblur|onchange|onerror|onreset|onselect|obsubmit|onunload|style';')
und bei mir funktioniert es im Firefox 3.5.5. einwandfrei.. daher kann ich dir nicht wirklich sagen, wieso es bei dir nicht funktioniert hat