Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zzzzzyinger patch 1 #24

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 30 additions & 36 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Our Love Story</title>
<title>我想大声告诉你</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style type="text/css">
@font-face {
Expand All @@ -19,61 +19,55 @@
<div id="mainDiv">
<div id="content">
<div id="code">
<span class="comments">/**</span><br />
<span class="space"/><span class="comments">* We are both Fudan SSers and programmers,</span><br />
<span class="space"/><span class="comments">* so I write some code to celebrate our 1st anniversary.</span><br />
<span class="space"/><span class="comments">*/</span><br />
Boy i = <span class="keyword">new</span> Boy(<span class="string">"hackerzhou"</span>);<br />
Girl u = <span class="keyword">new</span> Girl(<span class="string">"MaryNee"</span>);<br />
<span class="comments">// Nov 2, 2010, I told you I love you. </span><br />
i.love(u);<br />
<span class="comments">// Luckily, you accepted and became my girlfriend eversince.</span><br />
u.accepted();<br />
<span class="comments">// Since then, I miss u every day.</span><br />
i.miss(u);<br />
<span class="comments">// And take care of u and our love.</span><br />
i.takeCareOf(u);<br />
<span class="comments">// You say that you won't be so easy to marry me.</span><br />
<span class="comments">// So I keep waiting and I have confidence that you will.</span><br />
<span class="keyword">boolean</span> isHesitate = <span class="keyword">true</span>;<br />
<span class="keyword">while</span> (isHesitate) {<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 think it over.</span><br />
<span class="placeholder"/>isHesitate = u.thinkOver();<br />
}<br />
<span class="comments">// After a romantic wedding, we will live happily ever after.</span><br />
i.marry(u);<br />
i.liveHappilyWith(u);<br />

<span class="comments">*</span><br />
Boy i = "zhangwenhua"</span>);<br />
Girl u = " liujiajing"</span>);<br />
<span class="comments">//2016年九月份(大二),我正式认识了你 </span><br />
<span class="comments">//第一次正式见到你时,你说你认识我,我很诧异,</span><br />
<span class="comments">//后来才想起我们曾经在同一部门一起开会过,共事过</span><br />
<span class="comments">//只是后来我退出了,哈哈,那次算是我们第一次见面</span><br />
<span class="comments">//后来又因都当任了班长职位,一起共事,真正的彼此互相认识。</span><br />
<span class="comments">//从共事中让我了解到你处理事情认真严谨,富有爱心与责任心,</span><br />
<span class="comments">//同时也很爱玩,和我一样是个很喜欢浪的人</span><br />
<span class="comments">//下面是一段发至我内心的话 </span><br />
<span class="comments">*</span><br />
<span class="comments">**(这个是一段简单的小情歌) </span><br />
<span class="comments">***静静,你是我在大学里第一位让我真正动心的人,让我真正想要去守护的人。</span><br />
<span class="comments">//遇到你之后,我才真正知道,之前遇到的女生是漂亮,</span><br />
<span class="comments">//而你是美,由内而外处处散发着的美。</span><br />
<span class="comments">//我想让你做我的第一任女朋友,同时也是最后一任女朋友。</span><br />
<span class="comments">//每个人都应该要有梦想,而你就是我现在的梦想。</span><br />
<span class="comments">//风里雨里,云里雾里,而你---一直都在我---心里。</span><br />
</div>
<div id="loveHeart">
<canvas id="garden"></canvas>
<div id="words">
<div id="messages">
Minyue, I have fallen in love with you for
I know you, good mood everyday
<div id="elapseClock"></div>
</div>
<div id="loveu">
Love u forever and ever.<br/>
<div class="signature">- hackerzhou</div>
I love you @liujiajing.<br/>
<div class="signature">-张文华</div>
</div>
</div>
</div>
</div>
<div id="copyright">
Inspired by <a href="http://www.openrise.com/lab/FlowerPower/">FlowerPower</a> project.<br />
Copyright © 2011 <a href='http://hackerzhou.me'>hackerzhou.me</a> 2009-2011
Inspired by <a href="http://baike.baidu.com/link?url=amazefpTsU1N2f6de8yPAPnDEwpvSVqudbl6jpAcq_n_khquR6uazx96xRcNcfKa_m26jZYGpUOgX9TonxXJUn7-fzLhKWYl2DndwQGAkrzUWtF73ORXg0Agr5SwS8Ky">Lemon rabbit</a> project.<br />
Copyright © 2016 <a href='http://baike.baidu.com/link?url=1bD7RdEN5tFB1DA5D14VagrKzuae4Jyi9cef4vJ8njOpVTkNACia1Ga6JnooIHBTbXmYiDwFVcz5DamfIf9RjWRYlnlffm3kQn7J3oqpPSct_gQsS6QfFQqjFxwWX_7c'> Dudu pig</a> 2016-2017
</div>
</div>
<script type="text/javascript">
var offsetX = $("#loveHeart").width() / 2;
var offsetY = $("#loveHeart").height() / 2 - 55;
var offsetY = $("#loveHeart").height() / 2 - 55;//花花
var together = new Date();
together.setFullYear(2010, 10, 2);
together.setFullYear(2016, 9, 1);
together.setHours(20);
together.setMinutes(0);
together.setSeconds(0);
together.setMilliseconds(0);
together.setMilliseconds(0);//计时器

if (!document.createElement('canvas').getContext) {
var msg = document.createElement("div");
Expand Down