-
Notifications
You must be signed in to change notification settings - Fork 0
/
portfolio.html
215 lines (194 loc) · 6.69 KB
/
portfolio.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
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>StleCraze</title>
<link rel="shortcut icon" type="image/x-icon" href="style/images/favicon.png" />
<link rel="stylesheet" type="text/css" href="style.css" media="all" />
<link rel="stylesheet" type="text/css" href="style/color/red.css" media="all" />
<link rel="stylesheet" type="text/css" media="screen" href="style/css/prettyPhoto.css" />
<link rel="stylesheet" type="text/css" href="style/type/museo.css" media="all" />
<link rel="stylesheet" type="text/css" href="style/type/ptsans.css" media="all" />
<link rel="stylesheet" type="text/css" href="style/type/charis.css" media="all" />
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="style/css/ie7.css" media="all" />
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="style/css/ie8.css" media="all" />
<![endif]-->
<!--[if IE 9]>
<link rel="stylesheet" type="text/css" href="style/css/ie9.css" media="all" />
<![endif]-->
<script type="text/javascript" src="style/js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="style/js/jquery.masonry.min.js"></script>
<script type="text/javascript" src="style/js/ddsmoothmenu.js"></script>
<script type="text/javascript" src="style/js/transify.js"></script>
<script type="text/javascript" src="style/js/jquery.prettyPhoto.js"></script>
<script type="text/javascript" src="style/js/jquery.superbgimage.min.js"></script>
<script type="text/javascript" src="style/js/jquery.slickforms.js"></script>
<script type="text/javascript">
jQuery(document).ready(function($){
$('.forms').dcSlickForms();
});
</script>
<script type="text/javascript">
$(document).ready(function() {
var
speed = 1000, // animation speed
$wall = $('#portfolio .items'),
masonryOptions = { // initial masonry options
itemSelector: '.box:not(.invis)',
animate: true,
animationOptions: {
duration: speed,
queue: false
}
};
$wall.imagesLoaded(function(){
$wall.masonry(masonryOptions);
// Create array of filters from link href
var arrFilter = [];
$('#filtering-nav a').each(function(){
fhash = $(this).attr('href').replace('#','');
if(fhash != 'all'){
arrFilter.push(fhash);
}
});
// Get the parameter value after the # symbol
var url=document.URL.split('#')[1];
if(url == undefined){
url = 'all';
}
$('#filtering-nav a.'+url).parent().addClass('active');
if(jQuery.inArray(url, arrFilter) > '-1'){
// set masonry options animate to false
masonryOptions.animate = false;
// hide boxes that don't match the filter class
$wall.children().not('.'+url).toggleClass('invis').hide();
}
// imageSetCss($(".box"));
// run masonry again
$wall.masonry(masonryOptions);
// imageFadeIn($(".box"));
$wall.animate({opacity: 1},1000);
});
$('#filtering-nav a').click(function(e){
var color = $(this).attr('class');
filterClass = '.' + color;
$('#filtering-nav li').removeClass('active');
$(this).parent().addClass('active');
if(filterClass=='.all') {
// show all hidden boxes
$wall.children('.invis').toggleClass('invis').fadeIn(speed);
} else {
// hide visible boxes
$wall.children().not(filterClass).not('.invis').toggleClass('invis').fadeOut(speed);
// show hidden boxes
$wall.children(filterClass+'.invis').toggleClass('invis').fadeIn(speed);
}
$wall.masonry({animate: true});
// set hash in URL
location.hash = color;
e.preventDefault();
});
});
$.fn.imagesLoaded = function(a) {
var
b=this.find("img"),
c=[],
d=this,
e=b.length;
if(!b.length){
a.call(this);
return this
}
b.one("load error",function(){
--e===0&&(e=b.length,b.one("load error",function(){
--e===0&&a.call(d)}).each(function(){
this.src=c.shift()
})
)}
).each(function(){
c.push(this.src),this.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw=="
});
return this
};
</script>
</head>
<body>
<!-- Fullscreen backgrounds -->
<div id="thumbs">
<a href="style/images/art/bg1.jpg">1</a>
<a href="style/images/art/bg2.jpg">2</a>
<a href="style/images/art/bg3.jpg">3</a>
<a href="style/images/art/bg4.jpg">4</a>
<a href="style/images/art/bg5.jpg">5</a>
<a href="style/images/art/bg6.jpg">6</a>
</div>
<div id="superbgimage">
<div class="scanlines"></div>
</div>
<!-- End Fullscreen backgrounds -->
<!-- Begin Wrapper -->
<div id="wrapper">
<div id="header">
<div class="logo"><a href="index.html"><img src="style/images/logo.png" alt="" /></a></div>
<div class="social">
<ul>
<li><a href="#"><img src="style/images/icon-facebook.png" alt="Facebook" /></a></li>
<li><a href="#"><img src="style/images/icon-twitter.png" alt="Twitter" /></a></li>
<li><a href="#"><img src="style/images/icon-googleplus.png" alt="Google+" /></a></li>
<li><a href="#"><img src="style/images/icon-tumblr.png" alt="Tumblr" /></a></li>
</ul>
</div>
</div>
<div class="clear"></div>
<!-- Begin Menu -->
<div id="menu" class="menu opacity">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="index.html">Ethnic</a>
<ul>
<li><a href="Salwars.html">Salwars</a></li>
<li><a href="Sarees.html">Sarees</a></li>
</ul>
</li>
<li><a href="index.html">Western</a>
<ul>
<li><a href="TT.html">Tops and Tees</a></li>
<li><a href="Jeans.html">Jeans</a></li>
<li><a href="Skirts.html">Skirts</a></li>
</ul>
<li><a href="index.html">Footwear</a>
<ul>
<li><a href="Heels.html">Heels</a></li>
<li><a href="Flats.html">Flats</a></li>
<li><a href="Shoes.html">Shoes</a></li>
</ul> <li><a href="index.html">Accessories</a>
<ul>
<li><a href="Bags.html">Bags</a></li>
<li><a href="Watches.html">Watches</a></li>
<li><a href="Sunglasses.html">Sunglasses</a></li>
</ul>
</li>
<li><a href="contact.html">Contact</a></li>
</ul>
<br style="clear: left" />
</div>
<!-- End Menu -->
<!-- Begin Container -->
<div id="container" class="opacity">
<h2>Our Portfolio</h2>
<p>Pellentesque congue, lorem sed pulvinar faucibus, neque elit ullamcorper mi, in pretium odio dolor et ligula. Nullam ultricies ullamcorper turpis id semper. Vestibulum vel turpis sit amet lectus tincidunt euismod. Vestibulum suscipit neque bibendum sapien auctor luctus.</p>
<div class="clear"></div>
<div id="footer">
<div class="footer-top"></div>
<div class="clear"></div>
</div>
</div>
<!-- End Container -->
</div>
<!-- End Wrapper -->
<script type="text/javascript" src="style/js/scripts.js"></script>
</body>
</html>