jq,TAB
来源:互联网 发布:软件权限英文 编辑:程序博客网 时间:2024/04/30 15:27
<!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>jQuery Tabs By Await http://leotheme.cn/</title>
<style>
* { margin:0 auto; padding:0; font-family:"宋体",Arial, Helvetica, sans-serif; font-size:12px; }
ul { list-style: none;}
p {width: 450px; border:1px solid #88AAD6; padding: 5px 10px; text-align: right;}
.tabbox{ position: relative; width:450px; height: 140px; margin:0 auto; border:1px solid #88AAD6; margin-top: 100px; padding: 10px;}
.tabnavi { position: relative; left: 0; top: 0; z-index: 999; float: left;}
.tabnavi li{ width:80px; height:24px; font-weight:bold; line-height: 24px; margin: 10px 0; border:1px solid #88AAD6; background:#eeeeff; color:#999; text-align:center;}
.tabnavi li.current{ background:#fff; border-right: 1px solid #fff; color:#290052; }
.tabContent{ position: relative; z-index: 99;float:left; margin-left: -1px; border:1px solid #88AAD6; padding:10px; width:347px; height:120px; }
.clear {clear: both;}
</style>
<script type="text/javascript" src="http://leotheme.cn/wp-includes/js/jquery/jquery.js"></script>
<script>
$(function(){
$(".tabContent div:not(:first)").hide();
$(".tabnavi li").each(function(index){
$(this).click(
function(){
$(".tabnavi li.current").removeClass("current");
$(this).addClass("current");
$(".tabContent > div:visible").hide();
$(".tabContent div:eq(" + index + ")").show();
})
})
})
</script>
</head>
<body>
<div class="tabbox">
<ul class="tabnavi">
<li class="current">首页</li>
<li>关于</li>
<li>相册</li>
</ul>
<div class="tabContent">
<div>http://leotheme.cn/</div>
<div>http://leotheme.cn/about</div>
<div>http://leotheme.cn/photo</div>
</div>
<div class="clear"></div>
</div>
<p>By Await 2009:06:11</p>
</body>
</html>
- jq,TAB
- JQ 监控Tab 按键
- jq的tab切换
- jq tab切换
- jQ改建回车改为Tab
- jq tab选项卡切换
- JQ tab 切换-局部刷新(关于index)
- jq实现简单的tab切换效果
- 制作tab中遇到的jq问题
- jq实现的tab小demo
- js,jq,css多方面实现简易Tab切换
- jQ
- jQ
- jq
- jq
- JQ
- jq
- jQ
- 让IE7、IE8正常访问TD
- 《图论及其应用》课程建设探索『徐俊明』
- 详解Android源码的编译
- 开发自己的带参数的jQuery插件
- 一个漂泊在外的应届毕业生写给农民工父亲的忏悔信
- jq,TAB
- 用批处理的形式建库建表
- 让下拉列表select可编辑的简便方法 2
- SQL 语句优化(个人摘录)
- 定期删除备份的SQL数据库的脚本
- DateTimePicker的使用
- json介绍
- WinCE.NET中设置系统日期时间
- Spring变化