Java House
Art is long
jquery css 選項卡,,,,,不知道怎么才能兼容ie6?
<!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=gb2312" />
<title>無標題文檔</title>
<script language="javascript" type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
<style type="text/css">
.tabBox
{
}
{
padding
:
0px
;
margin
:
5px 0px
;
border
:
1px solid #999
;
height
:
300px
;
}
.tabs
{
}
{
height
:
25px
;
background-color
:
#ccc
;
border-bottom
:
1px solid #999
;
}
.tabs ul
{
}
{
padding
:
0px
;
_padding
:
0px
;
margin
:
0px
;
_margin
:
0px
;
list-style-type
:
none
;
background-color
:
#ccc
;
height
:
25px
;
_height
:
26px
;
}
.tabs ul li
{
}
{
overflow
:
hidden
;
float
:
left
;
height
:
25px
;
_height
:
26px
;
margin
:
0px
;
_margin
:
0px
;
width
:
80px
;
list-style-type
:
none
;
border-right
:
1px solid #999
;
text-align
:
center
;
}
.active
{
}
{
background
:
#FFFFFF
;
border-bottom
:
1px solid #fff
;
_border-bottom
:
1px solid #fff
;
}
.vactive
{
}
{
background-color
:
#fff
;
border-right
:
1px solid #fff
;
_border_right
:
1px solid #fff
;
}
.normal
{
}
{
background-color
:
#eaeaea
;
}
.vnormal
{
}
{
background-color
:
#eaeaea
;
border-right
:
1px solid #999
;
}
.tabs ul li a
{
}
{
display
:
block
;
height
:
25px
;
width
:
100%
;
}
/**/
/*
.tabs ul li:hover,tabs ul li a:hover,tabs ul li a:visited{
background-color:#FFFFFF;
border-bottom:1px solid #fff;
_border-bottom:1px solid #fff;
}
.tabs ul a:active{
background-color:#FFFFFF;
border-bottom:1px solid #fff;
_border-bottom:1px solid #fff;
}
*/
.content
{
}
{
margin-top
:
0px
;
}
/**/
/*
display or nodisplay
*/
.displayCon
{
}
{
display
:
block
;
}
.hiddenCon
{
}
{
display
:
none
;
}
.vertabs
{
}
{
width
:
200px
;
float
:
left
;
height
:
100%
;
background-color
:
#CCCCCC
;
border-right
:
1px solid #999
;
}
.vertabs ul
{
}
{
list-style-type
:
none
;
width
:
200px
;
padding
:
0px
;
margin
:
0px
;
}
.vertabs ul li
{
}
{
list-style-type
:
none
;
width
:
200px
;
height
:
25px
;
text-align
:
center
;
border-bottom
:
1px solid #999
;
}
.vertabs ul li a
{
}
{
display
:
block
;
height
:
25px
;
vertical-align
:
middlel
;
}
.vercontent
{
}
{
width
:
auto
;
float
:
left
;
height
:
100%
;
padding
:
0px
;
margin
:
0px
;
}
</style>
<script language="javascript">
/**/
/*
$(function(){
$(".tabs ul li a").mouseover(function(){
$(this).addClass("active");
});
$(".tabs ul li a").mouseout(function(){
$(this).addClass("normal");
});
})
*/
$(function()
{
}
{
$(".titleli").mouseover(function(){
$(this).css({"background-color"
:
"#ffffff","border-bottom":"1px solid #fff"
}
);
$(this).siblings().css(
{
}
{
"background-color"
:
"#eaeaea","border-bottom":"1px solid #999"
}
);
var index=$(this).parent().find("li").index($(this));
/**/
/*
alert(index);
*/
//$(".content").children().eq(index).show().siblings().hide();
$(this).parent().parent().next().children().eq(index).show().siblings().hide();
return false;
});
$(".vtitleli").mouseover(function()
{
}
{
$(this).css({"background-color"
:
"#ffffff","border-right":"1px solid #fff"
}
);
$(this).siblings().css(
{
}
{
"background-color"
:
"#eaeaea","border-right":"1px solid #999"
}
);
var index=$(this).parent().find("li").index($(this));
/**/
/*
alert(index);
*/
//$(".content").children().eq(index).show().siblings().hide();
$(this).parent().parent().next().children().eq(index).show().siblings().hide();
return false;
});
})
</script>
</head>
<body>
<div class="tabBox">
<div class="tabs">
<ul>
<li class="titleli active"><a href="#">tab1</a></li>
<li class="titleli normal"><a href="#">tab2</a></li>
<li class="titleli normal "><a href="#">tab3</a></li>
<li class="titleli normal"><a href="#">tab4</a></li>
<li class="titleli normal"><a href="#">tab5</a></li>
</ul>
</div>
<div class="content">
<div class="displayCon">1111111111111111111111111111</div>
<div class="hiddenCon">22222222222222222222222222222</div>
<div class="hiddenCon">33333333333333333333333333333</div>
<div class="hiddenCon">44444444444444444444444444444</div>
<div class="hiddenCon">88888888888888888888888</div>
</div>
</div>
<div class="tabBox">
<div class="vertabs">
<ul>
<li class="vtitleli vactive "><a href="#">tab1</a></li>
<li class="vtitleli vnormal"><a href="#">tab2</a></li>
<li class="vtitleli vnormal "><a href="#">tab3</a></li>
<li class="vtitleli vnormal"><a href="#">tab4</a></li>
<li class="vtitleli vnormal"><a href="#">tab5</a></li>
</ul>
</div>
<div class="vercontent">
<div class="displayCon">1111111111111111111111111111</div>
<div class="hiddenCon">22222222222222222222222222222</div>
<div class="hiddenCon">33333333333333333333333333333</div>
<div class="hiddenCon">44444444444444444444444444444</div>
<div class="hiddenCon">88888888888888888888888</div>
</div>
</div>
</body>
</html>
發(fā)表于 2011-05-19 12:06
qin
閱讀(1207)
評論(0)
編輯
收藏
新用戶注冊
刷新評論列表
只有注冊用戶
登錄
后才能發(fā)表評論。
網(wǎng)站導航:
博客園
IT新聞
Chat2DB
C++博客
博問
管理
<
2011年5月
>
日
一
二
三
四
五
六
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
公告
學更多的知識,交更多的朋友
導航
BlogJava
首頁
發(fā)新隨筆
發(fā)新文章
聯(lián)系
聚合
管理
統(tǒng)計
隨筆: 66
文章: 3
評論: 167
引用: 0
常用鏈接
我的隨筆
我的文章
我的評論
我的參與
最新評論
留言簿
(8)
給我留言
查看公開留言
查看私人留言
隨筆分類
(37)
flex學習筆記(2)
(rss)
J2EE***學習歷程(11)
(rss)
J2SE學習筆記(5)
(rss)
SOA學習筆記(5)
(rss)
WEB相關技巧(3)
(rss)
五花八門(10)
(rss)
團 隊(1)
(rss)
情 感
(rss)
隨筆檔案
(66)
2013年6月 (2)
2012年2月 (1)
2011年11月 (1)
2011年9月 (2)
2011年8月 (2)
2011年7月 (1)
2011年6月 (9)
2011年5月 (4)
2009年8月 (1)
2009年7月 (1)
2009年3月 (1)
2008年11月 (2)
2008年10月 (6)
2008年9月 (8)
2008年8月 (9)
2008年7月 (16)
文章分類
(3)
亂七八糟(1)
(rss)
人生之旅
(rss)
原創(chuàng)之作(2)
(rss)
網(wǎng)絡抄襲
(rss)
積分與排名
積分 - 171486
排名 - 346
最新評論
1.?re: (spring+hibernate)java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
@帶著枷鎖起舞
我的前臺也一直報404,不知道什么問題
--伊利兵工廠
2.?re: css設置中文字體(font-family:"黑體")后樣式失效問題[未登錄]
zz
--zz
3.?求幫助啊
評論內(nèi)容較長,點擊標題查看
--clwman
4.?re: (spring+hibernate)java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
@clwman
這個不知道是什么jar包沖突了
--clwman
5.?求幫助啊
評論內(nèi)容較長,點擊標題查看
--clwman
閱讀排行榜
1.?(spring+hibernate)java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V(29669)
2.?css設置中文字體(font-family:"黑體")后樣式失效問題(19952)
3.?(flex)一個簡單的flex登陸實例(14514)
4.?啟動tomcat出現(xiàn):警告: Settings: Could not parse struts.locale setting, substituting default VM locale(10872)
5.?(ssh)一個簡單的struts,hibernate例子以及struts,hibernate集成(10848)
評論排行榜
1.?flex和java相結合準備工作和一個實例(38)
2.?(flex)一個簡單的flex登陸實例(30)
3.?(spring+hibernate)java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V(22)
4.?學習java基礎后總結出來的相關資料(20)
5.?Exception in thread "main" org.hibernate.PropertyNotFoundException錯誤(7)
Powered by:
博客園
模板提供:
滬江博客
Copyright ©2025 qin
主站蜘蛛池模板:
国产成人免费全部网站
|
成人无码区免费A∨直播
|
久久精品国产免费观看
|
国产精品久久久亚洲
|
国产高清对白在线观看免费91
|
国产午夜免费福利红片
|
MM1313亚洲国产精品
|
国产三级电影免费观看
|
国产亚洲蜜芽精品久久
|
亚洲AⅤ优女AV综合久久久
|
色妞www精品视频免费看
|
亚洲国产一区明星换脸
|
九九久久精品国产免费看小说
|
亚洲精品一级无码鲁丝片
|
国产精品免费看久久久香蕉
|
亚洲精品无码成人AAA片
|
免费观看91视频
|
亚洲图片激情小说
|
成人午夜免费福利
|
一级日本高清视频免费观看
|
无码中文在线二区免费
|
亚洲日本成本人观看
|
免费va人成视频网站全
|
精品国产污污免费网站入口在线
|
亚洲精品一品区二品区三品区
|
国产情侣久久久久aⅴ免费
|
亚洲毛片一级带毛片基地
|
女人与禽交视频免费看
|
国产亚洲美女精品久久
|
亚洲成A人片在线观看无码不卡
|
91在线手机精品免费观看
|
久久亚洲精品国产精品婷婷
|
亚洲国产精品尤物yw在线
|
久久成人a毛片免费观看网站
|
亚洲av乱码一区二区三区香蕉
|
免费一级e一片在线播放
|
免费精品99久久国产综合精品
|
亚洲a∨无码男人的天堂
|
亚洲?v无码国产在丝袜线观看
|
最近免费中文字幕大全免费
|
在线精品自拍亚洲第一区
|