25 lines
374 B
JavaScript
25 lines
374 B
JavaScript
|
var currentScroll = 0;
|
||
|
|
||
|
$(function() {
|
||
|
|
||
|
$('#games').imagesLoaded(function() {
|
||
|
$('#games').masonry({
|
||
|
//columnWidth: 200,
|
||
|
itemSelector: '.entry',
|
||
|
isFitWidth: true,
|
||
|
gutter: 0
|
||
|
});
|
||
|
});
|
||
|
|
||
|
$('#games div.entry a').click(function()
|
||
|
{
|
||
|
$('#overlay').show();
|
||
|
});
|
||
|
|
||
|
$('#overlay button').click(function()
|
||
|
{
|
||
|
$('#overlay').hide();
|
||
|
});
|
||
|
//$('#overlay').hide();
|
||
|
|
||
|
});
|