Celebrate Eid but don’t forget moderation in food
As soon as the crescent of Eid is seen, where there is chaos everywhere, the women busy with household affairs focus on the menu of the Eid feast so that there is no shortage of food for the sake of the guests.
setTimeout(function(){
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version=’2.0′;
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window,document,’script’,
‘https://connect.facebook.net/en_US/fbevents.js’);
fbq(‘init’, ‘836181349842357’);
fbq(‘track’, ‘PageView’);
}, 6000);
/*setTimeout(function(){
(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s);
js.id = id;
js.src = “//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.11&appId=580305968816694”;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));
}, 4000);*/
const jqueryIntervalcount = setInterval(function () {
if(typeof jQuery !== “undefined”){
clearInterval(jqueryIntervalcount);
if(jQuery(‘.infogram-embed’).length > 0 || jQuery(’embedinfogram’).length > 0)
{
!function (e, t, n, s) {
var i = “InfogramEmbeds”, o = e.getElementsByTagName
if (/^\/{2}/.test(s) && (s = d + s), window[i] && window[i].initialized)window[i].process && window[i].process(); else if (!e.getElementById(n)) {
var a = e.createElement
a.async = 1, a.id = n, a.src = s, o.parentNode.insertBefore(a, o)
}
}(document, “script”, “infogram-async”, “https://e.infogram.com/js/dist/embed-loader-min.js”);
}
if($(‘.apester-media’).length > 0)
{
var scriptElement=document.createElement(‘script’);
scriptElement.type=”text/javascript”;
scriptElement.setAttribute=”async”;
scriptElement.src=”https://static.apester.com/js/sdk/latest/apester-sdk.js”;
document.body.appendChild(scriptElement);
}
if($(‘.twitter-tweet’).length > 0)
{
var tweetObj = document.getElementsByClassName(‘tweetPost’);
var counter_tweet = 0;
if (tweetObj.length == 0) {
tweetObj = document.getElementsByClassName(‘twitter-tweet’);
$.each(tweetObj, function (i, v) {
$(this).attr(‘id’, ‘twitter-post-widget-‘ + i);
});
} else {
$.each(tweetObj, function (i, v) {
if($(this).find(‘.twitter-tweet’).length > 0){
$(this).find(‘.twitter-tweet’).attr(‘id’, ‘twitter-post-widget-‘ + counter_tweet);
counter_tweet++;
}
});
}
$.getScript(‘https://platform.twitter.com/widgets.js’, function () {
var k = 0;
var tweet = document.getElementById(‘twitter-post-widget-‘ + k);
var tweetParent, tweetID;
while (tweet) {
tweetParent = tweet.parentNode;
//tweetID = tweet.dataset.tweetId;
tweetID = tweetParent.getAttribute(“id”);
if(tweetID === null){
tweetID = tweet.dataset.tweetId;
}
//var tweetVideoClass = tweet.getAttribute(‘class’).split(‘ ‘)[0];
$(tweet).remove();
twttr.widgets.createTweet(
tweetID,
tweetParent
);
k++;
tweet = document.getElementById(‘twitter-post-widget-‘ + k);
}
});
/*==============*/
var tweetObjVid = document.getElementsByClassName(‘tweetVideo’);
var counter_tweet = 0;
if (tweetObjVid.length == 0) {
tweetObjVid = document.getElementsByClassName(‘twitter-video’);
$.each(tweetObjVid, function (i, v) {
$(this).attr(‘id’, ‘twitter-vid-widget-‘ + i);
});
} else {
$.each(tweetObjVid, function (i, v) {
if($(this).find(‘.twitter-video’).length > 0){
$(this).find(‘.twitter-tweet’).attr(‘id’, ‘twitter-vid-widget-‘ + counter_tweet);
counter_tweet++;
}
});
}
$.getScript(‘//platform.twitter.com/widgets.js’, function () {
var v = 0;
var tweetVid = document.getElementById(‘twitter-vid-widget-‘ + v);
var tweetParentVid, tweetIDVid;
while (tweetVid) {
tweetParentVid = tweetVid.parentNode;
//tweetIDVid = tweetVid.dataset.tweetId;
tweetIDVid = tweetParentVid.getAttribute(“id”);
if(tweetIDVid === null){
tweetIDVid = tweet.dataset.tweetId;
}
$(tweetVid).remove();
twttr.widgets.createVideo(
tweetIDVid,
tweetParentVid
);
v++;
tweetVid = document.getElementById(‘twitter-vid-widget-‘ + v);
}
});
}
if($(‘.instagram-media’).length > 0){
var scriptElement=document.createElement(‘script’);
scriptElement.type=”text/javascript”;
scriptElement.setAttribute=”async”;
scriptElement.src=”https://platform.instagram.com/en_US/embeds.js”;
document.body.appendChild(scriptElement);
}
if($(‘.tiktok-embed’).length > 0){
var scriptElement=document.createElement(‘script’);
scriptElement.type=”text/javascript”;
scriptElement.setAttribute=”async”;
scriptElement.src=”https://www.tiktok.com/embed.js”;
document.body.appendChild(scriptElement);
}
if($(‘.fb-video’).length > 0 || $(‘.fb-post’).length > 0){
var container_width = $(window).width();
if(container_width 0){
let embed_url = $(‘.fb-video’).attr(‘data-href’);
let htmla=”
‘;
$(‘.fb-video’).parent(‘.embed_external_url’).html(htmla);
}
else{
let embed_url = $(‘.fb-video’).attr(‘data-href’);
let htmla=”
‘;
}
}
var scriptElement=document.createElement(‘script’);
scriptElement.type=”text/javascript”;
scriptElement.setAttribute=”async”;
scriptElement.src=”https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.11&appId=580305968816694″;
document.body.appendChild(scriptElement);
}
}
},100); var story_embed_gallery = $(‘.detail_gallery’).find(‘.embedgallery’).length;
if(story_embed_gallery > 0){
var styleElement=document.createElement(‘link’);
styleElement.type=”text/css”;
styleElement.rel=”stylesheet”;
styleElement.href=”https://jang.com.pk/assets/front/css/swiper-bundle.min.css”;
document.head.appendChild(styleElement);
var styleElement=document.createElement(‘link’);
styleElement.type=”text/css”;
styleElement.rel=”stylesheet”;
styleElement.href=”https://jang.com.pk/assets/front/css/colorbox.css”;
document.head.appendChild(styleElement);
}
if($(“#theNewsWidget”).length > 0){
/*$(“#theNewsWidget”).load(“https://www.thenews.com.pk/get_entertainment_news_widget”);*/
/*$(“#theNewsWidget”).load(“https://gadinsider.com/latest-posts”);*/
//$(“#theNewsWidget”).load(“https://jang.com.pk/jang_english_news”);
}