-
Notifications
You must be signed in to change notification settings - Fork 0
/
index-new.html
546 lines (494 loc) · 25.9 KB
/
index-new.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
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
<!doctype html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Expanding Fullscreen Grid Portfolio Template</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="../favicon.ico">
<meta name="description" content="Expanding Fullscreen Grid Portfolio Template" />
<meta name="keywords" content="template, html, css, css3, jquery, grid, masonry, fullscreen, background image, flipboard effect" />
<meta name="author" content="Codrops" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/jquery.jscrollpane.css" />
<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow&v1' rel='stylesheet' type='text/css' />
<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css' />
<link href='http://fonts.googleapis.com/css?family=Ovo' rel='stylesheet' type='text/css' />
<!-- Fullscreen jQuery template -->
<script id="fullviewTmpl" type="text/x-jquery-tmpl">
{{html bgimage}}
<div class="full-view">
<span class="full-view-exit">Exit full screen view</span>
<div class="header">
<h2 class="title">${title}</h2>
<div class="full-nav">
<span class="full-nav-prev">Previous</span>
<span class="full-nav-pages">
<span class="full-nav-current">${current}</span>/
<span class="full-nav-total">${total}</span>
</span>
<span class="full-nav-next">Next</span>
</div>
<p class="subline">${subline}</p>
<span class="loading-small"></span>
</div>
<div class="project-descr-full">
<div class="thumbs-wrapper"><div class="thumbs">{{html thumbs}}</div></div>
<div class="project-descr-full-wrapper">
<div class="project-descr-full-content">{{html description}}</div><!-- project-descr-full-content -->
</div>
</div><!-- project-descr-full -->
</div><!-- full-view -->
</script>
</head>
<body>
<div class="container" id="container">
<div class="item header">
<h1><a href="/"><span>♥</span> Print</a></h1>
<p class="subline">Business cards <span class="fancy">&</span> more</p>
</div>
<div class="item block" data-bgimage="images/1.jpg">
<div class="thumbs-wrapper">
<div class="thumbs">
<img src="images/thumbs/1.jpg"/>
<img src="images/thumbs/2.jpg"/>
</div>
</div>
<h2 class="title">Personal Works</h2>
<p class="subline">Concept <span class="fancy">&</span> Design</p>
<div class="intro">
<p>I am alone, and feel the charm of existence in this spot, which was created for the bliss of souls like mine. <a href="#" class="more_link">View project</a></p>
</div>
<div class="project-descr">
<p>O my friend - but it is too much for my strength - I sink under the weight of the splendour of these visions!</p>
<p>A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which I enjoy with my whole heart.</p>
<p>I am alone, and feel the charm of existence in this spot, which was created for the bliss of souls like mine.</p>
</div>
</div>
<div class="item block" data-bgimage="images/3.jpg">
<div class="thumbs-wrapper">
<div class="thumbs">
<img src="images/thumbs/3.jpg"/>
<img src="images/thumbs/5.jpg"/>
<img src="images/thumbs/6.jpg"/>
</div>
</div>
<h2 class="title">Business Cards</h2>
<p class="subline">Design <span class="fancy">&</span> print</p>
<div class="intro">
<p>A collection of textile samples lay spread out on the table - Samsa was a travelling salesman - and above it there hung a picture that he had recently cut out of an illustrated magazine and housed in a nice, gilded frame. <a href="#" class="more_link">View project</a></p></div>
<div class="project-descr">
<p>It showed a lady fitted out with a fur hat and fur boa who sat upright, raising a heavy fur muff that covered the whole of her lower arm towards the viewer. Gregor then turned to look out the window at the dull weather.</p>
<p>Drops of rain could be heard hitting the pane, which made him feel quite sad.</p>
<p>"How about if I sleep a little bit longer and forget all this nonsense", he thought, but that was something he was unable to do because he was used to sleeping on his right, and in his present state couldn't get into that position.</p>
<p>O my friend - but it is too much for my strength - I sink under the weight of the splendour of these visions!</p>
<p>A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which I enjoy with my whole heart.</p>
</div>
</div>
<div class="item block" data-bgimage="images/4.jpg">
<div class="thumbs-wrapper">
<div class="thumbs">
<img src="images/thumbs/4.jpg"/>
<img src="images/thumbs/8.jpg"/>
</div>
</div>
<h2 class="title">Lovely Cards Project</h2>
<p class="subline">Concept, design <span class="fancy">&</span> print</p>
<div class="intro">
<p>His room, a proper human room although a little too small, lay peacefully between its four familiar walls. <a href="#" class="more_link">View project</a></p>
</div>
<div class="project-descr">
<p>The bedding was hardly able to cover it and seemed ready to slide off any moment. His many legs, pitifully thin compared with the size of the rest of him, waved about helplessly as he looked. "What's happened to me? " he thought. It wasn't a dream.</p>
<p>His room, a proper human room although a little too small, lay peacefully between its four familiar walls. A collection of textile samples lay spread out on the table - Samsa was a travelling salesman - and above it there hung a picture that he had recently cut out of an illustrated magazine and housed in a nice, gilded frame.</p>
</div>
</div>
<div class="item block" data-bgimage="images/4.jpg">
<div class="thumbs-wrapper">
<div class="thumbs">
<img src="images/thumbs/4.jpg"/>
<img src="images/thumbs/8.jpg"/>
</div>
</div>
<h2 class="title">Winter Silence Project</h2>
<p class="subline">Concept, design <span class="fancy">&</span> print</p>
<div class="intro">
<p>A small river named Duden flows by their place and supplies it with the necessary regelialia.</p>
<p>Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>
<p>His room, a proper human room although a little too small, lay peacefully between its four familiar walls. <a href="#" class="more_link">View project</a></p>
</div>
<div class="project-descr">
<p>The bedding was hardly able to cover it and seemed ready to slide off any moment. His many legs, pitifully thin compared with the size of the rest of him, waved about helplessly as he looked. "What's happened to me? " he thought. It wasn't a dream.</p>
<p>His room, a proper human room although a little too small, lay peacefully between its four familiar walls. A collection of textile samples lay spread out on the table - Samsa was a travelling salesman - and above it there hung a picture that he had recently cut out of an illustrated magazine and housed in a nice, gilded frame.</p>
</div>
</div>
<div class="item block" data-bgimage="images/11.jpg">
<div class="thumbs-wrapper">
<div class="thumbs">
<img src="images/thumbs/11.jpg"/>
<img src="images/thumbs/12.jpg"/>
<img src="images/thumbs/13.jpg"/>
</div>
</div>
<h2 class="title">Happy Collection</h2>
<p class="subline">Design <span class="fancy">&</span> print</p>
<div class="intro">
<p>Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally <a href="#" class="more_link">View project</a></p>
</div>
<div class="project-descr">
<p>Drops of rain could be heard hitting the pane, which made him feel quite sad.</p>
<p>"How about if I sleep a little bit longer and forget all this nonsense", he thought, but that was something he was unable to do because he was used to sleeping on his right, and in his present state couldn't get into that position.</p>
<p>The bedding was hardly able to cover it and seemed ready to slide off any moment. His many legs, pitifully thin compared with the size of the rest of him, waved about helplessly as he looked. "What's happened to me? " he thought. It wasn't a dream.</p>
<p>His room, a proper human room although a little too small, lay peacefully between its four familiar walls. A collection of textile samples lay spread out on the table - Samsa was a travelling salesman - and above it there hung a picture that he had recently cut out of an illustrated magazine and housed in a nice, gilded frame.</p>
</div>
</div>
<div class="item block" data-bgimage="images/9.jpg">
<div class="thumbs-wrapper">
<div class="thumbs">
<img src="images/thumbs/9.jpg"/>
<img src="images/thumbs/7.jpg"/>
<img src="images/thumbs/10.jpg"/>
</div>
</div>
<h2 class="title">Awesome Colors Project</h2>
<p class="subline">Concept, design <span class="fancy">&</span> print</p>
<div class="intro">
<p>Drops of rain could be heard hitting the pane, which made him feel quite sad. <a href="#" class="more_link">View project</a></p>
</div>
<div class="project-descr">
<p>However hard he threw himself onto his right, he always rolled back to where he was. He must have tried it a hundred times, shut his eyes so that he wouldn't have to look at the floundering legs, and only stopped when he began to feel a mild, dull pain there that he had never felt before.</p>
<p>"Oh, God", he thought, "what a strenuous career it is that I've chosen! Travelling day in and day out.</p>
<p>Doing business like this takes much more effort than doing your own business at home, and on top of that there's the curse of travelling, worries about making train connections, bad and irregular food, contact with different people all the time so that you can never get to know anyone or become friendly with them.</p>
<p>It can all go to Hell!</p>
</div>
</div>
<div class="item block" data-bgimage="images/12.jpg">
<div class="thumbs-wrapper">
<div class="thumbs">
<img src="images/thumbs/12.jpg"/>
<img src="images/thumbs/13.jpg"/>
</div>
</div>
<h2 class="title">Fancy Project #23</h2>
<p class="subline">Design <span class="fancy">&</span> print</p>
<div class="intro">
<p>Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally <a href="#" class="more_link">View project</a></p>
</div>
<div class="project-descr">
<p>Drops of rain could be heard hitting the pane, which made him feel quite sad.</p>
<p>"How about if I sleep a little bit longer and forget all this nonsense", he thought, but that was something he was unable to do because he was used to sleeping on his right, and in his present state couldn't get into that position.</p>
<p>The bedding was hardly able to cover it and seemed ready to slide off any moment. His many legs, pitifully thin compared with the size of the rest of him, waved about helplessly as he looked. "What's happened to me? " he thought. It wasn't a dream.</p>
<p>His room, a proper human room although a little too small, lay peacefully between its four familiar walls. A collection of textile samples lay spread out on the table - Samsa was a travelling salesman - and above it there hung a picture that he had recently cut out of an illustrated magazine and housed in a nice, gilded frame.</p>
</div>
</div>
<div class="clr"></div>
</div><!-- container -->
<footer class="reference">
<a href="http://tympanus.net/Development/ContentRotator/example1.html"><span>« Previous Demo: </span>Content Rotator</a>
<span class="right_ab">
<a href="http://www.flickr.com/people/kvh/" target="_blank">Images by Kyle Van Horn</a>
<a href="http://tympanus.net/codrops/2011/08/04/fullscreen-grid-portfolio/"><strong>back to the Codrops post</strong></a>
</span>
</footer>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.tmpl.min.js"></script>
<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
<!-- the jScrollPane script -->
<script type="text/javascript" src="js/jquery.mousewheel.js"></script>
<script type="text/javascript" src="js/jquery.jscrollpane.min.js"></script>
<script type="text/javascript" src="js/jquery.masonry.min.js"></script>
<script type="text/javascript" src="js/jquery.gpCarousel.js"></script>
<script type="text/javascript">
$(window).load(function(){
// the main container
var $GPContainer = $('#container'),
// the articles (the thumbs)
$articles = $GPContainer.children('div.block'),
// total number of articles
totalArticles = $articles.length,
// the fullview container
$fullview = $('<div id="fullview" class="full-view-elements"></div>').prependTo( $('body') ),
// the overlay
$overlay = $('<div class="overlay"></div>').prependTo( $('body') ),
GridPortfolio = (function() {
// current will be the index of the current article
var animspeed = 500,
animeasing = 'jswing', // try easeOutExpo
current = -1,
// indicates if certain elements can be animated or not at a given time
animrun = false,
init = function() {
initPlugins();
initEventsHandler();
},
// builds each article's carousel
// initiallizes the mansory
initPlugins = function() {
// apply carousel functionality to the thumbs-wrapper in each article
$articles.find('div.thumbs-wrapper').gpCarousel();
// apply mansory to the grid items
$GPContainer.masonry({
itemSelector : '.item',
columnWidth : 5,
isAnimated : true
});
},
// events
initEventsHandler = function() {
// switch to fullview when we click the "View Project" link
$articles.each( function(i) {
$(this).find('a.more_link').bind('click.GridPortfolio', function(e) {
if( animrun ) return false;
animrun = true;
var $article = $(this).closest('div.block');
// update the current value
current = $article.index('.block');
// hide scrollbar
$('body').css( 'overflow', 'hidden' );
// preload the fullview image and then start the animation (showArticle)
var $intro = $article.find('div.intro');
$intro.addClass('intro-loading');
$('<img/>').load(function() {
$intro.removeClass('intro-loading');
showArticle( $article, true );
animrun = false;
}).attr('src', $article.data('bgimage'));
return false;
});
});
// fullview navigation
$('#fullview').find('span.full-nav-next').live('click.GridPortfolio', function(e) {
if( animrun ) return false;
animrun = true;
// circular navigation
if( current === totalArticles - 1 )
current = 0
else
++current;
// update the fullview current articles number
$fullview.find('span.full-nav-current').html( current + 1 );
showFullviewArticle();
});
$('#fullview').find('span.full-nav-prev').live('click.GridPortfolio', function(e) {
if( animrun ) return false;
animrun = true;
// circular navigation
if( current === 0 )
current = totalArticles - 1
else
--current;
// update the fullview current articles number
$fullview.find('span.full-nav-current').html( current + 1 );
showFullviewArticle();
});
// switch to thumbs view
$('#fullview').find('span.full-view-exit').live('click.GridPortfolio', function(e) {
var $article = $articles.eq( current );
hideArticle( $article );
});
// window resize
// center the background image if in fullview
// reinitialise jscrollpane
$(window).bind('resize.GridPortfolio', function(e) {
var $bgimage = $fullview.find('img.bg-img');
if( $bgimage.length )
centerBgImage( $bgimage );
$fullview.find('div.project-descr-full-wrapper').jScrollPane('reinitialise');
});
},
// the clicked article will be cloned;
// the clone will be positioned on top of the cloned article;
// remove every element from the clone except the thumbs wrapper (basically the image);
// enlarge the clone to the window's width & height;
// move the thumbs wrapper to the position where the fullview's thumbs wrapper will be placed;
// at the same time fade in the overlay;
// build the fullview panel with the right data (template)
// remove the clone
// this function will also be used when we close the fullview article. In this case,
// the difference is that we don't animate the values (just set the css values), and the clone is not removed, since we
// will use it for the animation (back to the thumb position)
showArticle = function( $article, anim ) {
// clone the article
var $clone = $article.clone().css({
left : $article.offset().left + 'px',
top : $article.offset().top + 'px',
zIndex : 1001,
margin : '0px',
height : $article.height() + 'px'
}).attr( 'id', 'article-clone' );
// this is the images container which is going to "fly" down
var $thumbsWrapper = $clone.find('div.thumbs-wrapper');
// remove unnecessary elements from the clone
$clone.children().not($thumbsWrapper).remove();
$clone.find('div.thumbs-nav').remove();
// position the clone on top of the article with the right css style
var padding = 20 + 20;
// animate?
$.fn.applyStyle = ( anim ) ? $.fn.animate : $.fn.css;
var clonestyle = {
width : $(window).width() - padding + 'px',
height : $(window).height() - padding + 'px',
left : '0px',
top : $(window).scrollTop() + 'px'
};
$clone.appendTo( $('body') ).stop().applyStyle( clonestyle, $.extend( true, [], { duration : animspeed, easing : animeasing, complete : function() {
// show the panel (it will be hidden behing the clone though, until this one is removed)
$fullview.show()
// use the template "fullviewTmpl" to build the fullview panel with the right data
var articleFullviewData = getArticleFullviewData($article);
articleFullviewData.current = current + 1;
articleFullviewData.total = totalArticles;
var $fullview_content = $('#fullviewTmpl').tmpl( articleFullviewData );
$fullview_content.appendTo( $fullview );
// call the gpCarousel plugin on the fullview thumbs-wrapper
$fullview_content.find('div.thumbs-wrapper').gpCarousel({
start : $article.find('div.thumbs-wrapper').data('currentImage')
});
//jscrollpane
$fullview_content.find('div.project-descr-full-wrapper').jScrollPane('destroy').jScrollPane({
verticalDragMinHeight: 40,
verticalDragMaxHeight: 40
});
// center bg image
centerBgImage( $fullview.find('img.bg-img') );
// fade out overlay
$overlay.stop().css( 'opacity', 0 );
// fade out clone to show the fullview panel. After that remove the clone
$clone.fadeOut( 300, function() { $clone.remove(); } );
}}));
// animate the images container to the position where is going to be on fullview
var thumbsstyle = {
left : $(window).width() - $thumbsWrapper.width() - 25 + 'px', // 25 is the margin left / right of the fullview thumbs-wrapper
top : ($(window).height() / 2) - ($thumbsWrapper.height() / 2) - 22 + 'px' // 10 is the margin top / bottom of the fullview thumbs-wrapper
};
$thumbsWrapper.stop().applyStyle( thumbsstyle, $.extend( true, [], { duration : animspeed, easing : animeasing} ) );
// fade in overlay
( anim ) ? $overlay.show().fadeTo( animspeed, 0.7, animeasing ) : $overlay.show().css( 'opacity', 0.7 );
},
// close the fullview
hideArticle = function( $article ) {
// create the article's clone. the second argument is false to prevent the clone to be removed
showArticle( $article, false );
// hide the overlay for now
$overlay.hide();
// reference to the created clone and its thumbs wrapper
var $clone = $('#article-clone'),
$thumbsWrapper = $clone.find('div.thumbs-wrapper');
// fade in the clone
$clone.hide().fadeIn( 200, function() {
// remove the contents of the fullview container
$fullview.empty();
// animate the clone to the article position and size
$(this).animate({
left : $article.offset().left + 'px',
top : $article.offset().top + 'px',
width : $article.width() + 'px',
height : $article.height() + 'px'
}, animspeed, animeasing, function() {
// remove the clone
$clone.remove();
// show the scrollbar
$('body').css( 'overflow', 'visible' );
});
// animate the clone's thumbs wrapper so it moves to the article's thumbs wrapper position
$thumbsWrapper.animate({
left : '0px',
top : '0px'
}, animspeed, animeasing);
// fade out the overlay
$overlay.show().fadeTo( animspeed, 0, animeasing, function() { $overlay.hide() } );
});
},
// gets the article's necessary info to build the fullview panel
getArticleFullviewData = function( $article ) {
return {
bgimage : '<img src="' + $article.data('bgimage') + '" class="bg-img"></img>',
title : $article.find('h2.title').text(),
thumbs : $article.find('div.thumbs').html(),
subline : $article.find('p.subline').text(),
description : $article.find('div.project-descr').html()
}
},
// used when navigating in fullview
// needs to get the next / previous article's info
showFullviewArticle = function() {
var $article = $articles.eq( current ),
articleFullviewData = getArticleFullviewData($article),
$loading = $fullview.find('span.loading-small'),
$fullviewImage = $fullview.find('img.bg-img'),
$fullviewTitle = $fullview.find('h2.title'),
$fullviewSubline = $fullview.find('p.subline'),
$fullviewDescriptionWrapper = $fullview.find('div.project-descr-full-wrapper'),
$fullviewDescription = $fullviewDescriptionWrapper.find('div.project-descr-full-content'),
$fullviewProjectDescrFull = $fullview.find('div.project-descr-full'),
$fullviewThumbsWrapper = $fullviewProjectDescrFull.find('div.thumbs-wrapper'),
$newFullviewThumbsWrapper = $('<div class="thumbs-wrapper"><div class="thumbs">' + articleFullviewData.thumbs + '</div></div>');
// preload the article's background image
$loading.show();
$( articleFullviewData.bgimage ).load(function() {
$loading.hide();
var $bgImage = $(this);
$bgImage.insertBefore( $fullviewImage );
// center the bg image
centerBgImage( $bgImage );
$fullviewImage.remove();
$fullviewTitle.html( articleFullviewData.title );
$fullviewSubline.html( articleFullviewData.subline );
$fullviewDescriptionWrapper.jScrollPane('destroy');
$fullviewDescription.html( articleFullviewData.description );
$fullviewDescriptionWrapper.jScrollPane('destroy').jScrollPane({
verticalDragMinHeight: 40,
verticalDragMaxHeight: 40
});
$fullviewThumbsWrapper.remove();
$fullviewProjectDescrFull.prepend( $newFullviewThumbsWrapper );
$newFullviewThumbsWrapper.gpCarousel();
animrun = false;
}).attr('src', $article.data('bgimage'));
},
// centers the background image
centerBgImage = function( $img ) {
var dim = getImageDim($img);
//set the returned values and show the image
$img.css({
width : dim.width + 'px',
height : dim.height + 'px',
left : dim.left + 'px',
top : dim.top + 'px'
});
},
//get dimentions of the image,
//in order to make it full size and centered
getImageDim = function($i) {
var $img = new Image();
$img.src = $i.attr('src');
var w_w = $(window).width(),
w_h = $(window).height(),
r_w = w_h / w_w,
i_w = $img.width,
i_h = $img.height,
r_i = i_h / i_w,
new_w,new_h,
new_left,new_top;
if(r_w > r_i){
new_h = w_h;
new_w = w_h / r_i;
}
else{
new_h = w_w * r_i;
new_w = w_w;
}
return {
width : new_w,
height : new_h,
left : (w_w - new_w) / 2,
top : (w_h - new_h) / 2
};
};
return {
init : init
};
})()
GridPortfolio.init();
});
</script>
</body>
</html>