Menu

[r2000]: / trunk / Src / Res / HTML / dlg-easter-egg.html  Maximize  Restore  History

Download this file

182 lines (154 with data), 4.9 kB

  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
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<?xml version="1.0"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
* dlg-easter-egg.html
*
* Content displayed as program's easter egg. References required style sheet
* and JavaScript code.
*
* $Rev$
* $Date$
*
* ***** BEGIN LICENSE BLOCK *****
*
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
* the specific language governing rights and limitations under the License.
*
* The Original Code is dlg-easter-egg.html.
*
* The Initial Developer of the Original Code is Peter Johnson
* (http://www.delphidabbler.com/).
*
* Portions created by the Initial Developer are Copyright (C) 2009 Peter
* Johnson. All Rights Reserved.
*
* Contributors:
* NONE
*
* ***** END LICENSE BLOCK *****
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>
dlg-easter-egg
</title>
<link rel="stylesheet" type="text/css" href="easteregg.css"; />
<script type="text/javascript" src="easteregg.js"></script>
</head>
<body onload="init();">
<!-- Two halves of the easter egg - they slide apart, start off closed -->
<div class="egg" id="egg-top" style="top:50px;z-index:1;">
<img
src="easter-egg-top.png"
class="egg"
onclick="breakEgg();return false;"
/>
</div>
<div class="egg" id="egg-bottom" style="top:50px;z-index:8;">
<img
src="easter-egg-bottom.png"
class="egg"
onclick="breakEgg();return false;"
/>
</div>
<!-- Cancel image, positioned relative to browser window. Click event is
handled in owning Delphi form -->
<div
id="cancel"
style="z-index:20;"
>
<img
id="cancel-btn"
src="cancel.png"
title="Close"
onmousemove="setImage('cancel-btn', 'cancel-glow.png');"
onmouseout="setImage('cancel-btn', 'cancel.png');"
/>
</div>
<!-- Click me image that appears above closed egg -->
<div id="click-me" style="z-index:12;">
<img
src="click-me.png"
onclick="breakEgg();return false;"
/>
</div>
<!-- Content of scrolling text div -->
<div id="blurb" style="z-index:4;">
<!-- Padding that keeps content hidden before animation starts -->
<div class="padding" style="height:250px;">&nbsp;</div>
<!-- Main content -->
<h1>
So who is DelphiDabbler?
</h1>
<p>
Here's me, Peter Johnson, aka DelphiDabbler, on holiday in Somerset, UK,
in 2009, peeling from sunburn. Taken by my darling wife.
</p>
<p class="photo">
<img
src="pj.jpg"
style="width:300px;height:204px;"
/>
</p>
<h1>
My Other Passion
</h1>
<p>
I have another passion when I'm not Delphi-dabbling and that's
classic and sports cars &ndash; &quot;hairy chested&quot; British
sports cars being my particular favourites.
</p>
<p class="photo">
<img
src="tvr.jpg"
style="width:300px;height:153px;"
/>
</p>
<p>
This is my 1996 <em>TVR Chimaera 400</em>. It leaks and uses a too much
petrol, but it ain't half fun! Seen here on a rare sunny day in
Somerset, with the roof panel off. Yep, that explains the burnt
forehead!
</p>
<p>
<em>TVRs</em> sum up the British sports car thing for me &ndash; they
were hand built in a small factory in Blackpool that was run on a
shoestring. But those guys had a hell of a feel for what makes an
entertaining sports car.
</p>
<p class="esc">
<strong>Press <em>ESC</em> to close.</strong>
</p>
<!-- Padding that allows end of content to scroll off top of div -->
<div class="padding" style="height:300px;">&nbsp;</div>
</div>
<!-- End of scrolling div -->
<!-- Links that appear in bottom egg after text has scrolled up once -->
<div id="more-info" style="display:none;z-index:10;">
<div>
<a
href="http://www.delphidabbler.com/background"
class="external-link"
>More about DelphiDabbler</a>
</div>
<div style="margin-top:0.5em;">
<a
href="http://en.wikipedia.org/wiki/TVR"
class="external-link"
>More about TVRs</a>
</div>
<div style="margin-top:0.5em;">
ESC to close
</div>
</div>
</body>
</html>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.