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>
發表于 2011-05-19 12:06
qin
閱讀(1191)
評論(0)
編輯
收藏
新用戶注冊
刷新評論列表
只有注冊用戶
登錄
后才能發表評論。
網站導航:
博客園
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
首頁
發新隨筆
發新文章
聯系
聚合
管理
統計
隨筆: 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)
原創之作(2)
(rss)
網絡抄襲
(rss)
積分與排名
積分 - 170633
排名 - 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.?求幫助啊
評論內容較長,點擊標題查看
--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.?求幫助啊
評論內容較長,點擊標題查看
--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(29618)
2.?css設置中文字體(font-family:"黑體")后樣式失效問題(19933)
3.?(flex)一個簡單的flex登陸實例(14501)
4.?啟動tomcat出現:警告: Settings: Could not parse struts.locale setting, substituting default VM locale(10848)
5.?(ssh)一個簡單的struts,hibernate例子以及struts,hibernate集成(10835)
評論排行榜
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
主站蜘蛛池模板:
亚洲成年人啊啊aa在线观看
|
青青青免费国产在线视频小草
|
热久久精品免费视频
|
久久狠狠爱亚洲综合影院
|
91精品手机国产免费
|
亚洲神级电影国语版
|
一级毛片免费观看
|
久久亚洲sm情趣捆绑调教
|
国产成人精品免费视频动漫
|
亚洲欧洲日产韩国在线
|
青青青国产在线观看免费
|
亚洲va久久久久
|
四虎1515hm免费国产
|
深夜久久AAAAA级毛片免费看
|
中文字幕亚洲不卡在线亚瑟
|
你是我的城池营垒免费看
|
国产av天堂亚洲国产av天堂
|
91麻豆国产免费观看
|
亚洲国产日韩综合久久精品
|
男女啪啪永久免费观看网站
|
一级毛片免费播放视频
|
亚洲中文字幕无码久久综合网
|
无码日韩精品一区二区免费暖暖
|
久久久久久久久亚洲
|
成人性生交大片免费看无遮挡
|
国产精品免费观看
|
亚洲精品国产精品
|
亚洲日本韩国在线
|
97在线视频免费播放
|
亚洲av无码一区二区三区在线播放
|
亚洲熟妇少妇任你躁在线观看无码
|
国产麻豆成人传媒免费观看
|
亚洲13又紧又嫩又水多
|
男人的天堂亚洲一区二区三区
|
一本久久免费视频
|
亚洲欧洲日本精品
|
亚洲 国产 图片
|
永久在线观看www免费视频
|
亚洲AV女人18毛片水真多
|
亚洲国产人成在线观看69网站
|
国产亚洲精aa在线看
|