跳到主要内容
CNode

焦点图打开后,显示空白,大概2秒左右,恢复正常

社区
Kkoichid发布于 13 年前最后回复 13 年前
124570

情况如题,下面请看JS,后面会跟HTML以及CSS,同时调用了jquery库

// JS开始

// //

//
//
    //
  • 文章图片
  • //
  • 文章图片
  • //
  • 文章图片
  • //
  • 文章图片
  • //
//
//

* {margin:0; padding:0;} body {font-size:12px; color:#222; font-family:Verdana,Arial,Helvetica,sans-serif; background:#f0f0f0;} .clearfix:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;} .clearfix {zoom:1;} ul,li {list-style:none;} img {border:0;} .wrapper {width:600px; margin:0 auto; padding-bottom:50px;} .wrapper {width:780px;} /* tmall flash */ .flash {width:300px; height:200px; overflow:hidden; position:relative;} .flash ul {height:200px; position:absolute;} .flash ul li {float:left; width:300px; height:200px; overflow:hidden; position:relative; background:#000;} .flash ul li div {position:absolute; overflow:hidden;} .flash .btnBg {position:absolute; width:300px; height:20px; left:0; bottom:0; background:#000;} .flash .btn {position:absolute; width:290px; height:20px; left:0; bottom:0; padding-left:10px;} .flash .btn span {display:inline-block; _display:inline; _zoom:1; width:18px; height:18px; line-height:18px; text-align:center; font-size:14px; font-family:"Microsoft YaHei",SimHei; margin-right:10px; cursor:pointer; color:#fff;} .flash .btn span.on {background:#000; color:#fcc;}
查看回复

回复 (1)

K
koichid#113 年前

html代码无法显示,抱歉

参与回复

登录后即可参与回复。登录