1、style type=text/cssfont-face font-family: digit;src: url(digital-7_mono.ttf) format(truetype);/stylelink href=css/default.css type= rel=stylesheetscript type=text/javascript src=js/jquery.js/scriptjs/garden.jsjs/functions.js/headbodydiv id=mainDivcontentcodespan class=comments/*br /space/*201401-01,
2、*2014-01-04.*/Boy name = keywordMr LIGirl name = Mrs ZHANG/ Fall in love river. The boy love the girl;/ They love each other.The girl loved the boy;/ AS time goes on.The boy can not be separated the girl;/ At the same time.The girl can not be separated the boy;/ Both wind and snow all over the sky./
3、 Whether on foot or 5 kilometers.The boy very happy;The girl is also very placeholder/ Whether it is right now/ Still in the distant future.The boy has but one dream;/ The boy wants the girl could well have been happy.I want to say:Baby, I love you forever;/divloveHeartcanvas id=garden/canvaswordsme
4、ssages亲爱的,这是我们相爱在一起的时光。div class=signature- 爱你的人copyrighta href=#.var offsetX = $(#loveHeart).width() / 2;var offsetY = $().height() / 2 - 55;var together = new Date();together.setFullYear(2013, 2, 28);together.setHours(20);together.setMinutes(0);together.setSeconds(0);together.setMilliseconds(0);if
5、 (!document.createElement(canvas).getContext) var msg = document.createElement(divmsg.id = errorMsgmsg.innerHTML = Your browser doesnt support HTML5!Recommend use Chrome 14+/IE 9+/Firefox 7+/Safari 4+ document.body.appendChild(msg);$(#code).css(display, none)#copyrightpositionabsolutebottom10pxdocum
6、ent.execCommand(stop else setTimeout(function () startHeartAnimation();, 5000);timeElapse(together);setInterval(function () timeElapse(together);, 500);adjustCodePosition();).typewriter();/body/htmlFunction.jsvar $window = $(window), gardenCtx, gardenCanvas, $garden, garden;var clientWidth = $(windo
7、w).width();var clientHeight = $(window).height();$(function () / setup garden$loveHeart = $(var offsetX = $loveHeart.width() / 2;var offsetY = $loveHeart.height() / 2 - 55; $garden = $(#garden gardenCanvas = $garden0;gardenCanvas.width = $().width(); gardenCanvas.height = $().height() gardenCtx = ga
8、rdenCanvas.getContext(2d gardenCtx.globalCompositeOperation = lighter garden = new Garden(gardenCtx, gardenCanvas);#contentwidth, $loveHeart.width() + $().width();height, Math.max($loveHeart.height(), $().height();margin-top, Math.max($window.height() - $().height() / 2, 10);margin-left, Math.max($window.width() - $().width() / 2, 10); / renderLoop setInterval(function () garden.render(); , Garden.options.growSpeed););$(window).resize(function() var newWidth = $(window).width(); var newHeight = $(window).height(); if (newWidth != clien