纯JS焦点图特效实例(可一个页面多用)
网络编程 2021-07-04 19:19www.168986.cn编程入门
狼蚁网站SEO优化长沙网络推广就为大家带来一篇纯JS焦点图特效实例(可一个页面多用)。长沙网络推广觉得挺不错的,现在就分享给大家,也给大家做个参考。一起跟随长沙网络推广过来看看吧
实例如下
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://.w3./TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://.w3./1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>JS网页特效-无特效图片焦点图特效(可一个页面多用)</title> <style type="text/css"> { padding:0; margin:0; font-size:12px; } ul, li { list-style: none; } .indexFocus{border:1px solid #CCC; padding:2px;width:419px;height:185px; margin:0 auto;} .indexFocus .focusBox{width:419px;height:185px;position:relative;margin:0 auto;position:relative} .indexFocus .focusBox .bigPic{width:419px;height:185px;overflow:hidden;position:relative} .indexFocus .focusBox .bigPic li{width:419px;height:185px} .indexFocus .focusBox .bigPic img{width:419px;height:185px} .indexFocus .focusBox .btn{height:16px;position:absolute;right:8px;bottom:4px;z-index:11} .indexFocus .focusBox .btn ul li{width:15px;height:15px;line-height:15px;margin-right:2px;display:block;background:#fff;float:left;text-align:center;cursor:pointer} .indexFocus .focusBox .btn .sel{width:15px;height:15px;background:#B90101;color:#fff} .indexFocus .focusBox .picText_bg{width:100%;height:26px;position:absolute;left:0;bottom:0;background:#000;filter:alpha(opacity=50); /IE/-moz-opacity:0.5; /MOZ , FF/opacity:0.5;/CSS3, FF1.5
编程语言
- 宿迁百度关键词排名指南:实现精准营销的关键
- 四川SEO优化怎么做网络推广
- 立昂技术备案老域名收购:如何为您的业务赋能
- 安徽百度关键词seo贵不贵,一般需要多少钱
- 吉林百度快照排名怎么做电话营销
- 多伦新手做SEO怎么做
- 甘肃优化关键词排名推广怎么做论坛营销
- 沙雅SEO网站推广:提升您的在线可见性
- 四川SEO优化如何提升销售额和销售量
- 聂荣网站排名优化:提升网站可见性的全方位指
- 涞水SEO:提升地方企业在线可见性的策略
- 辽宁百度seo排名怎样做网站排名
- 临湘哪有关键词排名优化:提升网站可见度的关
- 黑龙江百度网站优化有没有优惠
- 凉城优化关键词排名推广:提升您的网络可见性
- 萝北整站优化:提升您网站流量和排名的全面指