12

My <marquee> tag is working perfectly in ie6 and ie7, but in ie8 it only shows first item.

How can I fix this?

Thanks in advance.


Scripting language for trading strategy development

I'm currently working on a component of a trading product that will allow a quant or strategy developer to write their own custom strategies. I obviously can't have them write these strategies in natively compiled languages (or even a language that compiles to a bytecode to run on a vm) since their dev/test cycles have to be on the order of minutes.

I've looked at lua, python, ruby so far and really enjoyed all of them so far, but still found them a little "low level" for my target users. Would I need to somehow write my own parser + interpreter to support a language with a minimum of support for looping, simple arithmatic, logical expression evaluation, or is there another recommendation any of you may have? Thanks in advance.

4

5 に答える 5

15

マーキー要素は非推奨です。W3C は、代替として<em>and<strong>を使用することを推奨しています。マーキーの動作を模倣する必要がある場合、JavaScript にはそれを行うためのツールがあります。 このディスカッションには、実際に動作する JavaScript の例があります。

于 2010-02-19T16:42:11.183 に答える
13

これをリンクするのは大変ですが、http: //remysharp.com/demo/marquee.html

ブラウザー間で動作する jquery ベースのマーキー。

于 2010-02-19T16:41:01.287 に答える
4

私が要素とそのユースケースの大部分を嫌うのと同じくらい、 CSS3はそれを取り戻したようです:

于 2010-02-19T17:05:25.293 に答える
3

私が理解していることから、マーキーは非推奨であり、IE8 は、Microsoft がそのタグのサポートを完全に除外することを決定した IE のバージョンである可能性があります。動作させる方法を見つけたとしても、別の方法を使用してテキストをスクロールすることをお勧めします (それが必要な場合)。IE の場合、次のバージョンでも同じ問題が発生する可能性があります。

編集: Javaスクリプトを試すことができます...簡単な検索の後、コードを生成するように見えるこのサイトを見つけました。また、JavaScript であるため、Firefox や Chrome などでも動作するはずです。 http://rumkin.com/tools/marquee/

于 2010-02-19T16:39:17.013 に答える
0

スクローラーのメカニズムはWeb2.0より前のものだと実感しています。クライアントがそれを望んでいる場合は、多くのオプションがないかもしれませんが、私は実際に何らかのデモを行って、より良い方法があり、正しく実装されていればサイトが不安定にならないことを強調します。

多くのクライアントが慎重であることは知っていますが、私の経験では、安定しているか、さらに安定していて、低コスト(時間とお金)でより良い代替案を提示できれば、彼らは新しい方法をより頻繁に受け入れることをいとわないでしょう。

于 2010-06-14T08:25:51.230 に答える