0

Firefoxが私のページに適用するアウトラインフォーカスを削除する方法を探しています:http: //www.bevelite.com.au/test

以下を適用するとこれが修正されることを読みましたが、私のコードには適用できないようです:

sIFR.replace(movie, {fixFocus: true});

私のコード:

sIFR.replace(univers47cl, {
selector: 'h1.test',
wmode: 'transparent',
css: [
    '.sIFR-root { font-size: 20px; font-weight: 100; color: #000000; text-transform: uppercase; line-height: 20px; margin: 0 0 15px 0; padding: 0; }',
    'a { text-decoration: none; }',
    'a:link { color: #000000; text-decoration: none; }',
    'a:hover { color: #000000; text-decoration: underline; }',
]
});

sIFR.replace(univers47cl, {
selector: 'h1',
wmode: 'transparent',
css: [
    '.sIFR-root { font-size: 20px; font-weight: 100; color: #00b9f2; text-transform: uppercase; line-height: 20px; margin: 0 0 15px 0; padding: 0; }',
    'a { text-decoration: none; }',
    'a:link { color: #00b9f2; text-decoration: none; }',
    'a:hover { color: #00b9f2; text-decoration: underline; }',
]
});

誰かが私がこれを私のコードに適用できる場所を見ることができますか?

(sIRFドキュメントはこちら> http://wiki.novemberborn.net/sifr3/

4

4 に答える 4

0

このfixFocusオプションは、Flashムービーに実際に焦点を当てることと関係があります。object { outline: 0; }Firefoxが何らかの理由で表示し始めたフォーカスボーダーを取り除くために追加する必要があると思います。

于 2009-03-27T20:56:40.633 に答える
0

Firefox 3.5で私のために働いた唯一のこと:

.sIFR-flash:focus{outline: none;}

他のブラウザ(私は最新のOpera、Chromium、IEをテストしました)にはその問題はないようです。リンク要素ではなく、Flashオブジェクトに関連しています。

于 2009-07-01T22:33:20.740 に答える
0

上記のMathew Taylorの答えはおそらくより正確ですが、あなたの質問はそのスニペットをどこに置くかです. IE で取得する

sIFR.replace(univers47cl, {
    selector: 'h1.test',
    wmode: 'transparent',
    fixFocus: true,
    css: [
            '.sIFR-root { font-size: 20px; font-weight: 100; color: #000000; text-transform: uppercase; line-height: 20px; margin: 0 0 15px 0; padding: 0; }',
            'a { text-decoration: none; }',
            'a:link { color: #000000; text-decoration: none; }',
            'a:hover { color: #000000; text-decoration: underline; }'
    ]
    });

sIFR.replace(univers47cl, {
    selector: 'h1',
    wmode: 'transparent',
    fixFocus: true,
    css: [
            '.sIFR-root { font-size: 20px; font-weight: 100; color: #00b9f2; text-transform: uppercase; line-height: 20px; margin: 0 0 15px 0; padding: 0; }',
            'a { text-decoration: none; }',
            'a:link { color: #00b9f2; text-decoration: none; }',
            'a:hover { color: #00b9f2; text-decoration: underline; }'
    ]
    });
于 2009-03-27T06:41:43.903 に答える
0

アクティブなリンクの点線のアウトラインを参照している場合は、次のように削除できます。

a {
   outline:0;
}
于 2009-03-27T05:27:43.580 に答える