There was a discovery of the following code block on your website:
// Customizing layout options.
var settings = {
autoResize: true,
container: $('#main'),
offset: 40,
itemWidth: 264
};
// Accessing grid items.
var gridItems = $('#tiles li');
// Implementing the layout function.
gridItems.wookmark(settings);
Make sure to invoke this each time you modify the list.
Javascript snippet:
function updateTable() {
var settings = {
autoResize: true,
container: $('#main'),
offset: 40,
itemWidth: 264
};
var gridItems = $('#tiles li');
gridItems.wookmark(settings);
}
$(document).ready(function() {
$('div[id*="chat-box-chats"]').hide();
updateTable();
$(".chat-box-textinput textarea").focus(function() {
$(this).parent().parent().find("#chat-box-chats").show();
updateTable();
});
$(".chat-box-textinput textarea").blur(function() {
$(this).parent().parent().find("#chat-box-chats").hide();
updateTable();
});
$(".chat-box-textinput").click(function() {
$(".chat-box-banner").show();
});
});
Check out the JsFiddle demonstration for reference: DEMO | SOURCE
Test out the Fiddle at: http://jsfiddle.net/apAAG/
Edit:
Home.js:
function updateTable() {
var settings = {
autoResize: true,
container: $('#main'),
offset: 40,
itemWidth: 264
};
var gridItems = $('#tiles li');
gridItems.wookmark(settings);
}
// Bookmark feature
$(document).ready(function() {
$('#chat-box-chats').hide();
$('#nav-status-offline').hide();
$('.chat-box-banner').hide();
// Hides certain elements upon document load
$(".chat-box-textinput").click(function(){
$("#chat-box-chats").show();
});
$("#nav-status").click(function(){
$("#nav-status-offline").show();
});
$("#nav-status").click(function(){
$("#nav-status").hide();
});
$("#nav-status-offline").click(function(){
$("#nav-status-offline").hide();
});
$("#nav-status-offline").click(function(){
$("#nav-status").show();
});
$(".chat-box-textinput").click(function(){
$(".chat-box-banner").show();
});
$('span.bookmark').click( function() {
$('span.bookmark').toggleClass("pushed");
$('span.bookmark img').toggleClass("noopacity");
});
$('textarea').each(function() {
$.data(this, 'default', this.value);
}).focus(function() {
if (!$.data(this, 'edited')) {
this.value = "";
}
}).change(function() {
$.data(this, 'edited', this.value != "");
}).blur(function() {
if (!$.data(this, 'edited')) {
this.value = $.data(this, 'default');
}
});
});
$(document).ready(function() {
$('div[id*="chat-box-chats"]').hide();
updateTable();
$(".chat-box-textinput textarea").focus(function() {
$(this).parent().parent().find("#chat-box-chats").show();
$(this).parent().parent().find(".chat-box-banner").show();
$(this).addClass("big-textarea");
updateTable();
});
$(".chat-box-textinput textarea").blur(function() {
$(this).parent().parent().find("#chat-box-chats").hide();
$(this).parent().parent().find(".chat-box-banner").hide();
$(this).removeClass("big-textarea");
updateTable();
});
});