js调用:jQuery(".focusBox").slide( { mainCell:".bd ul",autoPlay:true, delayTime:0, trigger:"click"} );
- .focusBox{ width:275px; height:243px; overflow:hidden; position:relative; border:1px solid #ddd; }
- .focusBox .hd{ position:absolute; z-index:1; right:3px; bottom:34px; }
- .focusBox .hd ul{ overflow:hidden; zoom:1; float:left; }
- .focusBox .hd ul li{ float:left; margin-right:3px; width:14px; height:14px; line-height:14px; text-align:center; background:#ddd; cursor:pointer;
- font-family:Arial; color:#666;
- }
- .focusBox .hd ul li.on{ background:#f00; color:#fff; }
- .focusBox .bd{ position:relative; }
- .focusBox .bd .pic{ line-height:0px; }
- .focusBox .bd .pic img{ width:275px; height:215px;}
- .focusBox .bd .con{ height:28px; line-height:28px; text-align:center; font-weight:bold; background:#f6f6f6; }