File tree 4 files changed +14
-18
lines changed
4 files changed +14
-18
lines changed Original file line number Diff line number Diff line change 2
2
< html >
3
3
4
4
< link rel ="stylesheet " href ="styles.css ">
5
+ < link rel ="shortcut icon " type ="image/x-icon " href ="wow.png " />
6
+
7
+ < script type ="text/javascript " src ="https://code.jquery.com/jquery-latest.js "> </ script >
8
+ < script type ="text/javascript " src ="js/app.js "> </ script >
5
9
6
10
< body id ="body_id " class ="bg ">
7
11
8
12
< div class ="center ">
9
13
< a id ="intro " class ="intro "> </ a >
10
14
< br >
11
- <!--div class="placeholder"><img/></div-->
12
- < div id ='sensation_div '>
13
- < a id ="sensation " class ="sensation "> </ a >
14
- </ div >
15
+ < a id ="sensation " class ="sensation "> </ a >
15
16
</ div >
16
17
17
18
18
- < script type ="text/javascript " src ="https://code.jquery.com/jquery-latest.js "> </ script >
19
- < script type ="text/javascript " src ="js/app.js "> </ script >
19
+ < head >
20
+ < title id ="title "> </ title >
21
+ </ head >
20
22
21
23
</ body >
22
24
</ html >
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ function readIntroFile(file, num) {
32
32
var intro = words [ Math . abs ( num % ( words . length - 1 ) ) ] ;
33
33
34
34
document . getElementById ( "intro" ) . innerHTML = intro + "..." ;
35
+ document . getElementById ( "title" ) . innerHTML += intro + "... " ;
35
36
}
36
37
}
37
38
}
@@ -47,6 +48,9 @@ function readTextFile(file, num) {
47
48
var allText = rawFile . responseText ;
48
49
var words = allText . split ( "\n" ) ;
49
50
sensation = words [ Math . abs ( num % ( words . length - 1 ) ) ] ;
51
+
52
+ document . getElementById ( "sensation" ) . innerHTML = sensation + " sensation" ;
53
+ document . getElementById ( "title" ) . innerHTML += sensation + " sensation :O" ;
50
54
}
51
55
}
52
56
}
@@ -110,6 +114,5 @@ window.onload = function() {
110
114
readTextFile ( baseUrl + "misc/sensations.txt" , num ) ;
111
115
document . body . style . backgroundColor = "grey" ;
112
116
getImage ( sensation ) ;
113
- document . getElementById ( "sensation" ) . innerHTML = sensation + " sensation" ;
114
117
115
118
}
Original file line number Diff line number Diff line change 30
30
.intro {
31
31
color : white;
32
32
font-size : 70px ;
33
- font-family : Sansation_Light ;
33
+ font-family : Sansation_Bold ;
34
34
}
35
35
.sensation {
36
36
color : white;
37
37
font-size : 100px ;
38
38
font-family : Sansation_Bold;
39
- }
40
- .placeholder {
41
- display : inline-block;
42
- }
43
- .placeholder img {
44
- visibility : hidden;
45
- background : url ('spinner.gif' ) center center transparent;
46
- vertical-align : bottom;
47
- }
48
-
39
+ }
You can’t perform that action at this time.
0 commit comments