如何用DIV+CSS構(gòu)建內(nèi)嵌頁(yè)面隨按鈕變化
如何用DIV+CSS構(gòu)建內(nèi)嵌頁(yè)面隨按鈕變化
CSS代碼:
.PartL {BACKGROUND: url() #ffd77b repeat-y; OVERFLOW: hidden;}.TabADS {OVERFLOW: hidden; WIDTH: 800px;}.TabADS UL {CLEAR: both; OVERFLOW: hidden; WIDTH: 800px; HEIGHT: 24px;}.TabADS LI {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: url(images/center1.jpg) #e4e4e4 no-repeat right 50%; FLOAT: left; PADDING-BOTTOM: 0px; WIDTH: 60px; CURSOR: pointer; COLOR: #333; PADDING-TOP: 6px; HEIGHT: 18px; TEXT-ALIGN: center}.TabADS .TasADSOn {FONT-WEIGHT: bold; BACKGROUND: url(images/center.jpg) #ffe4a6 no-repeat right 50%; CURSOR: pointer; COLOR: #333; TEXT-ALIGN: center}.TabADSCon {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px}.TabADSCon LI {LINE-HEIGHT: px; TEXT-ALIGN: left;OVERFLOW: hidden;}
HTML代碼:
function Show_TabADSMenu(tabadid_num,tabadnum){for(var i=0;i