2011-08-17 28 views

回答

0

它被添加作爲背景圖像... 您可以在這裏找到

http://www.syracusecoe.org/coe/SpryAssets/SpryMenuBarVertical.css

樣式在行175

繼承人的代碼,因爲它可能是很難找到線175在瀏覽器中。

/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */ 
ul.MenuBarVertical a.MenuBarItemSubmenuHover 
{ 
    background-image: url(../switchimages//wh_cross.gif); 
    background-repeat: no-repeat; 
    background-position: 95% 50%; 
} 

哦,那是一個使用javascript添加的類,它不是一個css:hover這樣做。

0

懸停狀態使用CSS添加背景圖像。

+0

-1不,它沒有。 – Kalessin

+0

該死的正確。 mouseover添加一個類。這個班有一個背景圖片。那麼你的解釋是什麼? –

+0

':hover'是一個CSS僞選擇器。 Mouseover是JavaScript事件,在這種情況下,它會添加一個包含背景圖像樣式的類。 – Kalessin