8
8
9
9
< script src ="js/jquery-1.11.0.min.js "> </ script >
10
10
< script >
11
- function more ( a ) {
12
- if ( $ ( a ) . next ( '[class=details]' ) . css ( 'display' ) != 'none' ) {
13
- $ ( a ) . nextAll ( '[class=details]' ) . css ( 'display' , 'none' ) ;
14
- } else {
15
- $ ( a ) . nextAll ( '[class=details]' ) . css ( 'display' , 'block' ) ;
16
- }
17
- return false ;
11
+ function more ( event ) {
12
+ var elem = $ ( event . target ) . parents ( "div" ) . find ( "p.details" ) ;
13
+ var display = elem . css ( "display" ) ;
14
+ display = display == "none" ? "block" : "none" ;
15
+ elem . css ( "display" , display ) ;
16
+ return false ;
18
17
}
18
+
19
+ $ ( document ) . ready ( function ( ) {
20
+ $ ( "div.boxed h4 a" ) . click ( more ) ;
21
+ } ) ;
19
22
</ script >
20
23
</ head >
21
24
@@ -32,7 +35,7 @@ <h1> Pettycoin: Frequently Asked Questions </h1>
32
35
< h2 > Pettycoin vs Bitcoin</ h2 >
33
36
34
37
< div class ="boxed ">
35
- < h4 id ="altcoin "> < a href ="#altcoin " onclick =" return more('#altcoin'); " >
38
+ < h4 id ="altcoin "> < a href ="#altcoin ">
36
39
Is pettycoin an altcoin?
37
40
</ a > </ h4 >
38
41
< p class ="details ">
@@ -47,7 +50,7 @@ <h4 id="altcoin"><a href="#altcoin" onclick="return more('#altcoin');">
47
50
</ div >
48
51
49
52
< div class ="boxed ">
50
- < h4 id ="compete "> < a href ="#compete " onclick =" return more('#compete'); " >
53
+ < h4 id ="compete "> < a href ="#compete ">
51
54
Does pettycoin compete with bitcoin?
52
55
</ a > </ h4 >
53
56
< p class ="details ">
@@ -60,7 +63,7 @@ <h4 id="compete"><a href="#compete" onclick="return more('#compete');">
60
63
</ div >
61
64
62
65
< div class ="boxed ">
63
- < h4 id ="mergemine "> < a href ="#mergemine " onclick =" return more('#mergemine'); " >
66
+ < h4 id ="mergemine "> < a href ="#mergemine ">
64
67
Can bitcoin miners mergemine pettycoin?
65
68
</ a > </ h4 >
66
69
< p class ="details ">
@@ -69,7 +72,7 @@ <h4 id="mergemine"><a href="#mergemine" onclick="return more('#mergemine');">
69
72
</ div >
70
73
71
74
< div class ="boxed ">
72
- < h4 id ="sidechain "> < a href ="#sidechain " onclick =" return more('#sidechain'); " >
75
+ < h4 id ="sidechain "> < a href ="#sidechain ">
73
76
Is pettycoin a sidechain?
74
77
</ a > </ h4 >
75
78
< p class ="details ">
@@ -82,7 +85,7 @@ <h4 id="sidechain"><a href="#sidechain" onclick="return more('#sidechain');">
82
85
</ div >
83
86
84
87
< div class ="boxed ">
85
- < h4 id ="fees "> < a href ="#fees " onclick =" return more('#fees'); " >
88
+ < h4 id ="fees "> < a href ="#fees ">
86
89
What fees does a pettycoin transaction have?
87
90
</ a > </ h4 >
88
91
< p class ="details ">
@@ -95,7 +98,7 @@ <h4 id="fees"><a href="#fees" onclick="return more('#fees');">
95
98
</ div >
96
99
97
100
< div class ="boxed ">
98
- < h4 id ="miner-paid "> < a href ="#miner-paid " onclick =" return more('#miner-paid'); " >
101
+ < h4 id ="miner-paid "> < a href ="#miner-paid ">
99
102
How do pettycoin miners get paid?
100
103
</ a > </ h4 >
101
104
< p class ="details ">
@@ -114,7 +117,7 @@ <h4 id="miner-paid"><a href="#miner-paid" onclick="return more('#miner-paid');">
114
117
< h2 > Getting Bitcoins Into and Out of Pettycoin </ h2 >
115
118
116
119
< div class ="boxed ">
117
- < h4 id ="into-pettycoin "> < a href ="#into-pettycoin " onclick =" return more('#into-pettycoin'); " >
120
+ < h4 id ="into-pettycoin "> < a href ="#into-pettycoin ">
118
121
How do I get bitcoin into the pettycoin network?
119
122
</ a > </ h4 >
120
123
< p class ="details ">
@@ -126,7 +129,7 @@ <h4 id="into-pettycoin"><a href="#into-pettycoin" onclick="return more('#into-pe
126
129
</ div >
127
130
128
131
< div class ="boxed ">
129
- < h4 id ="out-of-pettycoin "> < a href ="#out-of-pettycoin " onclick =" return more('#out-of-pettycoin'); " >
132
+ < h4 id ="out-of-pettycoin "> < a href ="#out-of-pettycoin ">
130
133
How do I get bitcoin off the pettycoin network?
131
134
</ a > </ h4 >
132
135
< p class ="details ">
@@ -143,7 +146,7 @@ <h4 id="out-of-pettycoin"><a href="#out-of-pettycoin" onclick="return more('#out
143
146
</ div >
144
147
145
148
< div class ="boxed ">
146
- < h4 id ="forgotten-coins "> < a href ="#forgotten-coins " onclick =" return more('#forgotten-coins'); " >
149
+ < h4 id ="forgotten-coins "> < a href ="#forgotten-coins ">
147
150
What happens if I forget my pettycoins?
148
151
</ a > </ h4 >
149
152
< p class ="details ">
@@ -154,7 +157,7 @@ <h4 id="forgotten-coins"><a href="#forgotten-coins" onclick="return more('#forgo
154
157
</ div >
155
158
156
159
< div class ="boxed ">
157
- < h4 id ="to-bitcoin-user "> < a href ="#to-bitcoin-user " onclick =" return more('#to-bitcoin-user'); " >
160
+ < h4 id ="to-bitcoin-user "> < a href ="#to-bitcoin-user ">
158
161
Can I send bitcoins to a bitcoin user via the pettycoin network?
159
162
</ a > </ h4 >
160
163
< p class ="details ">
@@ -178,7 +181,7 @@ <h2> What Are The Worst Things About Pettycoin? </h2>
178
181
</ div >
179
182
180
183
< div class ="boxed ">
181
- < h4 id ="privacy "> < a href ="#privacy " onclick =" return more('#privacy'); " >
184
+ < h4 id ="privacy "> < a href ="#privacy ">
182
185
Horrible privacy properties.
183
186
</ a > </ h4 >
184
187
< p class ="details ">
@@ -200,7 +203,7 @@ <h4 id="privacy"><a href="#privacy" onclick="return more('#privacy');">
200
203
</ div >
201
204
202
205
< div class ="boxed ">
203
- < h4 id ="gateway-trust "> < a href ="#gateway-trust " onclick =" return more('#gateway-trust'); " >
206
+ < h4 id ="gateway-trust "> < a href ="#gateway-trust ">
204
207
Trusting the gateways.
205
208
</ a > </ h4 >
206
209
< p class ="details ">
@@ -218,7 +221,7 @@ <h4 id="gateway-trust"><a href="#gateway-trust" onclick="return more('#gateway-t
218
221
</ div >
219
222
220
223
< div class ="boxed ">
221
- < h4 id ="no-gui "> < a href ="#no-gui " onclick =" return more('#no-gui'); " >
224
+ < h4 id ="no-gui "> < a href ="#no-gui ">
222
225
No GUI.
223
226
</ a > </ h4 >
224
227
< p class ="details ">
@@ -228,7 +231,7 @@ <h4 id="no-gui"><a href="#no-gui" onclick="return more('#no-gui');">
228
231
</ div >
229
232
230
233
< div class ="boxed ">
231
- < h4 id ="web-sucks "> < a href ="#web-sucks " onclick =" return more('#web-sucks'); " >
234
+ < h4 id ="web-sucks "> < a href ="#web-sucks ">
232
235
Terrible logo and web pages.
233
236
</ a > </ h4 >
234
237
< p class ="details ">
@@ -240,21 +243,21 @@ <h4 id="web-sucks"><a href="#web-sucks" onclick="return more('#web-sucks');">
240
243
</ div >
241
244
242
245
< div class ="boxed ">
243
- < h4 id ="author-sucks "> < a href ="#author-sucks " onclick =" return more('#author-sucks'); " >
246
+ < h4 id ="author-sucks "> < a href ="#author-sucks ">
244
247
The main author is annoying.
245
248
</ a > </ h4 >
246
249
< p class ="details ">
247
250
I mean, he lives in a half-hour timezone. Who does that? WHO???
248
251
</ p >
249
252
< p class ="details ">
250
- But his wife is hot!
253
+ But his wife is awesome! (And thanks for proofreading!)
251
254
</ p >
252
255
</ div >
253
256
254
257
< h2 > The Protocol Details </ h2 >
255
258
256
259
< div class ="boxed ">
257
- < h4 id ="address "> < a href ="#address " onclick =" return more('#address'); " >
260
+ < h4 id ="address "> < a href ="#address ">
258
261
What does an address look like?
259
262
</ a > </ h4 >
260
263
< p class ="details ">
@@ -271,7 +274,7 @@ <h4 id="address"><a href="#address" onclick="return more('#address');">
271
274
</ div >
272
275
273
276
< div class ="boxed ">
274
- < h4 id ="transaction "> < a href ="#transaction " onclick =" return more('#transaction'); " >
277
+ < h4 id ="transaction "> < a href ="#transaction ">
275
278
What does a transaction look like?
276
279
</ a > </ h4 >
277
280
@@ -323,7 +326,7 @@ <h4 id="transaction"><a href="#transaction" onclick="return more('#transaction')
323
326
</ div >
324
327
325
328
< div class ="boxed ">
326
- < h4 id ="shard "> < a href ="#shard " onclick =" return more('#shard'); " >
329
+ < h4 id ="shard "> < a href ="#shard ">
327
330
What does a shard look like?
328
331
</ a > </ h4 >
329
332
< p class ="details ">
@@ -340,7 +343,7 @@ <h4 id="shard"><a href="#shard" onclick="return more('#shard');">
340
343
</ div >
341
344
342
345
< div class ="boxed ">
343
- < h4 id ="block "> < a href ="#block " onclick =" return more('#block'); " >
346
+ < h4 id ="block "> < a href ="#block ">
344
347
What does a block look like?
345
348
</ a > </ h4 >
346
349
< p class ="details ">
@@ -370,7 +373,7 @@ <h4 id="block"><a href="#block" onclick="return more('#block');">
370
373
</ div >
371
374
372
375
< div class ="boxed ">
373
- < h4 id ="miners "> < a href ="#miners " onclick =" return more('#miners'); " >
376
+ < h4 id ="miners "> < a href ="#miners ">
374
377
Why do miners need to know the whole network?
375
378
</ a > </ h4 >
376
379
@@ -395,7 +398,7 @@ <h4 id="miners"><a href="#miners" onclick="return more('#miners');">
395
398
</ div >
396
399
397
400
< div class ="boxed ">
398
- < h4 id ="horizon "> < a href ="#horizon " onclick =" return more('#horizon'); " >
401
+ < h4 id ="horizon "> < a href ="#horizon ">
399
402
What happens to old blocks?
400
403
</ a > </ h4 >
401
404
< p class ="details ">
@@ -412,7 +415,7 @@ <h4 id="horizon"><a href="#horizon" onclick="return more('#horizon');">
412
415
</ div >
413
416
414
417
< div class ="boxed ">
415
- < h4 id ="miner-claims "> < a href ="#miner-claims " onclick =" return more('#miner-claims'); " >
418
+ < h4 id ="miner-claims "> < a href ="#miner-claims ">
416
419
How do miners claim their reward?
417
420
</ a > </ h4 >
418
421
< p class ="details ">
@@ -429,7 +432,7 @@ <h4 id="miner-claims"><a href="#miner-claims" onclick="return more('#miner-claim
429
432
</ div >
430
433
431
434
< div class ="boxed ">
432
- < h4 id ="complaints "> < a href ="#complaints " onclick =" return more('#complaints'); " >
435
+ < h4 id ="complaints "> < a href ="#complaints ">
433
436
How do nodes indicate they've found a problem?
434
437
</ a > </ h4 >
435
438
< p class ="details ">
@@ -488,7 +491,7 @@ <h4 id="complaints"><a href="#complaints" onclick="return more('#complaints');">
488
491
< h2 > Status, And Unimplemented Stuff </ h2 >
489
492
490
493
< div class ="boxed ">
491
- < h4 id ="status "> < a href ="#status " onclick =" return more('#status'); " >
494
+ < h4 id ="status "> < a href ="#status ">
492
495
What is the current status?
493
496
</ a > </ h4 >
494
497
< p class ="details ">
@@ -512,7 +515,7 @@ <h4 id="status"><a href="#status" onclick="return more('#status');">
512
515
</ div >
513
516
514
517
< div class ="boxed ">
515
- < h4 id ="todo-protocol "> < a href ="#todo-protocol " onclick =" return more('#todo-protocol'); " >
518
+ < h4 id ="todo-protocol "> < a href ="#todo-protocol ">
516
519
What features are unimplemented in the protocol?
517
520
</ a > </ h4 >
518
521
< p class ="details ">
@@ -539,7 +542,7 @@ <h4 id="todo-protocol"><a href="#todo-protocol" onclick="return more('#todo-prot
539
542
</ div >
540
543
541
544
< div class ="boxed ">
542
- < h4 id ="todo-client "> < a href ="#todo-client " onclick =" return more('#todo-client'); " >
545
+ < h4 id ="todo-client "> < a href ="#todo-client ">
543
546
What features are unimplemented in the client?
544
547
</ a > </ h4 >
545
548
< p class ="details ">
@@ -562,7 +565,7 @@ <h4 id="todo-client"><a href="#todo-client" onclick="return more('#todo-client')
562
565
</ div >
563
566
564
567
< div class ="boxed ">
565
- < h4 id ="todo-tools "> < a href ="#todo-tools " onclick =" return more('#todo-tools'); " >
568
+ < h4 id ="todo-tools "> < a href ="#todo-tools ">
566
569
What tools need to be written?
567
570
</ a > </ h4 >
568
571
< ul class ="details ">
@@ -576,7 +579,7 @@ <h4 id="todo-tools"><a href="#todo-tools" onclick="return more('#todo-tools');">
576
579
< h2 > About The Developers </ h2 >
577
580
578
581
< div class ="boxed ">
579
- < h4 id ="whoami "> < a href ="#whoami " onclick =" return more('#whoami'); " >
582
+ < h4 id ="whoami "> < a href ="#whoami ">
580
583
Who are you?
581
584
</ a > </ h4 >
582
585
0 commit comments