-
Notifications
You must be signed in to change notification settings - Fork 0
/
110112.html
311 lines (275 loc) · 15.2 KB
/
110112.html
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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
<!DOCTYPE html>
<html>
<head>
<title>Peer Progression</title>
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
<link href="css/style.css" rel="stylesheet" type="text/css" media="screen" />
<!-- Add jQuery library -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
<!-- Add fancyBox -->
<link rel="stylesheet" href="js/fancybox/source/jquery.fancybox.css?v=2.1.3" type="text/css" media="screen" />
<script type="text/javascript" src="js/fancybox/source/jquery.fancybox.pack.js?v=2.1.3"></script>
<!-- Optionally add helpers - button, thumbnail and/or media -->
<link rel="stylesheet" href="js/fancybox/source/helpers/jquery.fancybox-buttons.css?v=1.0.5" type="text/css" media="screen" />
<script type="text/javascript" src="js/fancybox/source/helpers/jquery.fancybox-buttons.js?v=1.0.5"></script>
<script type="text/javascript" src="js/fancybox/source/helpers/jquery.fancybox-media.js?v=1.0.5"></script>
<!-- Run fancyBox -->
<script type="text/javascript">
$(document).ready(function() {
$(".fancybox").fancybox({
padding : 2,
autoSize:true,
});
});
</script>
<script>
$(document).ready(function() {
$(".various").fancybox({
maxWidth : 1200,
maxHeight : 1000,
width : '95%',
height : '95%',
padding: 0,
fitToView : false,
closeClick : true,
openEffect : 'none',
closeEffect : 'none',
autoCenter : true,
});
});
</script>
<!-- Alerts -->
<script>
function comingsoon(){
alert("Feature coming soon")
}
</script>
<!-- Navigation -->
<script>
function listing(){
document.getElementById('listingnav').style.display = 'block';
document.getElementById('slider').style.display = 'none';
document.getElementById('intro').style.display = 'none';
}
function slider(){
document.getElementById('listingnav').style.display = 'none';
document.getElementById('slider').style.display = 'block';
document.getElementById('projectbg').style.display = 'block';
}
</script>
<!-- Add New Listing -->
<script>
function addnew(){
document.getElementById('addnew').innerHTML = "<form><input type='text' name='listinginfo' id='listinginfo' value='' onclick='' onkeyup='if (event.keyCode == 13) document.getElementById('add2').click()' style='padding:0px;display:inline-block;'/><a class='forkbutton' id='add2' style='font-size:12px;margin:0px 10px' onclick='insertnew();'>+ Add</a></form>";
document.getElementById('listinginfo').focus();
document.getElementById('listinginfo').select();
}
</script>
<script>
function insertnew(){
var newlisting = document.createElement('a')
newlisting.setAttribute('class', 'listing')
var text = document.createTextNode(document.getElementById('listinginfo').value)
newlisting.appendChild(text)
document.getElementById('insertnew').appendChild(newlisting);
}
</script>
<!-- Change Values -->
<script>
function changeValue1(){
document.getElementById('imgprev').innerHTML = "";
document.getElementById('imgnew').innerHTML = "<a class='fancybox' rel='' href='images/full/sketch.jpg'><img src='images/small/sketch.jpg' class='' style='width:320px' /></a>";
document.getElementById('details').innerHTML ="<div class='summaries'><h2>Revision Summary</h2><p>This was my original sketch for a visual project management tool that promotes constructive dissention, rather than blind collaboration.</p><h2 style='margin-top:10px;'>Inspiration</h2><div class='links'><a href='http://www.stevenberlinjohnson.com/' target='_blank'>Steven Johnson</a></div><div class='explainations'>Peer progressivism and collaboration as conflict</div><br><br><div class='links'><a href='http://startupschool.org/' target='_blank'>Startup School</a></div><div class='explainations'>Conversations with Nimi about online product collaboration tools</div><br><br><div class='links'><a href='http://www.github.com/' target='_blank'>GitHub</a></div><div class='explainations'>The best collaboration tool out there, but really only works for code</div></div><a class='forkbutton' onclick='comingsoon()'>Fork</a>"
}
</script>
<script>
function changeValue2(){
document.getElementById('imgprev').innerHTML = "<a class='fancybox' rel='' href='images/full/sketch.jpg'><img src='images/small/sketch.jpg' class='' style='width:160px' /></a>";
document.getElementById('imgnew').innerHTML = "<a class='various fancybox.iframe' rel='' href='102612.html'><img src='images/small/proto.jpg' class='' style='width:320px' /></a>";
document.getElementById('details').innerHTML = "<div class='summaries'><h2> Revision Summary</h2><p>Graphical interpretation of the sketch. I want the design to emphasize the changes made, and the justifications and inspirations for those changes. Must promote conflict of ideas, but constructively.</p><h2 style='margin-top:10px;'>Inspiration</h2><div class='links'><a href='http://www.heroku.com/' target='_blank'>Heroku</a></div><div class='explainations'>Borrowed the dark design, used blue instead of purple as accent. Hoping to keep focus on the product changes</div><br><br><div class='links'><a href='http://layervault.org/' target='_blank'>Layer Vault</a></div><div class='explainations'>Completely stole the timeline slider to show the changes over time</div></div><a href='https://github.com/KFishner/Peer-Progression/zipball/master' class='forkbutton' onclick=''>Fork</a>"
}
</script>
<script>
function changeValue3(){
document.getElementById('imgprev').innerHTML = "<a class='various fancybox.iframe' rel='' href='102612.html'><img src='images/small/proto.jpg' class='' style='width:160px' /></a>";
document.getElementById('imgnew').innerHTML = "<img src='images/small/plus.png' class='clearall' style='width:200px;margin-left:60px;margin-top:30px' />";
document.getElementById('details').innerHTML = "<div class='summaries'><h2>Revision</h2><input id='inputfile' style='color:#9391AC' type='file' /><h2 style='margin-top:10px'>Revision Summary</h2><div id='summaryinsert'><textarea id='inputsummary' rows='3' cols='40' placeholder='Describe your revision' class='greyfont' ></textarea></div><h2>Inspiration</h2><div id='inspirationinsert'><input id='inputtitle1' type='text' size='15' placeholder='title' class='greyfont'><input id='inputlink1' type='text' size='25' placeholder='link' class='greyfont'><input id='inputexplain1' type='text' size='60' placeholder='explanation' class='greyfont'><br style='line-height:25px'><input id='inputtitle2' type='text' size='15' placeholder='title' class='greyfont'><input id='inputlink2' type='text' size='25' placeholder='link' class='greyfont'><input id='inputexplain2' type='text' size='60' placeholder='explanation' class='greyfont'><br style='line-height:25px'></div></div><a class='forkbutton' style='margin:10px 0px 0px 65px' onclick='preview()'>Preview</a><a class='forkbutton' style='margin:10px 0px 0px 32px' onclick='addNode()'>Add Node</a>";
}
</script>
<script>
function preview(){
var summary1 = document.createElement('p');
summary1.setAttribute('class', 'explainations');
var text = document.createTextNode(document.getElementById('inputsummary').value);
summary1.appendChild(text);
document.getElementById('summaryinsert').appendChild(summary1);
element = document.getElementById('inputsummary');
element.parentNode.removeChild(element);
var title1 = document.createElement('a');
title1.setAttribute('class', 'links');
title1.setAttribute('target', '_blank');
title1.setAttribute('href', document.getElementById('inputlink1').value);
var text2 = document.createTextNode(document.getElementById('inputtitle1').value);
title1.appendChild(text2);
document.getElementById('inspirationinsert').appendChild(title1);
var reper = document.getElementById('inputtitle1');
var parinte = reper.parentNode;
parinte.insertBefore(title1, reper)
element = document.getElementById('inputtitle1');
element.parentNode.removeChild(element);
element = document.getElementById('inputlink1');
element.parentNode.removeChild(element);
var explain1 = document.createElement('p');
explain1.setAttribute('class', 'explainations');
var text3 = document.createTextNode(document.getElementById('inputexplain1').value);
explain1.appendChild(text3);
document.getElementById('inspirationinsert').appendChild(explain1);
var reper = document.getElementById('inputexplain1');
var parinte = reper.parentNode;
parinte.insertBefore(explain1, reper)
element = document.getElementById('inputexplain1');
element.parentNode.removeChild(element);
}
</script>
<!-- Change Slider Color -->
<script>
function highlightNode1(){
document.getElementById('node1').style.background = '#C73F17';
document.getElementById('node2').style.background = '#f2f2f2';
document.getElementById('node3').style.background = '#f2f2f2';
document.getElementById('node4').style.background = '#f2f2f2';
}
</script>
<script>
function highlightNode2(){
document.getElementById('node2').style.background = '#C73F17';
document.getElementById('node1').style.background = '#f2f2f2';
document.getElementById('node3').style.background = '#f2f2f2';
document.getElementById('node4').style.background = '#f2f2f2';
}
</script>
<script>
function highlightNode3(){
document.getElementById('node3').style.background = '#C73F17';
document.getElementById('node1').style.background = '#f2f2f2';
document.getElementById('node2').style.background = '#f2f2f2';
document.getElementById('node4').style.background = '#f2f2f2';
}
</script>
<script>
function highlightNode4(){
document.getElementById('node4').style.background = '#C73F17';
document.getElementById('node3').style.background = '#f2f2f2';
document.getElementById('node1').style.background = '#f2f2f2';
document.getElementById('node2').style.background = '#f2f2f2';
}
</script>
<script>
function addNode(){
var newnode = document.createElement('li');
newnode.setAttribute('id', 'node4');
newnode.setAttribute('onclick', 'highlightNode4()');
document.getElementById('nodeslider').appendChild(newnode);
}
</script>
</head>
<body onload="changeValue1()" class='gradient'>
<div class="headerbg">
<div class="header container">
<ul class="nav">
<li style="border:none;"><img src="images/logo.png" /></li>
<li onclick="listing()">Projects</li>
</ul>
</div>
</div>
<div class="projectbg" id="projectbg">
<div class="project container">
<h2>Tradefours</h2>
</div>
</div>
<div class="bgprint">
<div class="containerbody">
<!-- Start Intro
<div class="containerbody textcenter" id="intro" style="position: absolute;top:0px;left:0px;z-index: 3;margin:0px;">
<img src="images/logo.png" style="border:none;margin-bottom: 0px;width:400px;display:block;margin-left:auto;margin-right:auto;" />
<h2 class="darkorange" style="margin-top:40px">Requests</h2>
<ul class="rules">
<li>Give feedback in visual form (sketch, HTML, wireframe, etc)</li>
<br>
<li>Justify your revisions with sources of inspiration and brief explainations</li>
<br>
<li>Accompany each addition by a deletion. Ideas must collide and give rise to simplicity and elegance. No frankenstein products.</li>
</ul>
<a class="gobutton" onclick="listing();">Go</a>
</div>
End Intro -->
<!-- Start Listing -->
<div class="containerbody bgprint" id="listingnav" style="z-index: 2;margin:0px;">
<span id="insertnew">
<div class="gridfour">
<div class="gridtext">Tradefours<p>visual collaboration tool</p></div>
<div class="gridimage" onclick="slider();"></div>
</div>
<div class="gridfour">
<div class="gridtext">Womply<p>SMB Loyalty Tool</p></div>
<div class="gridimage" onclick="slider();"></div>
</div>
<div class="gridfour">
<div class="gridtext">Value of the Fund<p>VC fund value as function of time</p></div>
<div class="gridimage" onclick="slider();"></div>
</div>
<div class="gridfour">
<div class="gridtext">kevin fishner.com<p>My landing site</p></div>
<div class="gridimage" onclick="slider();"></div>
</div>
</span>
<!-- Add New <a onclick="addnew();" class="listing"><span id="addnew">+ Add New</span></a> Add New -->
</div>
<!-- End Listing -->
<!-- Start Revisions -->
<div class="gridhalf" style="width:100%;">
<div class="gridhalf" style="width:160px;margin-top:80px;">
<h2 style="text-align: center;">Previous</h2>
<span id="imgprev"><a class="fancybox" rel="" href=""></a></span>
</div>
<div class="gridhalf" style="width:320px;margin-left:22px">
<h2 style="text-align: center;">Revision</h2>
<span id="imgnew"><a class='fancybox' rel='' href='images/full/sketch.jpg'><img src='images/small/sketch.jpg' class='' style='width:320px' /></a></span>
</div>
</div>
<!-- End Revisions -->
<!-- Start Summary Details
<div class="summary" style="width:37%;padding-right:0px;">
<span id="details">
<div class='summaries'>
<h2>Revision Summary</h2>
<p>Graphical interpretation of the sketch. I want the design to emphasize the changes made, and the justifications and inspirations for those changes. Must promote conflict of ideas, but constructively.</p>
<h2 style='margin-top:10px;'>Inspiration</h2>
<div class='links'><a href='http://www.heroku.com/' target='_blank'>Heroku</a></div>
<div class='explainations'>Borrowed the dark design, used blue instead of purple as accent. Hoping to keep focus on the product changes</div>
<br><br>
<div class='links'><a href='http://layervault.org/' target='_blank'>Layer Vault</a></div>
<div class='explainations'>Completely borrowed the timeline slider to show the changes over time</div>
</div>
</span>
</div>
End Summary Details -->
</div>
<!-- Start Change Slider -->
<div class="chgbg">
<div class="chgslider" id="slider" style="display:none;">
<ul id="nodeslider">
<li id="node1" onclick="changeValue1();highlightNode1();"></li>
<li id="node2" onclick="changeValue2();highlightNode2();"></li>
<li id="node3" onclick="changeValue3();highlightNode3();"></li>
</ul>
<div class="line">
</div>
<div>
</div>
</div>
</div>
<!-- End Change Slider -->
</div>
</body>
</html>