Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6ba1e60

Browse filesBrowse files
committed
'内容整合'
1 parent a27f831 commit 6ba1e60
Copy full SHA for 6ba1e60

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

79 files changed

+5684
-18
lines changed
Open diff view settings
Collapse file

‎.idea/compiler.xml‎

Copy file name to clipboardExpand all lines: .idea/compiler.xml
+22Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎.idea/copyright/profiles_settings.xml‎

Copy file name to clipboardExpand all lines: .idea/copyright/profiles_settings.xml
+3Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎.idea/inspectionProfiles/Project_Default.xml‎

Copy file name to clipboardExpand all lines: .idea/inspectionProfiles/Project_Default.xml
+36Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎.idea/misc.xml‎

Copy file name to clipboardExpand all lines: .idea/misc.xml
+6Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎.idea/modules.xml‎

Copy file name to clipboardExpand all lines: .idea/modules.xml
+8Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎.idea/vcs.xml‎

Copy file name to clipboardExpand all lines: .idea/vcs.xml
+6Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎.idea/workspace.xml‎

Copy file name to clipboardExpand all lines: .idea/workspace.xml
+1,037Lines changed: 1037 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎10.reg/1..js‎

Copy file name to clipboard
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* Created by Think on 2016/9/20.
3+
*/
4+
5+
6+
// 正则测试
7+
console.log( "111nick_你好1111".match( /^[1-9a-zA-Z\u4E00-\u9FA5\_]+\_*\d*$/) );
Collapse file

‎13.web_javascript/1.sample.html‎

Copy file name to clipboard
+43Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>sample</title>
6+
</head>
7+
<style >
8+
/* 本页的CSS样式表 */
9+
.reveal * {display: none;}
10+
/* class="reveal"的元素的字元素都不显示 */
11+
.reveal *.handle {display: block;}
12+
/* 除了class="handle"的元素 */
13+
</style>
14+
<script type="text/javascript">
15+
//所有的页面逻辑在onload事件以后启动
16+
window.onload = function(){
17+
// 找到所有class名为"reveal"的容器元素
18+
var elements = document.getElementsByClassName("reveal");
19+
for (var i = 0; i < elements.length; i++) { //对每个元素进行遍历
20+
var elt = elements[i];
21+
//找到容器中的"handle"元素
22+
var title = elt.getElementsByClassName("handle")[0];
23+
//当单击这个元素时,显现剩下的内容
24+
addRevealHandler(title,elt);
25+
26+
function addRevealHandler(title,elt){
27+
title.onclick = function(){
28+
if(elt.className == "reveal")
29+
elt.className = "revealed";
30+
else if(elt.className = "revealed")
31+
elt.className = "reveal";
32+
}
33+
}
34+
}
35+
}
36+
</script>
37+
<body>
38+
<div class="reveal">
39+
<h1 class="handle">Click Here to Reveal Hidden Text</h1>
40+
<p>This .......................</p>
41+
</div>
42+
</body>
43+
</html>
Collapse file

‎14.window/navigator.html‎

Copy file name to clipboard
+24Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Navigator</title>
6+
</head>
7+
<script type="text/javascript">
8+
var userAgent = navigator.userAgent.toLowerCase();
9+
// console.log("appName:"+navigator.appName);
10+
// console.log("platform:"+navigator.platform);
11+
// console.log("userAgent:"+userAgent);
12+
13+
//打开或者关闭窗口
14+
//var w = window.open("http://www.baidu.com","百度","width=400,height=350,status=yes");
15+
16+
</script>
17+
<body>
18+
19+
<div contenteditable="true" spellcheck="true">
20+
edit
21+
</div>
22+
23+
</body>
24+
</html>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.