yui cookie Dynamically Change Text Size Using Javascript 动态设置字体大小,写入Cookie
2009-10-17 18:59
513 查看
1
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
6<head>
7
8<title>yui cookie Dynamically Change Text Size Using Javascript 动态设置字体大小,写入Cookie</title>
9
10<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11<meta name="description" content="涂聚文,缔友计算机信息技术有限公司,经营信息流,物流,人力资源流,资本流的系统解决方案的开发与设计和服务,geoVI studio.Geovin Du. Systems Solution to Fund flow,and Information flow,and Material flow,and Control flow,and Human Resource.Applied software development,design and service。.">
12<meta name="description" content="Study,Communicate。 ">
13<meta name="Robots" content="all index follow ">
14<meta name="Author" content="涂聚文" />
15<meta name="keywords" content="Chinea,Guangdong Province,Shenzhen city,Nanshan District,Hi-teach industry Park, geoVI studio,Geovin Du,Systems Solution.勝利は仕事部屋である貴方にご光来を賜ることを歓迎,the original affiliation, Jiangxi Province, the Ji'an city, YongFeng coutry, Ouyang's hometown. Discussion forum, friend reason person, English, Japanese language, Korean language <link rel="stylesheet" href="css/style.css" type="text/css">
17 <link rel="stylesheet" href="css/shadow.css" type="text/css">
18<link rel="shortcut icon" href="http://www.dupcit.com/favicon.ico" type="image/x-icon" />
19<link rel="icon" href="http://www.dupcit.com/favicon.ico" type="image/ico" />
20<link rel="Bookmark" href="http://www.dupcit.com/favicon.ico">
21</head>
22
23<body>
24
25<div><img src="A+.gif" alt="increase font size" id="increaseFont" /></div>
26
27<div><img src="A-.gif" alt="decrease font size" id="decreaseFont" /></div>
28
29<div id="news-main">
30
31Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas sit amet metus.
32
33Nunc quam elit, posuere nec, auctor in, rhoncus quis, dui. Aliquam erat volutpat. Ut dignissim, massa
34
35</div>
36
37
38
39<!-- js -->
40
41<script type="text/javascript" src="yahoo-dom-event/yahoo-dom-event.js"></script>
42
43<script type="text/javascript" src="cookie/cookie-beta-min.js"></script>
44
45<!-- /js -->
46
47
48
49<script type="text/javascript">
50// 涂聚文 缔友计算机信息技术有限公司 版权所有
51
79
80
81
83
85
101</script>
102
103</body>
104
105</html>
cookie-beta-min.js code:
1
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
6<head>
7
8<title>yui cookie Dynamically Change Text Size Using Javascript 动态设置字体大小,写入Cookie</title>
9
10<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11<meta name="description" content="涂聚文,缔友计算机信息技术有限公司,经营信息流,物流,人力资源流,资本流的系统解决方案的开发与设计和服务,geoVI studio.Geovin Du. Systems Solution to Fund flow,and Information flow,and Material flow,and Control flow,and Human Resource.Applied software development,design and service。.">
12<meta name="description" content="Study,Communicate。 ">
13<meta name="Robots" content="all index follow ">
14<meta name="Author" content="涂聚文" />
15<meta name="keywords" content="Chinea,Guangdong Province,Shenzhen city,Nanshan District,Hi-teach industry Park, geoVI studio,Geovin Du,Systems Solution.勝利は仕事部屋である貴方にご光来を賜ることを歓迎,the original affiliation, Jiangxi Province, the Ji'an city, YongFeng coutry, Ouyang's hometown. Discussion forum, friend reason person, English, Japanese language, Korean language <link rel="stylesheet" href="css/style.css" type="text/css">
17 <link rel="stylesheet" href="css/shadow.css" type="text/css">
18<link rel="shortcut icon" href="http://www.dupcit.com/favicon.ico" type="image/x-icon" />
19<link rel="icon" href="http://www.dupcit.com/favicon.ico" type="image/ico" />
20<link rel="Bookmark" href="http://www.dupcit.com/favicon.ico">
21</head>
22
23<body>
24
25<div><img src="A+.gif" alt="increase font size" id="increaseFont" /></div>
26
27<div><img src="A-.gif" alt="decrease font size" id="decreaseFont" /></div>
28
29<div id="news-main">
30
31Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas sit amet metus.
32
33Nunc quam elit, posuere nec, auctor in, rhoncus quis, dui. Aliquam erat volutpat. Ut dignissim, massa
34
35</div>
36
37
38
39<!-- js -->
40
41<script type="text/javascript" src="yahoo-dom-event/yahoo-dom-event.js"></script>
42
43<script type="text/javascript" src="cookie/cookie-beta-min.js"></script>
44
45<!-- /js -->
46
47
48
49<script type="text/javascript">
50// 涂聚文 缔友计算机信息技术有限公司 版权所有
51
79
80
81
83
85
101</script>
102
103</body>
104
105</html>
cookie-beta-min.js code:
1
相关文章推荐
- Android 代码中动态设置字体大小-TextView.SetTextSize()
- Android 代码中动态设置字体大小-TextView.SetTextSize()
- EditText 中的hint(提示消息的字体大小设置) 单独设置 与textsize没有关系
- [Android]TextView设置字体大小时应该知道的事-同样的textSize不同的效果
- 动态代码设置Textview的字体大小,引用Dimen资源
- Dynamic Fonts动态设置字体大小存入Cookie
- EditText 在代码中动态设置hint字体大小
- ]TextView设置字体大小时应该知道的事-同样的textSize不同的效果
- paint.setTextSize()根据不同手机分辨率设置字体大小
- SpannableString 动态设置textView中字体颜色和大小
- Android中设置字体大小出现的问题(操作位置:Settings->Display->Font size)
- Android textView 动态设置代码字号大小,支持单位选项 dp,sp or px
- Android中TextView中的字体大小设置
- Android中的一个TextView中的字体设置不同大小
- 自定义控件 TextView.setTextSize(R.dimen.text_size_16)字体大小的问题
- Android程序中代码动态设置Textview文字的大小解决px转dp的问题
- JavaScript使用cookie,参数设置,说明;读取,写入,删除函数
- font-size,line-height,text-indent大小的设置方法(px,em,百分数)及其继承性
- android中为textview动态设置字体为粗体
- textView 动态改变字体的大小