-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modify the catalog structure while adding new feature pages
- Loading branch information
Showing
32 changed files
with
1,029 additions
and
288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,51 @@ | ||
# effect-page | ||
## Love confession | ||
* Textual representation | ||
* Generate a love shape | ||
* If the timing is successfully generated | ||
|
||
## Happy NewYear | ||
* Connect the name with "=" in URL | ||
* Snowflake effect | ||
* bgm name is "Little lucky" | ||
|
||
## love | ||
* love tree with heart shape | ||
* text | ||
# Html Page | ||
Some html pages with functional effects. | ||
|
||
|
||
|
||
## confession | ||
|
||
- Love1 | ||
|
||
> Text and heart-shaped confession, with a timer if the page is clicked to agree. | ||
- Love2 | ||
|
||
> love tree with heart shape. | ||
|
||
|
||
## games | ||
|
||
- Alphabet_matching | ||
|
||
> Finish all the letters of the alphabet matching game. | ||
- Red_square | ||
|
||
> Click 100 times on the red squares in random positions game. | ||
- Schulte_square | ||
|
||
> Click on 1 to 25 in order. | ||
|
||
|
||
## tools | ||
|
||
- Log_keyword_hit | ||
|
||
> Match logs against keywords with hit and miss statistics for keywords. | ||
- Log_Multi-Keyword_Filtering_Highlighting_Script_Generator | ||
|
||
> Server Log Multi-Keyword Filtering and Multi-Color Highlighting Script Generation. | ||
|
||
|
||
## wishes | ||
|
||
- New_Year | ||
|
||
> Concatenate the name with the "=" in the URL to produce a snowflake effect. | ||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
236 changes: 118 additions & 118 deletions
236
Love_confession/index.html → confession/Love2/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,118 +1,118 @@ | ||
<!DOCTYPE HTML> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | ||
<head> | ||
<title>heart</title> | ||
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | ||
<style type="text/css"> | ||
@font-face { | ||
font-family: digit; | ||
src: url('digital-7_mono.ttf') format("truetype"); | ||
} | ||
</style> | ||
<link href="style/default.css" type="text/css" rel="stylesheet"> | ||
<script type="text/javascript" src="style/jquery.js"></script> | ||
<script type="text/javascript" src="style/garden.js"></script> | ||
<script type="text/javascript" src="style/functions.js"></script> | ||
</head> | ||
|
||
<body> | ||
<div id="mainDiv"> | ||
<div id="content"> | ||
<div id="code"> | ||
<span class="comments">/**</span><br /> | ||
<span class="space"/><span class="comments">* We are both XXX Unversity business administration and programmers,</span><br /> | ||
<span class="space"/><span class="comments">* so I write some code to show my love to you.</span><br /> | ||
<span class="space"/><span class="comments">*/</span><br /> | ||
Boy i = <span class="keyword">new</span> Boy(<span class="string">"boyname"</span>);<br /> | ||
Girl u = <span class="keyword">new</span> Girl(<span class="string">"girlname"</span>);<br /> | ||
<span class="comments">// April 28, 2014, I told you I love you. </span><br /> | ||
i.love(u);<br /> | ||
<span class="comments">// but..., what you said that meaning we are still good friends.</span><br /> | ||
u.sayOtherthing();<br /> | ||
<span class="comments">// Since then, I ask you for the reason.</span><br /> | ||
<span class="keyword">var</span> reason=i.ask(u);<br /> | ||
<span class="comments">// you say we were not understand enough for each other .</span><br /> | ||
$("body").append(reason);<br /> | ||
<span class="comments">// You say that it is too quickily to turn our relation of lover.</span><br /> | ||
<span class="comments">// And take care of u and our love.</span><br /> | ||
i.takeCareOf(u);<br /> | ||
<span class="comments">// So I keep waiting and I have confidence that you will.</span><br /> | ||
<span class="keyword">boolean</span> isAccept = <span class="keyword">false</span>;<br /> | ||
<span class="keyword">while</span> (isAccept) {<br /> | ||
<span class="placeholder"/>i.waitFor(u);<br /> | ||
<span class="placeholder"/><span class="comments">// I think it is an important decision</span><br /> | ||
<span class="placeholder"/><span class="comments">// and you should forgot the unhappy things that happended before.</span><br /> | ||
<span class="placeholder"/>isAccept = u.thinkOver();<br /> | ||
}<br /> | ||
<span class="comments">// After a please sound of accept, we will live happily ever after.</span><br /> | ||
u.accept(i);<br /> | ||
i.liveHappilyWith(u);<br /> | ||
<script type="text/javascript"><!-- | ||
google_ad_client = "ca-pub-3712320065678109"; | ||
/* lovead */ | ||
google_ad_slot = "0650322805"; | ||
google_ad_width = 320; | ||
google_ad_height = 50; | ||
//--> | ||
</script> | ||
</div> | ||
<div id="loveHeart"> | ||
<canvas id="garden"></canvas> | ||
<div id="words"> | ||
<div id="messages"> | ||
<center> | ||
<script type="text/javascript"><!-- | ||
google_ad_client = "ca-pub-3712320065678109"; | ||
/* lovead */ | ||
google_ad_slot = "0650322805"; | ||
google_ad_width = 320; | ||
google_ad_height = 50; | ||
//--> | ||
</script> | ||
</center> | ||
girlname, I will have fallen in love with you for | ||
<div id="elapseClock" style="display:none"></div> | ||
<a href='#' id="accept">click me if accept me</a> | ||
</div> | ||
<div id="loveu"> | ||
Love u forever and ever.<br/> | ||
<div class="signature">- boyname</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<script type="text/javascript"> | ||
var offsetX = $("#loveHeart").width() / 2; | ||
var offsetY = $("#loveHeart").height() / 2 - 55; | ||
|
||
if (!document.createElement('canvas').getContext) { | ||
var msg = document.createElement("div"); | ||
msg.id = "errorMsg"; | ||
msg.innerHTML = "Your browser doesn't support HTML5!<br/>Recommend use Chrome 14+/IE 9+/Firefox 7+/Safari 4+"; | ||
document.body.appendChild(msg); | ||
$("#code").css("display", "none") | ||
$("#copyright").css("position", "absolute"); | ||
$("#copyright").css("bottom", "10px"); | ||
document.execCommand("stop"); | ||
} else { | ||
setTimeout(function () { | ||
adjustWordsPosition(); | ||
startHeartAnimation(); | ||
}, 10000); | ||
|
||
$("#accept").click(function(){ | ||
$(this).hide(); | ||
$("#elapseClock").show(); | ||
var together = new Date(); | ||
timeElapse(together); | ||
setInterval(function () { | ||
timeElapse(together); | ||
}, 500); | ||
}) | ||
adjustCodePosition(); | ||
$("#code").typewriter(); | ||
} | ||
</script> | ||
</body> | ||
</html> | ||
<!DOCTYPE HTML> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | ||
<head> | ||
<title>heart</title> | ||
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | ||
<style type="text/css"> | ||
@font-face { | ||
font-family: digit; | ||
src: url('digital-7_mono.ttf') format("truetype"); | ||
} | ||
</style> | ||
<link href="style/default.css" type="text/css" rel="stylesheet"> | ||
<script type="text/javascript" src="style/jquery.js"></script> | ||
<script type="text/javascript" src="style/garden.js"></script> | ||
<script type="text/javascript" src="style/functions.js"></script> | ||
</head> | ||
|
||
<body> | ||
<div id="mainDiv"> | ||
<div id="content"> | ||
<div id="code"> | ||
<span class="comments">/**</span><br /> | ||
<span class="space"/><span class="comments">* We are both XXX Unversity business administration and programmers,</span><br /> | ||
<span class="space"/><span class="comments">* so I write some code to show my love to you.</span><br /> | ||
<span class="space"/><span class="comments">*/</span><br /> | ||
Boy i = <span class="keyword">new</span> Boy(<span class="string">"boyname"</span>);<br /> | ||
Girl u = <span class="keyword">new</span> Girl(<span class="string">"girlname"</span>);<br /> | ||
<span class="comments">// April 28, 2014, I told you I love you. </span><br /> | ||
i.love(u);<br /> | ||
<span class="comments">// but..., what you said that meaning we are still good friends.</span><br /> | ||
u.sayOtherthing();<br /> | ||
<span class="comments">// Since then, I ask you for the reason.</span><br /> | ||
<span class="keyword">var</span> reason=i.ask(u);<br /> | ||
<span class="comments">// you say we were not understand enough for each other .</span><br /> | ||
$("body").append(reason);<br /> | ||
<span class="comments">// You say that it is too quickily to turn our relation of lover.</span><br /> | ||
<span class="comments">// And take care of u and our love.</span><br /> | ||
i.takeCareOf(u);<br /> | ||
<span class="comments">// So I keep waiting and I have confidence that you will.</span><br /> | ||
<span class="keyword">boolean</span> isAccept = <span class="keyword">false</span>;<br /> | ||
<span class="keyword">while</span> (isAccept) {<br /> | ||
<span class="placeholder"/>i.waitFor(u);<br /> | ||
<span class="placeholder"/><span class="comments">// I think it is an important decision</span><br /> | ||
<span class="placeholder"/><span class="comments">// and you should forgot the unhappy things that happended before.</span><br /> | ||
<span class="placeholder"/>isAccept = u.thinkOver();<br /> | ||
}<br /> | ||
<span class="comments">// After a please sound of accept, we will live happily ever after.</span><br /> | ||
u.accept(i);<br /> | ||
i.liveHappilyWith(u);<br /> | ||
<script type="text/javascript"><!-- | ||
google_ad_client = "ca-pub-3712320065678109"; | ||
/* lovead */ | ||
google_ad_slot = "0650322805"; | ||
google_ad_width = 320; | ||
google_ad_height = 50; | ||
//--> | ||
</script> | ||
</div> | ||
<div id="loveHeart"> | ||
<canvas id="garden"></canvas> | ||
<div id="words"> | ||
<div id="messages"> | ||
<center> | ||
<script type="text/javascript"><!-- | ||
google_ad_client = "ca-pub-3712320065678109"; | ||
/* lovead */ | ||
google_ad_slot = "0650322805"; | ||
google_ad_width = 320; | ||
google_ad_height = 50; | ||
//--> | ||
</script> | ||
</center> | ||
girlname, I will have fallen in love with you for | ||
<div id="elapseClock" style="display:none"></div> | ||
<a href='#' id="accept">click me if accept me</a> | ||
</div> | ||
<div id="loveu"> | ||
Love u forever and ever.<br/> | ||
<div class="signature">- boyname</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<script type="text/javascript"> | ||
var offsetX = $("#loveHeart").width() / 2; | ||
var offsetY = $("#loveHeart").height() / 2 - 55; | ||
|
||
if (!document.createElement('canvas').getContext) { | ||
var msg = document.createElement("div"); | ||
msg.id = "errorMsg"; | ||
msg.innerHTML = "Your browser doesn't support HTML5!<br/>Recommend use Chrome 14+/IE 9+/Firefox 7+/Safari 4+"; | ||
document.body.appendChild(msg); | ||
$("#code").css("display", "none") | ||
$("#copyright").css("position", "absolute"); | ||
$("#copyright").css("bottom", "10px"); | ||
document.execCommand("stop"); | ||
} else { | ||
setTimeout(function () { | ||
adjustWordsPosition(); | ||
startHeartAnimation(); | ||
}, 10000); | ||
|
||
$("#accept").click(function(){ | ||
$(this).hide(); | ||
$("#elapseClock").show(); | ||
var together = new Date(); | ||
timeElapse(together); | ||
setInterval(function () { | ||
timeElapse(together); | ||
}, 500); | ||
}) | ||
adjustCodePosition(); | ||
$("#code").typewriter(); | ||
} | ||
</script> | ||
</body> | ||
</html> |
2 changes: 1 addition & 1 deletion
2
Love_confession/style/default.css → confession/Love2/style/default.css
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
Love_confession/style/functions.js → confession/Love2/style/functions.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
Love_confession/style/garden.js → confession/Love2/style/garden.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.