阿里导航条实现方法!
2015-01-20 16:49
113 查看
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>无标题文档</title>
<style type="text/css">
<!--
.lw_3w {
PADDING-LEFT: 2px;
BACKGROUND: url(http://img.china.alibaba.com/images/cn/home/070827/nor.gif) no-repeat;
WIDTH: 53px;
font-size: 12px;
padding-top: 10px;
height: 50px;
}
ul {
list-style-type: none;
}
li {
float: left;
margin-left: 2px;
height: 25px;
padding-top: 6px;
padding-left: 5px;
padding-right: 2px;
}
.lw_3w:link {
BACKGROUND: url(http://img.china.alibaba.com/images/cn/home/070827/nor.gif) no-repeat;
color: #000000;
text-decoration: none;
padding: 10px;
}
.lw_3w:hover {
BACKGROUND: url(http://img.china.alibaba.com/images/cn/home/070827/hov.gif) no-repeat;
color: #000000;
}
.lw_v_3w {
BACKGROUND: url(http://img.china.alibaba.com/images/cn/home/070827/sml/dangqian.gif) no-repeat; WIDTH: 46px
}
-->
</style>
<script language="javascript">
function sr_topul_ini(){
var n = document.getElementById("sr_n").value
var c = document.getElementById("tl_"+n).className
document.getElementById("tl_"+n).className = "lw_v_3w"
}
</script>
</head>
<body>
<ul><INPUT id=sr_n type=hidden value=3>
<li><A class=lw_3w id=tl_1 href="http://china.alibaba.com/" target=_self>找产品</A> </li>
<li><A class=lw_3w id=tl_2 href="http://china.alibaba.com/" target=_self>找公司</A></li>
<li><A class=lw_3w id=tl_3 href="http://china.alibaba.com/" target=_self>找加工</A></li>
</ul>
<SCRIPT type=text/javascript>
sr_topul_ini()
</SCRIPT>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>无标题文档</title>
<style type="text/css">
<!--
.lw_3w {
PADDING-LEFT: 2px;
BACKGROUND: url(http://img.china.alibaba.com/images/cn/home/070827/nor.gif) no-repeat;
WIDTH: 53px;
font-size: 12px;
padding-top: 10px;
height: 50px;
}
ul {
list-style-type: none;
}
li {
float: left;
margin-left: 2px;
height: 25px;
padding-top: 6px;
padding-left: 5px;
padding-right: 2px;
}
.lw_3w:link {
BACKGROUND: url(http://img.china.alibaba.com/images/cn/home/070827/nor.gif) no-repeat;
color: #000000;
text-decoration: none;
padding: 10px;
}
.lw_3w:hover {
BACKGROUND: url(http://img.china.alibaba.com/images/cn/home/070827/hov.gif) no-repeat;
color: #000000;
}
.lw_v_3w {
BACKGROUND: url(http://img.china.alibaba.com/images/cn/home/070827/sml/dangqian.gif) no-repeat; WIDTH: 46px
}
-->
</style>
<script language="javascript">
function sr_topul_ini(){
var n = document.getElementById("sr_n").value
var c = document.getElementById("tl_"+n).className
document.getElementById("tl_"+n).className = "lw_v_3w"
}
</script>
</head>
<body>
<ul><INPUT id=sr_n type=hidden value=3>
<li><A class=lw_3w id=tl_1 href="http://china.alibaba.com/" target=_self>找产品</A> </li>
<li><A class=lw_3w id=tl_2 href="http://china.alibaba.com/" target=_self>找公司</A></li>
<li><A class=lw_3w id=tl_3 href="http://china.alibaba.com/" target=_self>找加工</A></li>
</ul>
<SCRIPT type=text/javascript>
sr_topul_ini()
</SCRIPT>
</body>
</html>
相关文章推荐
- Html+css、javascript和JQuery三种方法实现导航条下拉菜单的炫酷效果
- jQuery实现智能判断固定导航条或侧边栏的方法
- 织梦DedeCMS v5.7 完美实现导航条下拉菜单的方法
- iOS 隐藏导航条和状态栏实现方法
- CSS实现导航条Tab切换的三种方法
- CSS实现导航条Tab切换的三种方法
- 基于JS实现导航条之调用网页助手小精灵的方法
- CSS实现导航条Tab切换的三种方法
- 阿里大于 发短信 方法 Spring boot 实现
- thinkPHP3.2.3实现阿里大于短信验证的方法
- position:sticky介绍 页面滚动导航条始终在最顶部的实现方法
- CSS实现导航条Tab切换的三种方法
- CSS实现导航条Tab切换的三种方法
- CSS实现导航条Tab切换的三种方法
- ASP通过XMLDom在服务器端操作XML文件的主要方法和实现。
- 关于VC++中,两种自定义消息的发送与接收的方法实现进行说明。
- 在WEB项目中多维下拉菜单的实现技巧和方法
- 进程间的通讯实现(IPC)的11种方法
- 简单的在线升级的实现方法
- 重定义键盘的两种实现方法