");
this.$href = jQuery('Visit website');
this.$detailButtonList = jQuery('');
this.$details = jQuery('').append(this.$title, this.$description, this.$detailButtonList);
this.$loading = jQuery('');
this.$fullimage = jQuery('').append(this.$loading);
this.$closePreview = jQuery('');
this.$previewInner = jQuery('').append(this.$closePreview, this.$fullimage, this.$details);
this.$previewEl = jQuery('').append(this.$previewInner);
setTimeout(function () {
jQuery(".ogtot-expander60").css('overflow-x', 'hidden');
}, (D.speed - 1));
this.$item.append(jQuery(''));
this.$item.append(this.getEl());
if (s) {
this.setTransition()
}
}, update: function (L) {
if (L) {
this.$item = L
}
if (y !== -1) {
var K = h.eq(y);
K.removeClass("ogtot-expanded60");
this.$item.addClass("ogtot-expanded60");
this.positionPreview()
}
y = this.$item.index();
if (typeof G.items[y] === "undefined") {
} else {
eldata = G.items[y];
this.$title.html(eldata.title[0]);
this.$description.html(eldata.description[0]);
this.$detailButtonList.html("");
urlList = eldata.button_list;
if (urlList.length > 0) {
for (C = 0; C < urlList.length; C++) {
var M = (urlList[C]["new_window"]) ? "_blank" : "_self";
var P = jQuery('');
P.addClass("link-button");
if (C == 0) {
P.addClass("first")
}
P.attr("href", urlList[C]["url"][0]);
P.html(urlList[C]["title"]);
this.$detailButtonList.append(P);
if (P.attr("href") == "") {
P.css("display", "none")
} else {
P.css("display", "inline")
}
}
}
var O = this;
if (typeof O.$largeImg != "undefined") {
O.$largeImg.remove()
}
glarge = eldata.large;
gthumbs = eldata.thumbnail;
gtitle = eldata.title;
gdescription = eldata.description;
glink = eldata.button_list;
if (glarge.length == gthumbs.length && glarge.length > 0) {
var i = jQuery("");
for (C = 0; C < gthumbs.length; C++) {
var I = jQuery("");
var P = jQuery('');
var J = jQuery("
");
J.addClass("related_photo");
if (C == 0) {
J.addClass("selected")
}
J.attr("src", gthumbs[C]);
J.attr("data-large", glarge[C]);
J.attr("name", gtitle[C]);
J.attr("data-desc", gdescription[C]);
J.attr("data-link", glink[0].url[C]);
P.append(J);
I.append(P);
i.append(I)
}
i.addClass("elastislidetot60-list");
i.elastislidetot60();
var N = jQuery('');
N.append(i).find(".related_photo").bind("click", function () {
N.find(".selected").removeClass("selected");
jQuery(this).addClass("selected");
$largePhoto = jQuery(this).data("large");
jQuery("
").load(function () {
O.$fullimage.find("img").fadeOut(500, function () {
jQuery(this).fadeIn(500).attr("src", $largePhoto)
})
}).attr("src", $largePhoto);
jQuery(".ogtot-details60 h3").text(N.find(".selected").attr("name"));
jQuery(".ogtot-details60 p").html(N.find(".selected").attr("data-desc"));
jQuery(".ogtot-details60 a.link-button").attr("href", N.find(".selected").attr("data-link"));
if (jQuery(".ogtot-details60 a.link-button").attr("href") == "") {
jQuery(".ogtot-details60 a.link-button").css("display", "none")
} else {
jQuery(".ogtot-details60 a.link-button").css("display", "inline")
}
});
O.$details.append('');
O.$details.append(N)
} else {
O.$details.find(".infosep, .ogtot-grid-small").remove()
}
if (O.$fullimage.is(":visible")) {
this.$loading.show();
jQuery("
").load(function () {
var Q = jQuery(this);
if (Q.attr("src") === O.$item.children("a").find("img").data("largesrc")) {
O.$loading.hide();
O.$fullimage.find("img").remove();
O.$largeImg = Q.fadeIn(350);
O.$fullimage.append(O.$largeImg)
}
}).attr("src", eldata.large[0])
}
}
}, open: function () {
setTimeout(jQuery.proxy(function () {
this.setHeights();
this.positionPreview()
}, this), 25)
}, close: function () {
var i = this, I = function () {
if (s) {
jQuery(this).off(j)
}
i.$item.removeClass("ogtot-expanded60");
i.$previewEl.remove()
};
setTimeout(jQuery.proxy(function () {
if (typeof this.$largeImg !== "undefined") {
this.$largeImg.fadeOut("fast")
}
this.$previewEl.css("height", 0);
var J = h.eq(this.expandedIdx);
J.css("height", J.data("height")).on(j, I);
if (!s) {
I.call()
}
}, this), 25);
return false
}, calcHeight: function () {
var I = D.minHeight, i = D.minHeight + this.$item.data("height") + q;
this.height = I;
this.itemHeight = i
}, setHeights: function () {
var i = this,
height_title =jQuery(this.$previewEl).find('h3').height(),
height_content =jQuery(this.$previewEl).find('p').height(),
height_img =jQuery(this.$previewEl).find('.ogtot-fullimg').height(),
height_link =jQuery(this.$previewEl).find('a').attr('href'),
height = 30,
height_div =jQuery(this.$previewEl).find('.ogtot-details').height(),
I = function () {
if (s) {
i.$item.off(j)
}
i.$item.addClass("ogtot-expanded60")
};
this.calcHeight();
if (height_link && height_title>10 && height_content < 10) height=60;
if (height_img + 60 > this.height) {
this.itemHeight += height_img +60 - this.height;
this.height += height_img +60 - this.height;
}
if (height_div > this.height) {
this.itemHeight += height_div + 30 - this.height;
this.height += height_div + 30 - this.height;
this.$previewEl.css("max-height", this.height);
}
if (height_div +60 - this.height < 0 || height_img + 60 - this.height < 0) {
if (height_div > height_img) {
this.itemHeight += height_div + height - this.height;
this.height += height_div + height - this.height;
}
else
{
this.itemHeight += height_img +60 - this.height;
this.height += height_img +60 - this.height;
}
}
if (window.matchMedia("(max-width: 820px)").matches) {
this.itemHeight += height_img + height_div + 30 - this.height;
this.height += height_img + height_div + 30 - this.height;
this.$previewEl.css("max-height", this.height);
}
this.$previewEl.css("height", this.height);
this.$item.css("height", this.itemHeight).on(j, I);
if (!s) {
I.call()
}
}, positionPreview: function () {
var I = this.$item.data("offsetTop"), i = this.$previewEl.offset().top - F,
J = this.height + this.$item.data("height") + q <= d.height ? I : this.height < d.height ? i - (d.height - this.height) : i;
A.animate({scrollTop: J}, D.speed)
}, setTransition: function () {
this.$previewEl.css("transition", "height " + D.speed + "ms " + D.easing);
this.$item.css("transition", "height " + D.speed + "ms " + D.easing)
}, getEl: function () {
return this.$previewEl
}
};
k.imagesLoaded(function () {
r(true);
b();
n()
})
}
});
#HappyPongal Wishes GIF for Latest smartphone (Android as well as iPhone).
If you are looking for Pongal Wishes Images in Tamil. Then, You are in the right place.