季浩的Blog
努力
BlogJava
首頁
新隨筆
聯(lián)系
聚合
管理
隨筆-46 評論-64 文章-2 trackbacks-0
css+javascript 動(dòng)態(tài)換膚的實(shí)現(xiàn)
<
link?id
=
"
css
"
?rel
=
StyleSheet?type
=
"
text/css
"
?href
=
"
./button.css
"
?
/>
<
script?type
=
"
text/javascript
"
>
?
var
?cssArray?
=
?
new
?Array(
"
button.css
"
,
"
button1.css
"
,
"
button2.css
"
,
"
button3.css
"
,
"
button4.css
"
,
"
button5.css
"
,
"
button6.css
"
);
?
var
?index?
=
?
0
;
?
function
?changeCssFile()
?
{
??
var
?css?
=
?document.getElementById(
"
css
"
);
??index
++
;
??
if
(index
<
cssArray.length)
??
{
???css.href?
=
?cssArray[index];
??}
??
else
??
{
???index?
=
0
;
???css.href?
=
?cssArray[index];
??}
?}
</
script
>
?
<
a?
class
="button"
?href
="#"
?onclick
="changeCssFile()"
>
??
<
span?
id
="buttonText"
>
Change?another?style
</
span
>
?
</
a
>
posted on 2008-09-25 12:26
jht
閱讀(767)
評論(0)
編輯
收藏
新用戶注冊
刷新評論列表
只有注冊用戶
登錄
后才能發(fā)表評論。
網(wǎng)站導(dǎo)航:
博客園
IT新聞
Chat2DB
C++博客
博問
管理
讀書:
《JAVA與模式》閻宏
《精通正則表達(dá)式》
《Perl語言入門》
《J2EE Development without EJB》
BlogJava-季浩的Blog
100.0%男性傾向,0.0%女性傾向
評點(diǎn):您的文風(fēng)冷靜而鎮(zhèn)定,言語間展現(xiàn)出強(qiáng)悍的思辨能力與恢宏的胸襟,一個(gè)男子漢的陽剛形象躍然紙上。
yodao
|
博客男女
很不錯(cuò)的網(wǎng)站,在線沖手機(jī)費(fèi)
<
2008年9月
>
日
一
二
三
四
五
六
31
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
1
2
3
4
5
6
7
8
9
10
11
常用鏈接
我的隨筆
我的評論
我的參與
最新評論
留言簿
(2)
給我留言
查看公開留言
查看私人留言
隨筆分類
DWR(2)
Eclipse(2)
Groovy&Grails(1)
GWT(1)
Hibernate(1)
J2EE(7)
J2ME(4)
J2SE(14)
OSGI(2)
Pattern
Spring
Struts1(1)
Struts2(2)
Swing Tips(5)
數(shù)獨(dú)程序(1)
隨筆檔案
2008年9月 (7)
2008年8月 (3)
2008年7月 (3)
2008年5月 (2)
2008年4月 (1)
2008年3月 (1)
2008年1月 (2)
2007年11月 (2)
2007年10月 (2)
2007年9月 (4)
2007年8月 (1)
2007年7月 (2)
2007年5月 (1)
2007年3月 (4)
2007年1月 (4)
2006年12月 (3)
2006年3月 (1)
2006年2月 (2)
文章檔案
2008年7月 (1)
2008年4月 (1)
我的BLOG
我的.NET和其他相關(guān)主題Blog
我的C/C++博客
搜索
積分與排名
積分 - 104029
排名 - 560
最新評論
1.?re: 使用JSON和AJAX創(chuàng)建網(wǎng)站的標(biāo)簽云(TagCloud)
頂
--fffr
2.?re: Q:為什么透明的PNG格式圖片在網(wǎng)頁里顯示的時(shí)候不是透明的?
因?yàn)槟愕木W(wǎng)頁背景
--shndpz
3.?re: 使用WebService 和RMI遠(yuǎn)程協(xié)作
實(shí)現(xiàn)類沒有找到
--11
4.?re: Groovy Plugin for Eclipse IDE
安裝后,新建菜單里看不到Groovy Project的選項(xiàng)?
--雷納德
5.?re: Q: response.setHeader("Cache-Control","no-cache"); 是干什么用的?目的是什么?
我個(gè)人認(rèn)為是不緩存或者保存你這次返回的信息,
比如我們在網(wǎng)頁上生成圖片,但不希望這些圖片一直占據(jù)內(nèi)存,就可以使用這個(gè)策略吧。
--kaki
閱讀排行榜
1.?Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta) - [unknown location](17168)
2.?Q: response.setHeader("Cache-Control","no-cache"); 是干什么用的?目的是什么?(16592)
3.?[JSP] The function *** cannot be located with the specified prefix(7766)
4.?[DWR]Max depth exceeded when dereferencing(4217)
5.?[DWR] --Erroring: batchId[1] message[org.directwebremoting.extend.MarshallException: Error marshalling ...(4204)
評論排行榜
1.?Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta) - [unknown location](11)
2.?設(shè)計(jì)模式學(xué)習(xí)(一) 工廠模式之簡單工廠(7)
3.?[DWR]Max depth exceeded when dereferencing(5)
4.?MyScreenSnap 一個(gè)簡單的截圖程序(5)
5.?[DWR] --Erroring: batchId[1] message[org.directwebremoting.extend.MarshallException: Error marshalling ...(4)
Powered by:
博客園
模板提供:
滬江博客
Copyright ©2025 jht
主站蜘蛛池模板:
在线观看片免费人成视频播放
|
亚洲色大情网站www
|
黄色a三级免费看
|
国产在线19禁免费观看国产
|
亚洲日本人成中文字幕
|
无遮免费网站在线入口
|
亚洲中文字幕久在线
|
AA免费观看的1000部电影
|
中文字幕在线观看亚洲日韩
|
最新免费jlzzjlzz在线播放
|
日本亚洲免费无线码
|
日韩a级毛片免费观看
|
香蕉视频亚洲一级
|
国产精品亚洲不卡一区二区三区
|
一级做a爰片久久毛片免费看
|
亚洲毛片av日韩av无码
|
色www永久免费
|
午夜影视日本亚洲欧洲精品一区
|
亚洲午夜免费视频
|
亚洲天堂2016
|
免费一看一级毛片人
|
久久er国产精品免费观看8
|
国产亚洲一区二区三区在线观看
|
精品在线免费观看
|
亚洲日本乱码一区二区在线二产线
|
国产免费一区二区三区
|
亚洲精品国产第一综合99久久
|
日本一道高清不卡免费
|
18禁亚洲深夜福利人口
|
亚洲日韩在线观看免费视频
|
国产一区二区三区免费
|
亚洲人成在线中文字幕
|
国产精品成人四虎免费视频
|
eeuss免费天堂影院
|
亚洲精品在线免费看
|
国产成人无码免费视频97
|
中文字幕成人免费高清在线视频
|
亚洲视频免费在线播放
|
国产成人在线免费观看
|
免费精品99久久国产综合精品
|
亚洲天堂2017无码中文
|