Get the defintive guide to the Windows Presentation Fundation (WPF),the new client programming interface for the Microsoft. Net Framework 3.0 and Windows Vista.Award-winning author Charles petzold teches you how to combine C#code and the Extensible
uls(Uppercase Lowercase Shifting),用于将文本文件中的ASCII字符中的字母
进行大小写转换,共4种转换:
全转为大写;全转为小写;单词首字符大写;大小写互换(大写变小写,小写变大写).如下为程序包内的README说明文件:
--------------------
What is uls
===========
uls is a text utility to translate between the uppercase and the lowercase o
在上篇的基础上继续完善,点击一个li元素,其他li元素上的类名清除掉。
效果图如下所示:
js:
[removed]
[removed] = function(){
var list = document.getElementById('list');
var ah2 = list.getElementsByTagName('h2');
var uls = list.getElementsByTagName('ul');
var lis = null;//用于下面的存储
var