2009-10-09 60 views
0

我試圖在truetype中使用sIFR3獲取鏈接。它適用於所有普通的< h1>和< h2>項目,但不適用於< h2>內的鏈接。 sIFR正確地取代了<a,但結果是不可見的。當我點擊文本應該在的區域時,就會看到鏈接。即使使用指針遊標。但我的文字在哪裏?sIFR鏈接不可見

代用品:

sIFR.replace(vagroundbtf, { 
    selector: '#summary_normalx h2' 
    , css: [ 
     '.sIFR-root { color:#000000; font-weight : bold;} a {color:#333333; text-decoration: none;} ' 
     ] 
    ,wmode: 'transparent' 
    }); 

HTML - 摘錄:

<div id="summary_normal"> 
    <div id="article_92" class="entry clearing"> 
    <div id="summary_normalx"> 
    <h2> 
    <a href="some/link" id="show_article_92" title="Show">This is the title</a> 
    </h2> 
    : 

BTW:當我刪除了CSS的條款,鏈接在正確的字體,但在默認的外觀是可見的(藍色下劃線)。

任何想法?

羅埃爾

回答

0

試試這個:

sIFR.replace(vagroundbtf, { 
    selector: '#summary_normalx h2' 
    , css: [ 
     '.sIFR-root { color:#000000; font-weight : bold;}', 
     'a {color:#333333; text-decoration: none;}' 
     ] 
    ,wmode: 'transparent' 
    }); 

BTW。我現在更喜歡CufónsIFR