-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex-a.html
59 lines (55 loc) · 2.79 KB
/
index-a.html
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Paint, just paint</title>
<style type="text/css">
body { font: 14px/1.3 verdana, arial, helvetica, sans-serif; }
h1 { font-size:1.3em; }
h2 { font-size:1.2em; }
a:link { color:#33c; }
a:visited { color:#339; }
p { max-width: 60em; }
.div2 {background-color: black; border: 0px}
/* so linked image won't have border */
a img { border:none; }
</style><center>
<script type="text/javascript">
// place your images in this array
var random_images_array = ['1.jpg', '2.jpg', '3.jpg', '4.jpg', '5.jpg', '6.jpg', '7.jpg', '8.jpg', '9.jpg', '20.jpg', '21.jpg', '22.jpg', '23.jpg', 'Arthur_Streeton_-_Golden_summer,_Eaglemont_-_Google_Art_Project.jpg'];
function getRandomImage(imgAr, path) {
path = path || 'images/'; // default path here
var num = Math.floor( Math.random() * imgAr.length );
var img = imgAr[ num ];
var imgStr = '<img src="' + path + img + '" alt = "" height="75%" width="75%">';
document.write(imgStr); document.close();
}
</script>
<link rel="stylesheet" href="p.css">
</head>
<body>
<div class="div2">
<!-- This script segment displays an image from the array -->
<script type="text/javascript">getRandomImage(random_images_array, 'images/')</script>
</div>
<!-- or to have image linked: -->
<!--<a href="."><script type="text/javascript">getRandomImage(random_images_array)</script></a>-->
<h1><a href="">Reload current page</a></h1>
<h4><p>For exploring the paint infomation, please click the right button of your optical mouse on your PC or Mac and click "Search Google For Image", then you will find a new world in your browser.(Cannot find it? Oh,no, I could help you in the future but I don't want to do it now)</p>
<p>如果你懒得看我写的7788,可以借此机会大家聊个天 | 总看西方画有些腻,再一看中国山水就感觉很好 | 第三次更新删掉了绝大部分西洋画,发现没心情看</p>
<p>|-------------------------------------------------------------------------|</p>
<p>Question 1: How many paints here?</p>
<p>Answer: 14 (updated date: 7/Sept/2020)</p>
<p>|-------------------------------------------------------------------------|</p>
<p>Question 2: What is the purpose of this website?</p>
<p>Answer: to show the real piece of work of our ancestor, to calm you down, to find inner peace<p></p>Another reason is that I will totally forget it if I just leave all the paints in my computer</p>
<p>|-------------------------------------------------------------------------|</p>
<p>Question 3: Any tip?</p>
<p>Answer: You can zoom in or zoom out on your phone</p>
<p>|-------------------------------------------------------------------------|</p>
<<<<<<< HEAD
<p>Website Version 1.00 | Since 27/Jan/2022</p>
<p>Image updated counts: 5</p>
<p>|---End---line---|</p></center></h4>
</body>
</html>