js+css设计个性明了箭头示意图导航

2个月前 (03-07 11:05)阅读49回复0
大陆
大陆
  • 管理员
  • 发消息
  • 注册排名1
  • 经验值4189
  • 级别管理员
  • 主题837
  • 回复2
楼主

js+css设计的箭头示意图,用户点击后背景颜色加亮显示,简洁精美的箭头示意图指向效果。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<head>
<meta http-equiv="content-type" content="text/html;charset=gb2312">
<meta name="keywords" content="武鸣人网站,武鸣信息网,武鸣本地网,武鸣信息资源平台,减肥,健身,励志,励志语录,js特效,网页特效,www.wuming.ren">
<meta name="description" content="欢迎来到武鸣人信息资源平台,各种信息免费发布,资源共享合作共赢,分享互联网流行的励志语录经典短句,减肥健身健康小常识及打卡记录,收集各种js特效代码。">
<title>js+css设计个性明了箭头示意图导航_武鸣人</title>
<style type="text/css">
.wuming_ren_box{background:#f1f7e4;height:55px;overflow:hidden;border-top:1px solid #FFF;}
.two_www_wuming_ren{float:left;height:55px;line-height:55px;padding:0 25px 0 45px;cursor:pointer;position:relative;font-size:14px;font-weight:bold;}
.num_wuming{width:19px;height:19px;line-height:19px;position:absolute;text-align:center;top:18px;left:20px;font-size:16px;font-weight:bold;background:url(/img/20240307_www_wuming_ren_2.png);color:#156600;}
.on_www_wuming_ren{background:#27a806;color:#FFF;}
.on_www_wuming_ren .left_www_wuming_ren{width:8px;height:55px;background:url(/img/20240307_www_wuming_ren_3.jpg) left top no-repeat;position:absolute;left:0;top:0;}
.on_www_wuming_ren .www_wuming_ren_right{width:8px;height:55px;background:url(/img/20240307_www_wuming_ren_3.jpg) left bottom no-repeat; position:absolute;right:-8px;top:0;}
</style>
</head>
<body>
<a href="https://www.wuming.ren">武鸣人</a>,各种信息资源免费发布,分享励志语录经典短句,减肥健身常识,各种js特效代码。网站很好记住,wuming.ren(武鸣拼音.ren域名后缀)<hr>
<!--欢迎来到武鸣人信息资源平台,各种信息免费发布,资源共享合作共赢,分享互联网流行的励志语录经典短句,减肥健身健康小常识及打卡记录,收集各种js特效代码。-->
<script type="text/javascript" src="https://www.wuming.ren/ad/tc.js"></script>
<script type="text/javascript" src="https://www.wuming.ren/ad/a.js"></script>
<div class="help_wrap">
  <div class="wuming_ren_box fa">
    <div onclick="javascript:go_fa_step(1)" id="fa_1" class="two_www_wuming_ren on_www_wuming_ren">
      <div class="num_wuming">1</div>
      第一次来到武鸣人
      <div class="www_wuming_ren_right"></div>
    </div>
    <div onclick="javascript:go_fa_step(2)" id="fa_2" class="two_www_wuming_ren">
      <div class="left_www_wuming_ren"></div>
      <div class="num_wuming">2</div>
      第二次觉得不错
      <div class="www_wuming_ren_right"></div>
    </div>
    <div onclick="javascript:go_fa_step(3)" id="fa_3" class="two_www_wuming_ren">
      <div class="left_www_wuming_ren"></div>
      <div class="num_wuming">3</div>
      第三次再来
      <div class="www_wuming_ren_right"></div>
    </div>
    <div onclick="javascript:go_fa_step(4)" id="fa_4" class="two_www_wuming_ren">
      <div class="left_www_wuming_ren"></div>
      <div class="num_wuming">4</div>
      第四次再来
      <div class="www_wuming_ren_right"></div>
    </div>
    <div onclick="javascript:go_fa_step(5)" id="fa_5" class="two_www_wuming_ren">
      <div class="left_www_wuming_ren"></div>
      <div class="num_wuming">5</div>
      噢耶,真的不错!收藏了
      </div>
    </div>
  </div>
</div>
<script language="javascript">
function go_fa_step(id){
for (i=1;i<6;i++){
document.getElementById("fa_"+i).className='two_www_wuming_ren';
}
document.getElementById("fa_"+id).className+=" on_www_wuming_ren"
}//武鸣人网站https://www.wuming.ren 网站很好记住,wuming.ren(武鸣拼音.ren域名后缀)
</script>
</body>
</html>


0
0
收藏0
回帖

js+css设计个性明了箭头示意图导航 期待您的回复!

取消
载入表情清单……
载入颜色清单……
插入网络图片

取消确定

图片上传中
编辑器信息
提示信息