-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·573 lines (525 loc) · 27.3 KB
/
index.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
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="assets/ico/favicon.ico">
<title>SOLID - Bootstrap 3 Theme</title>
<!-- Bootstrap core CSS -->
<link href="assets/css/bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="assets/css/style.css" rel="stylesheet">
<link href="assets/css/font-awesome.min.css" rel="stylesheet">
<!-- Just for debugging purposes. Don't actually copy this line! -->
<!--[if lt IE 9]>
<script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script src="assets/js/modernizr.js"></script>
</head>
<body>
<!-- Fixed navbar -->
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!--<a class="navbar-brand" href="index.html">SOLID.</a>-->
</div>
<div class="navbar-collapse collapse navbar-right">
<ul class="nav navbar-nav">
<li class="active"><a href="index.html">HOME</a></li>
<li><a href="about.html">ABOUT</a></li>
<li><a href="contact.html">CONTACT</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">PAGES <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="blog.html">BLOG</a></li>
<li><a href="single-post.html">SINGLE POST</a></li>
<li><a href="portfolio.html">PORTFOLIO</a></li>
<li><a href="single-project.html">SINGLE PROJECT</a></li>
</ul>
</li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
<!-- *****************************************************************************************************************
HEADERWRAP
***************************************************************************************************************** -->
<div id="headerwrap">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h3>Welcome to</h3>
<h1>DI'S DAYCARE</h1>
<h5>The nicest childminding service in east Belfast</h5>
<!--<h5>Conviently based close to all local schools and main routes into the city</h5>-->
</div>
<div class="col-lg-12 himg">
<img src="assets/img/babywide.png" class="img-responsive">
</div>
</div><!-- /row -->
</div> <!-- /container -->
</div><!-- /headerwrap -->
<!-- *****************************************************************************************************************
SERVICE LOGOS
***************************************************************************************************************** -->
<div id="service">
<div class="container">
<div class="row centered">
<div class="col-md-3">
<i class="fa fa-heart-o"></i>
<h4>Loving Care</h4>
<p>At Di's Daycare I provide a loving and safe environment for your child. I have always adored children which has driven my desire to become a childminder and create ‘Di’s Daycare’ </p>
<!--<p><br/><a href="#" class="btn btn-theme">More Info</a></p>-->
</div>
<div class="col-md-3">
<i class="fa fa-child"></i>
<h4>Child Friendly</h4>
<p>My home is full of wonderful experiences for boys and girls of all ages. I have a spacious home with a dedicated play room
filled with all sorts of toys for kids of all ages. I am mum to boys, Zach and Oliver, so know what it takes to keep kids amused and entertained.</p>
<!--<p><br/><a href="#" class="btn btn-theme">More Info</a></p>-->
</div>
<div class="col-md-3">
<i class="fa fa-cutlery"></i>
<h4>Lunch and healthy snacks</h4>
<p>I cook healthy, nutritious snacks and meals for all children. I strongly believe that children know
their own tastes and appetites. I never force food on any kids. They will be offered healthy,
wholesome, varied meals, and can decide weather to eat or not. Although no dinner also means no
pudding.</p>
<!--<p><br/><a href="#" class="btn btn-theme">More Info</a></p>-->
</div>
<div class="col-md-3">
<i class="fa fa-futbol-o"></i>
<h4>Outside play</h4>
<p>Outside play is so important for childrens health and social skills. I have a secure garden area,
completely fenced, with a double sized jungle gym and slide. I have a number of outside toys
appropriate for children of all ages.
I love visiting and participating in the local events and activities that Belfast has to offer.</p>
<!--<p><br/><a href="#" class="btn btn-theme">More Info</a></p>-->
</div>
</div>
</div>
<div class="container">
<div class="row centered">
<div class="col-md-3">
<i class="fa fa-paw"></i>
<h4>Dusty</h4>
<p>The family pet is a lovable cat called Dusty. He lives outside the house during the day time
but will play garden games outdoors.</p>
<!--<p><br/><a href="#" class="btn btn-theme">More Info</a></p>-->
</div>
<div class="col-md-3">
<i class="fa fa-bed"></i>
<h4>Sleepy Time</h4>
<p>I have a dedicated sleep area for little ones who still need a rest during the day.</p>
<!--<p><br/><a href="#" class="btn btn-theme">More Info</a></p>-->
</div>
<div class="col-md-3">
<i class="fa fa-home"></i>
<h4>Location</h4>
<p>I live on the Belmont Road. Right beside the primary school. I am within walking distance of all the fantastic local primary schools, minimizing car journeys for school pick-ups.
</p>
<!--<p><br/><a href="#" class="btn btn-theme">More Info</a></p>-->
</div>
<div class="col-md-3">
<i class="fa fa-clock-o"></i>
<h4>Working Hours</h4>
<p>For your convenience I can accept children from 7am to 6pm Monday - Friday. Contact me to discuss your needs.
</p>
<!--<p><br/><a href="#" class="btn btn-theme">More Info</a></p>-->
</div>
</div>
</div>
<! --/container -->
</div>
<! --/service -->
<!-- *****************************************************************************************************************
PORTFOLIO SECTION
***************************************************************************************************************** -->
<div id="portfoliowrap">
<h3>MY HOME</h3>
<div class="portfolio-centered">
<div class="recentitems portfolio">
<div class="portfolio-item graphic-design">
<div class="he-wrap tpl6">
<img src="assets/img/portfolio/Junglegym.png" alt="">
<div class="he-view">
<div class="bg a0" data-animate="fadeIn">
<h3 class="a1" data-animate="fadeInDown">Jungle gym & slide</h3>
<a data-rel="prettyPhoto" href="assets/img/portfolio/Junglegym.png" class="dmbutton a2"
data-animate="fadeInUp"><i class="fa fa-search"></i></a>
<!--<a href="single-project.html" class="dmbutton a2" data-animate="fadeInUp"><i-->
<!--class="fa fa-link"></i></a>-->
</div><!-- he bg -->
</div><!-- he view -->
</div><!-- he wrap -->
</div><!-- end col-12 -->
<div class="portfolio-item web-design">
<div class="he-wrap tpl6">
<img src="assets/img/portfolio/theBoys.png" alt="">
<div class="he-view">
<div class="bg a0" data-animate="fadeIn">
<h3 class="a1" data-animate="fadeInDown">The Boys</h3>
<a data-rel="prettyPhoto" href="assets/img/portfolio/theBoys.png" class="dmbutton a2"
data-animate="fadeInUp"><i class="fa fa-search"></i></a>
<!--<a href="single-project.html" class="dmbutton a2" data-animate="fadeInUp"><i-->
<!--class="fa fa-link"></i></a>-->
</div><!-- he bg -->
</div><!-- he view -->
</div><!-- he wrap -->
</div><!-- end col-12 -->
<div class="portfolio-item graphic-design">
<div class="he-wrap tpl6">
<img src="assets/img/portfolio/jungleGymClose.jpeg" alt="">
<div class="he-view">
<div class="bg a0" data-animate="fadeIn">
<h3 class="a1" data-animate="fadeInDown">Jungle Gym</h3>
<a data-rel="prettyPhoto" href="assets/img/portfolio/jungleGymClose.jpeg" class="dmbutton a2"
data-animate="fadeInUp"><i class="fa fa-search"></i></a>
<!--<a href="single-project.html" class="dmbutton a2" data-animate="fadeInUp"><i-->
<!--class="fa fa-link"></i></a>-->
</div><!-- he bg -->
</div><!-- he view -->
</div><!-- he wrap -->
</div><!-- end col-12 -->
<div class="portfolio-item graphic-design">
<div class="he-wrap tpl6">
<img src="assets/img/portfolio/backyardLeft.jpg" alt="">
<div class="he-view">
<div class="bg a0" data-animate="fadeIn">
<h3 class="a1" data-animate="fadeInDown">Grassy Backyard</h3>
<a data-rel="prettyPhoto" href="assets/img/portfolio/backyardLeft.jpg" class="dmbutton a2"
data-animate="fadeInUp"><i class="fa fa-search"></i></a>
<!--<a href="single-project.html" class="dmbutton a2" data-animate="fadeInUp"><i-->
<!--class="fa fa-link"></i></a>-->
</div><!-- he bg -->
</div><!-- he view -->
</div><!-- he wrap -->
</div><!-- end col-12 -->
<div class="portfolio-item books">
<div class="he-wrap tpl6">
<img src="assets/img/portfolio/backyardRight.jpeg" alt="">
<div class="he-view">
<div class="bg a0" data-animate="fadeIn">
<h3 class="a1" data-animate="fadeInDown">Secure</h3>
<a data-rel="prettyPhoto" href="assets/img/portfolio/backyardRight.jpeg" class="dmbutton a2"
data-animate="fadeInUp"><i class="fa fa-search"></i></a>
<!--<a href="single-project.html" class="dmbutton a2" data-animate="fadeInUp"><i-->
<!--class="fa fa-link"></i></a>-->
</div><!-- he bg -->
</div><!-- he view -->
</div><!-- he wrap -->
</div><!-- end col-12 -->
<div class="portfolio-item graphic-design">
<div class="he-wrap tpl6">
<img src="assets/img/portfolio/jamesTrain.jpg" alt="">
<div class="he-view">
<div class="bg a0" data-animate="fadeIn">
<h3 class="a1" data-animate="fadeInDown">Thomas & Friends</h3>
<a data-rel="prettyPhoto" href="assets/img/portfolio/jamesTrain.jpg" class="dmbutton a2"
data-animate="fadeInUp"><i class="fa fa-search"></i></a>
<!--<a href="single-project.html" class="dmbutton a2" data-animate="fadeInUp"><i-->
<!--class="fa fa-link"></i></a>-->
</div><!-- he bg -->
</div><!-- he view -->
</div><!-- he wrap -->
</div><!-- end col-12 -->
<div class="portfolio-item books">
<div class="he-wrap tpl6">
<img src="assets/img/portfolio/map.jpg" alt="">
<div class="he-view">
<div class="bg a0" data-animate="fadeIn">
<h3 class="a1" data-animate="fadeInDown">Our Location</h3>
<a data-rel="prettyPhoto" href="assets/img/portfolio/map.jpg" class="dmbutton a2"
data-animate="fadeInUp"><i class="fa fa-search"></i></a>
<a href="https://www.google.com/maps/place/201+Belmont+Rd,+Belfast+BT4+2AG,+UK/@54.5992458,-5.8700433,504m/data=!3m2!1e3!4b1!4m5!3m4!1s0x48610981e2013d65:0xf865952147a4a56e!8m2!3d54.5992427!4d-5.8678546!6m1!1e1" class="dmbutton a2" data-animate="fadeInUp"><i
class="fa fa-link"></i></a>
</div><!-- he bg -->
</div><!-- he view -->
</div><!-- he wrap -->
</div><!-- end col-12 -->
<div class="portfolio-item graphic-design">
<div class="he-wrap tpl6">
<img src="assets/img/portfolio/portfolio_08.jpg" alt="">
<div class="he-view">
<div class="bg a0" data-animate="fadeIn">
<h3 class="a1" data-animate="fadeInDown">A Graphic Design Item</h3>
<a data-rel="prettyPhoto" href="assets/img/portfolio/portfolio_08.jpg" class="dmbutton a2"
data-animate="fadeInUp"><i class="fa fa-search"></i></a>
<a href="single-project.html" class="dmbutton a2" data-animate="fadeInUp"><i
class="fa fa-link"></i></a>
</div><!-- he bg -->
</div><!-- he view -->
</div><!-- he wrap -->
</div><!-- end col-12 -->
<div class="portfolio-item web-design">
<div class="he-wrap tpl6">
<img src="assets/img/portfolio/portfolio_01.jpg" alt="">
<div class="he-view">
<div class="bg a0" data-animate="fadeIn">
<h3 class="a1" data-animate="fadeInDown">A Web Design Item</h3>
<a data-rel="prettyPhoto" href="assets/img/portfolio/portfolio_01.jpg" class="dmbutton a2"
data-animate="fadeInUp"><i class="fa fa-search"></i></a>
<a href="single-project.html" class="dmbutton a2" data-animate="fadeInUp"><i
class="fa fa-link"></i></a>
</div><!-- he bg -->
</div><!-- he view -->
</div><!-- he wrap -->
</div><!-- end col-12 -->
<div class="portfolio-item books">
<div class="he-wrap tpl6">
<img src="assets/img/portfolio/portfolio_10.jpg" alt="">
<div class="he-view">
<div class="bg a0" data-animate="fadeIn">
<h3 class="a1" data-animate="fadeInDown">A Book Design Item</h3>
<a data-rel="prettyPhoto" href="assets/img/portfolio/portfolio_10.jpg" class="dmbutton a2"
data-animate="fadeInUp"><i class="fa fa-search"></i></a>
<a href="single-project.html" class="dmbutton a2" data-animate="fadeInUp"><i
class="fa fa-link"></i></a>
</div><!-- he bg -->
</div><!-- he view -->
</div><!-- he wrap -->
</div><!-- end col-12 -->
</div><!-- portfolio -->
</div><!-- portfolio container -->
</div><!--/Portfoliowrap -->
<!-- *****************************************************************************************************************
MIDDLE CONTENT
***************************************************************************************************************** -->
<!--<div class="container mtb">-->
<!--<div class="row">-->
<!--<div class="col-lg-4 col-lg-offset-1">-->
<!--<h4>More About Our Agency.</h4>-->
<!--<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. </p>-->
<!--<p><br/><a href="about.html" class="btn btn-theme">More Info</a></p>-->
<!--</div>-->
<!---->
<!--<div class="col-lg-3">-->
<!--<h4>Frequently Asked</h4>-->
<!--<div class="hline"></div>-->
<!--<p><a href="#">How cool is this theme?</a></p>-->
<!--<p><a href="#">Need a nice good-looking site?</a></p>-->
<!--<p><a href="#">Is this theme retina ready?</a></p>-->
<!--<p><a href="#">Which version of Font Awesome uses?</a></p>-->
<!--<p><a href="#">Free support is integrated?</a></p>-->
<!--</div>-->
<!---->
<!--<div class="col-lg-3">-->
<!--<h4>Latest Posts</h4>-->
<!--<div class="hline"></div>-->
<!--<p><a href="single-post.html">Our new site is live now.</a></p>-->
<!--<p><a href="single-post.html">Retina ready is not an option.</a></p>-->
<!--<p><a href="single-post.html">Bootstrap 3 framework is the best.</a></p>-->
<!--<p><a href="single-post.html">You need this theme, buy it now.</a></p>-->
<!--<p><a href="single-post.html">This theme is what you need.</a></p>-->
<!--</div>-->
<!---->
<!--</div><! --/row –>-->
<!--</div><! --/container –>-->
<!-- *****************************************************************************************************************
TESTIMONIALS
***************************************************************************************************************** -->
<div id="twrap">
<div class="container centered">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<i class="fa fa-smile-o"></i>
<h4><br/>About Me</h4>
<p>Hi, my name is Diana.</p>
<p>I am married with two beautiful boys. I have always adored children which has driven my desire to become a childminder and create ‘Di’s Daycare’. My aim is to create a ‘home from home’ environment for your child yet ensure they still receive the stimulation and development opportunities that they would in a day nursery.
I am a certified <i class="fa fa-graduation-cap fa-fw" aria-hidden="true"></i> rainbow kids yoga teacher so even on wet days when we can’t get out and about I have plenty of fun games and songs to keep your little one entertained.
</p>
<p>
Having returned to work twice after having both my children I understand how stressful and difficult it can be finding the right childcare provider so please get in touch with any questions/queries or to arrange a visit with your little one.
I operate Monday to Friday, opening hours are 7am – 6pm.
I currently have spaces for full/part time/after school places from November 2016 (when I will be officially registered with NICMA).
.</p>
<h4><br/>Regards<br/>Diana</h4>
<!--<p>WEB DESIGNER - BLACKTIE.CO</p>-->
</div>
</div><! --/row -->
</div><! --/container -->
</div><! --/twrap -->
<!-- *****************************************************************************************************************
CONTACT FORMS
***************************************************************************************************************** -->
<div class="container mtb">
<div class="row">
<div class="col-lg-8">
<h4>Just Get In Touch!</h4>
<div class="hline"></div>
<p>Fill in your details below and I will contact you shortly. Thank you.</p>
<form role="form">
<div class="form-group">
<label for="InputName1">Your Name</label>
<input type="email" class="form-control" id="InputName1">
</div>
<div class="form-group">
<label for="InputEmail1">Email address</label>
<input type="email" class="form-control" id="InputEmail1">
</div>
<div class="form-group">
<label for="InputSubject1">Subject</label>
<input type="email" class="form-control" id="InputSubject1">
</div>
<div class="form-group">
<label for="message1">Message</label>
<textarea class="form-control" id="message1" rows="3"></textarea>
</div>
<button type="submit" class="btn btn-theme">Submit</button>
</form>
</div>
<! --/col-lg-8 -->
<div class="col-lg-4">
<h4>Our Address</h4>
<div class="hline"></div>
<p>
201 Belmont Road<br/>
Belfast,<br/>
United Kingdom.<br/>
</p>
<p>
Email: [email protected]<br/>
Tel: 07966585766
</p>
</div>
</div>
<! --/row -->
</div>
<! --/container -->
<!-- *****************************************************************************************************************
FOOTER
***************************************************************************************************************** -->
<div id="footerwrap">
<div class="container">
<div class="row">
<div class="col-lg-4">
<h4>About</h4>
<div class="hline-w"></div>
<p>Feel free to contact me to discuss your needs and ask any questions you may have. I am happy to
answer any questions you may have.
</p>
<p>Regards Diana
</p>
</div>
<div class="col-lg-4">
<h4>Social Links</h4>
<div class="hline-w"></div>
<p>
<!--<a href="#"><i class="fa fa-dribbble"></i></a>-->
<a href="#"><i class="fa fa-facebook"></i></a>
<!--<a href="#"><i class="fa fa-twitter"></i></a>-->
<!--<a href="#"><i class="fa fa-instagram"></i></a>-->
<!--<a href="#"><i class="fa fa-tumblr"></i></a>-->
</p>
</div>
<div class="col-lg-4">
<h4>Our Address</h4>
<div class="hline-w"></div>
<p>
201 Belmont Road,<br/>
Belfast,<br/>
United Kingdom.<br/>
</p>
</div>
</div>
<! --/row -->
</div>
<! --/container -->
</div>
<! --/footerwrap -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/retina-1.1.0.js"></script>
<script src="assets/js/jquery.hoverdir.js"></script>
<script src="assets/js/jquery.hoverex.min.js"></script>
<script src="assets/js/jquery.prettyPhoto.js"></script>
<script src="assets/js/jquery.isotope.min.js"></script>
<script src="assets/js/custom.js"></script>
<script>
// Portfolio
(function ($) {
"use strict";
var $container = $('.portfolio'),
$items = $container.find('.portfolio-item'),
portfolioLayout = 'fitRows';
if ($container.hasClass('portfolio-centered')) {
portfolioLayout = 'masonry';
}
$container.isotope({
filter: '*',
animationEngine: 'best-available',
layoutMode: portfolioLayout,
animationOptions: {
duration: 750,
easing: 'linear',
queue: false
},
masonry: {}
}, refreshWaypoints());
function refreshWaypoints() {
setTimeout(function () {
}, 1000);
}
$('nav.portfolio-filter ul a').on('click', function () {
var selector = $(this).attr('data-filter');
$container.isotope({filter: selector}, refreshWaypoints());
$('nav.portfolio-filter ul a').removeClass('active');
$(this).addClass('active');
return false;
});
function getColumnNumber() {
var winWidth = $(window).width(),
columnNumber = 1;
if (winWidth > 1200) {
columnNumber = 5;
} else if (winWidth > 950) {
columnNumber = 4;
} else if (winWidth > 600) {
columnNumber = 3;
} else if (winWidth > 400) {
columnNumber = 2;
} else if (winWidth > 250) {
columnNumber = 1;
}
return columnNumber;
}
function setColumns() {
var winWidth = $(window).width(),
columnNumber = getColumnNumber(),
itemWidth = Math.floor(winWidth / columnNumber);
$container.find('.portfolio-item').each(function () {
$(this).css({
width: itemWidth + 'px'
});
});
}
function setPortfolio() {
setColumns();
$container.isotope('reLayout');
}
$container.imagesLoaded(function () {
setPortfolio();
});
$(window).on('resize', function () {
setPortfolio();
});
})(jQuery);
</script>
</body>
</html>