html :
<li onmouseover="this.className='li_hover'" onmouseout="this.className='li_out'">
css :
.scroll_img ul li.li_hover{ background:url(../images/index_img_bg_hover.jpg) no-repeat;}
/*------.scroll_img ul li.li_hover .img_til{color:#ff7701;cursor:pointer;}-----*/ .scroll_img ul li.li_out{ background:url(../images/index_img_bg.jpg) no-repeat;} |
|