Sonakshi Sinha and Alia Bhatt

Spread the love


People


From festive must-haves to casual staples

Best-dressed-this-week-Sonakshi-Sinha-and-Alia-Bhatt

Kajol’s next film, Helicopter Eela, is all set to hit theatres on September 7 and this week, the actor kicked off the movie’s promotions in a wedding-ready Anamika Khanna. Just like her, Sonakshi Sinha, Diana Penty and Shraddha Kapoor stepped out for promotions recently too. While Sinha met her fans in a printed crop top + trouser set by Anita Dongre Grassroot, Penty opted for a draped sari-style Abraham & Thakore ensemble and Kapoor spread the word about Stree in Saaksha & Kinni separates. Among the stars who went with more laid-back looks this week, Kareena Kapoor Khan was unmissable in her fiery red animal print shirt, and both Alia Bhatt and Anushka Sharma showed us new ways to style the evergreen white T-shirt + jeans combination.

During her brief time off in Mumbai this week, Bhatt and her BFF Akanksha Ranjan Kapoor took their mothers out for lunch in BKC, and for the lunch date, Bhatt went with a tee that will bring back your favourite memories of a particular American TV show. Find out more about her OOTD below.

Big fan of the TV show Friends? You need a T-shirt just like Alia Bhatt’s

It’s safe to say that Bollywood is never breaking up with the classic white T-shirt + jeans combination. This year alone, we’ve seen Karisma Kapoor work the look on a flight to Mumbai, Shweta Bachchan Nanda give it a quirky spin at the Gully Boy wrap-up party, Parineeti Chopra make the outfit look office-ready by layering it with an ivory blazer, and in January, we even saw Deepika Padukone twinning with little sister Anisha Padukone in the staples. Alia Bhatt is no stranger to laid-back white tees and denims either. Remember how she wore the combo while promoting Raazi in April?

Since the release of Raazi, Bhatt has been busy travelling through Bulgaria with beau (and Brahmastra co-star) Ranbir Kapoor, and is now finally back in Mumbai. The actor spent her first weekend at home grabbing lunch in BKC with mother Soni Razdan, for which she once again went with a roomy white tee and jeans. And if you happen to be a fan of the American sitcom Friends, you’re going to love the print on her T-shirt. Take a closer look at Bhatt’s top and you’ll spot runaway bride Rachel Greene sitting on a couch in Central Perk with Monica Gellar, Phoebe Buffay and Ross Gellar.

For her afternoon out, Alia Bhatt wore the Friends T-shirt with ripped skinny jeans, and dressed her look up with studded nude stilettos and a sling bag from Chloé. Find out where you can buy separates like hers below.

Alia-Bhatt-in-Zara-and-Chloe-in-Mumbai

Want more white T-shirts in your wardrobe? If you have a thing for oversized silhouettes, you can’t miss out on Anushka Sharma’s latest travel look, the perfect blend of casual and cool. Spoiler: her outfit looks so comfy, you’ll probably want to wear it forever.

Anushka Sharma’s airport outfit is so comfortable, you can sleep in it

Ever since Anushka Sharma tied the knot with Virat Kohli in Tuscany in December 2017, the actor has made it a point to accompany and support her husband during his work travels as often as possible. Most recently, Sharma was seen hanging out with Kohli in London, where the Indian cricket team is currently touring. But with her next film’s release just around the corner, Sharma has now returned to Mumbai to kickstart her promotional commitments. The star will soon be seen in Sui Dhaaga, opposite Varun Dhawan.

For her flight back to India, Anushka Sharma kept her look so comfortable, her outfit looks cosy enough to nap in. The actor has always been a fan of easy casual looks and if your aesthetic is similar to hers, you’re going to love her latest OOTD. Sharma stepped out of Mumbai’s arrivals terminal in roomy ripped jeans topped off with an oversized white T-shirt that almost reached her knees. To add to that, she went with a handy grey tote and white sneakers. In case you need a recap, the classic white T-shirt + jeans combo is a favourite with the stars right now. We’ve seen everyone from Parineeti Chopra to Alia Bhatt and Janhvi Kapoor working the look recently.

It comes as no surprise that Sharma went with oversized separates for her 10-hour flight. In the past, the star has confessed to hating body-hugging ensembles. “I don’t like wearing tight dresses, I feel very uncomfortable in body cons. It just doesn’t suit me,” says Sharma. “I’ve gone to my friends’ parties wearing pyjamas in the past, and I felt damn cool. So many times, people have made fun of me, saying ‘How can you wear this and come?’ and I’m like, ‘So what? I’m feeling damn good in this!’”

Love Sharma’s laid-back look? Get something similar now.

Anushka-Sharma-at-Mumbai-airport

Just like Bhatt and Sharma, white won Malaika Arora’s vote this week too. The actor gave slinky jumpsuits and crop tops a break for a feminine ivory midi dress that works for just about any outing.

Sundowners to dinner dates: Malaika Arora’s dress works for every occasion

The little black dress will always be a favourite, but every once in a while, one wants to take a break from the usual. Enter the party-ready white dress, a look that can be as versatile as your trusty LBD. Don’t believe us? Just ask Malaika Arora. The actor stepped out recently for her mother Joyce Polycarp’s birthday in Mumbai, and her LWD is one you’re likely to add to your must-haves list.

Joined by Arbaaz Khan, Shakeel Ladak, and her sister Amrita Arora Ladak, Arora celebrated Polycarp’s birthday wearing a one-shoulder ivory number that was anything but simple. The fit-and-flare midi was crafted out of laser-cut fabric that instantly took it from basic to edgy. Arora wore the dress with matching white sandals (don’t miss the cut-out details on her shoes too!), and a nude clutch. To add a pop of colour to her look, the actor went with a bold scarlet lip colour, and left the rest of her face bare.

In the past, Malaika Arora has proven to be a big fan of all-white ensembles. After picking a semi-sheer ivory maxi at the airport in May, she was also seen at a family dinner in BKC wearing a white crop top + trouser set in June. But if her latest white OOTD is the one that’s caught your eye, we know where you can shop a fun number similar to hers. Wear it for Sunday brunch, an all-girls dinner, a rooftop sundowner or even for your next family dinner. This one’s a winner for every occasion.

Malaika-Arora-in-Mumbai1

One of the few stars to don a loud colour this week was Kajol, and it comes as no surprise that the hue she chose was yellow. How did she wear the cheery colour? Take notes for your next big wedding.

Mehandi, sangeet or reception: Where would you wear Kajol’s latest outfit?

Barely a week is going by this year without a Bollywood or Hollywood celebrity stepping out in a bold yellow outfit. Over the past few months, the colour has caught almost every star’s fancy. We’ve seen Kareena Kapoor Khan walk the red carpet in a pink and yellow Masaba sari, Kriti Sanon in a chrome yellow tea skirt, Priyanka Chopra in a lemon Rochas number, Deepika Padukone in that sheer mustard blouse, and that’s just the beginning of the list. If you thought that stars would soon tire of the hue, you can’t be more wrong.

Recently, Kajol made a public appearance with husband Ajay Devgn for the release of her upcoming film Helicopter Eela’s trailer. Produced by Devgn, the film tells the story of a single mother who also happens to be an aspiring singer, and is slated to hit theatres on September 7. For the special occasion, Kajol met her fans in a draped sari-style Anamika Khanna ensemble in a pretty shade of yellow, which was topped off with a matching floor-length jacket. What makes Anamika Khanna’s creations so special is their versatility. While the cheery colour of Kajol’s outfit makes it perfect for a poolside mehandi celebration, the look would also make an appropriate choice for a sangeet celebration or even a post-wedding brunch.

For her day out, Kajol wore the Anamika Khanna ensemble with eye-catching gold earrings, and kept her makeup simple. Voluminous side-swept waves completed her look for the day. Can’t wait to get your hands on an outfit like hers? Start shopping now!

 

Kajol-in-Anamika-Khanna-Inaayat-and-Stella-with-Ajay-Devgn-in-Mumbai

Missed what Leighton Meester, Yara Shahidi and Janhvi Kapoor wore this week? Catch up now.

1 / 11

Janhvi-Kapoor-at-the-Dhadak-success-party-in-Mumbai1

2 / 11

Kareena-Kapoor-Khan-carrying-a-Chanel-bag-at-Hakkasan-in-Mumbai1

Kareena Kapoor Khan carrying a Chanel bag

3 / 11

Alia-Bhatt-in-Zara-and-Chloe-in-Mumbai2

Alia Bhatt in Zara and Chloé

4 / 11

Anushka-Sharma-at-Mumbai-airport2

5 / 11

Diana-Penty-in-Abraham-Thakore-Apala-by-Sumit-and-Aprajita-Toor-at-Happy-Phirr-Bhag-Jayegi-promotions-in-Mumbai2

Diana Penty in Abraham & Thakore, Apala by Sumit and Aprajita Toor

6 / 11

Kajol-in-Anamika-Khanna-Inaayat-and-Stella-with-Ajay-Devgn-in-Mumbai1

Kajol in Anamika Khanna, Inaayat and Stella

7 / 11

Leighton-Meester-in-Zimmermann-and-The-Row-at-the-ABC-All-Star-Happy-Hour-in-Los-Angeles-Rex-Features1

Leighton Meester in Zimmermann and The Row

8 / 11

Malaika-Arora-in-Mumbai3

9 / 11

Shraddha-Kapoor-in-Saaksha-Kinni-with-Rajkummar-Rao-at-Stree-promotions-in-Mumbai1

Shraddha Kapoor in Saaksha & Kinni with Rajkummar Rao

10 / 11

Sonakshi-Sinha-in-Mumbai1

Sonakshi Sinha in Anita Dongre Grassroot

11 / 11

Yara-Shahidi-in-Prada-at-the-Crazy-Rich-Asians-premiere-in-LA-Rex-Features1

Now Playing: Hosting brunch? Maria Goretti shows you how

";
var sb_focus="focused";
var isSponsored = false;

var crossed = false;
var randomInterval = 5000;
var adDelay = 2000;
var videoadDelay = 3000;
var mobAdDelay = 5000;
var adpause = true;
var currentAdSlot = "";
var currentPos = 0;
var currentScroll;
var firsttime = true, doitfornext = false;
var ADcont = [];
var storyLeaderboardID = $("#topadbnr div").attr("ad-slot-id");
ADcont.push(eval(storyLeaderboardID));
var magazineid = '';
var ctaFallback = "";

$(window).scroll(function (event) {

if($(window).width() > 768){

var article__header_padding_top = 30;

//var right_ad = ($('.article__header').offset().top + article__header_padding_top) + $('.article__header').height() - $('.article__summary').height() - 60;

var top_ad = $('.site__header').height();

if($(window).scrollTop() > top_ad){
$('.ad.ad--top').addClass('fixed');

if($('.content_body').find('.ad--top-cloned').is(":hidden")){

//$('.content_body').find('.ad--top-cloned').remove();
//$('.content_body').prepend('

');
$('.content_body').find('.ad--top-cloned').show();
}

//$('body').addClass('fixedTopAd');
} else {
$('.ad.ad--top').removeClass('fixed');
//$('.content_body').find('.ad--top-cloned').remove();

//$('body').removeClass('fixedTopAd');
$('.content_body').find('.ad--top-cloned').hide();
}
}

if($(window).width() > 1199) {
rightSideAdContainer();
}

currentScroll = $(window).scrollTop()+$(window).height();
if (currentScroll > currentPos)
{
currentPos = currentScroll;
crossed = true;
}

});

var cn_size_crossed = isMobile.any();
$(window).on('resize', function(){
if($(window).width() > 1199) {
rightSideAdContainer();
} else {
$('.right_side.ad').removeClass('fixed');
}

if(cn_size_crossed && $(window).width() > 768) {
cn_size_crossed = false;
totalInterval = 0;
clearInterval(ADintervalLeaderboard);
autoADtimerLeaderboard();
}
if(!cn_size_crossed && $(window).width() < 768) { cn_size_crossed = true; totalInterval = 0; clearInterval(ADintervalLeaderboard); autoADtimerLeaderboard(); } }); function rightSideAdContainer() { $($(".single-article-block").get()).each(function() { if ($(this).is_on_screen()) { if($(this).find('.article__image--fullsize').length > 0)
{
var top_bound = $(this).find('.article__image--fullsize').offset().top + $(this).find('.article__image--fullsize').height() - $('.ad.ad--top.fixed').height();
} else {
var top_bound = $(this).offset().top - $('.ad.ad--top.fixed').height();
}
var bottom_bound = $(this).height() + $(this).offset().top;

var bottom_bound_offset = window.innerHeight - $(this).find('.right_side').height(); - $("#header-leaderboard-ad").height();
bottom_bound = bottom_bound - bottom_bound_offset;

if($(window).scrollTop() > top_bound && $(window).scrollTop() < bottom_bound){ $(this).find('.right_side.ad').addClass('fixed'); $(".right_side.ad").not($(this).find('.right_side.ad')).removeClass('fixed'); } else { $(this).find('.right_side.ad').removeClass('fixed'); } return false; } else { $(this).find('.right_side.ad').removeClass('fixed'); } }); } $(window).scroll(function(e) { //infinite scroll articles if ($(window).scrollTop() >= ($(document).height() - $(window).height() - ($(window).height()*0.2) )) {
infinite_single_json(Articlecount, 0);
}

//Vertical scroll events
$($(".single-article-block").get()).each(function(t) {
$(this).find(".in-story-slideshow .slide").each(function(t) {
if ($(this).is_on_screen()) {
if ($(this).hasClass("ad-refreshed") || !$(this).is(":visible"))
{
} else {
if (isMobile.any()) {
gtmSlideshowVerticalScroll('Mobile');
} else {
gtmSlideshowVerticalScroll('Desktop');
}
$(this).addClass("ad-refreshed");
}
}
});
});

//infinite scroll title & url
$($(".single-article-block").get().reverse()).each(function() {
if ($(this).is_on_screen() && $(this).attr("data-post-url") == (location.protocol + '//' + location.host + location.pathname)) {
return false;
}
if ($(this).attr("data-post-url") && $(this).attr("data-post-title") && $(this).is_on_screen() && $(this).attr("data-post-url") != (location.protocol + '//' + location.host + location.pathname))
{
cnReplaceUrlandTitle($(this).attr("data-post-title"), $(this).attr("data-post-url"));
return false;
}
});
});

$(document).ready(function() {
$.ajaxSetup({ cache: true });
$.getScript('//connect.facebook.net/en_US/sdk.js', function(){
FB.init({
appId: '543661672486127',
version: 'v2.8'
});
FB.XFBML.parse();
});
});

var hidden, state, visibilityChange;
if (typeof document.hidden !== "undefined") {
hidden = "hidden";
visibilityChange = "visibilitychange";
state = "visibilityState";
} else if (typeof document.mozHidden !== "undefined") {
hidden = "mozHidden";
visibilityChange = "mozvisibilitychange";
state = "mozVisibilityState";
} else if (typeof document.msHidden !== "undefined") {
hidden = "msHidden";
visibilityChange = "msvisibilitychange";
state = "msVisibilityState";
} else if (typeof document.webkitHidden !== "undefined") {
hidden = "webkitHidden";
visibilityChange = "webkitvisibilitychange";
state = "webkitVisibilityState";
}

var sb_focus = "focused";
window.addEventListener('focus', function() {
sb_focus ='focused';
});

window.addEventListener('blur', function() {
sb_focus = 'not focused';
});

window.onblur = function() { window.blurred = true; };
window.onfocus = function() { window.blurred = false; };

function onScrollAutoplayVideo(ifx)
{
ifx[0].contentWindow.playad();
}

function onScrollAutopauseVideo(ifx)
{
ifx[0].contentWindow.pausead();
}

jQuery(window).scroll(function(e){
// Code for inview video autoplay
$('body').find('.video-ads').each(function(index){
if(isScrolledIntoView($(this)))
{
onScrollAutoplayVideo($(this));
}
else
{
onScrollAutopauseVideo($(this));
}
});
// END Code for inview video autoplay
});
// END Window Scroll Handlers

jQuery.fn.is_on_screen = function() {
var win = $(window);
var viewport = {
top : win.scrollTop(),
left : win.scrollLeft()
};
viewport.right = viewport.left + win.width();
viewport.bottom = viewport.top + win.height();

var bounds = this.offset();
bounds.right = bounds.left + this.innerWidth();
bounds.bottom = bounds.top + this.innerHeight();

return (!(viewport.bottom < bounds.top || viewport.top > bounds.bottom));
};

window.addEventListener('message', function(event) {
if (~event.origin.indexOf('https://www.vogue.in')) {
if(event.data.event && event.data.event == "CN-AD-refresh")
{

if(document[state] != 'visible') { return; }
if(sb_focus == 'not focused') { return; }

if(typeof event.data.slot !== "undefined" && event.data.slot)
{
if($.inArray(event.data.slot, window.cnAdsRefreshArray.leaderboard))
{
clearInterval(ADintervalLeaderboard);
autoADtimerLeaderboard();
}

if($.inArray(event.data.slot, window.cnAdsRefreshArray.mpu))
{
clearInterval(ADintervalMPU);
autoADtimerMPU();
}
}

if(typeof event.data.slot !== "undefined" && event.data.slot)
{
googletag.cmd.push(function() {
googletag.pubads().refresh([eval(event.data.slot)]);
});
}
}
} else {
return;
}
});

$(document).ready(function(e) {
window.addEventListener('focus', function() {
sb_focus ='focused';
});

window.addEventListener('blur', function() {
sb_focus = 'not focused';
});

// cnWebengage('article-category', 'article_category', {"category":"People","sub_category":"Best Dressed"});

$("img.lazy").lazyload({
skip_invisible : true
});

autoADtimerLeaderboard = function() {
ADintervalLeaderboard = window.setInterval(function(){
if(document[state] != 'visible') { return; }
if(sb_focus == 'not focused') { return; }
if(true)
{
var leaderboardAdSlot = $("#header-leaderboard-ad div").attr("ad-slot-id");
googletag.cmd.push(function() {
googletag.pubads().refresh([eval(leaderboardAdSlot)]);
});
}
}, randomInterval);
}

autoADtimerMPU = function() {
ADintervalMPU = window.setInterval(function(){
if(document[state] != 'visible') { return; }
if(sb_focus == 'not focused') { return; }
if(true)
{
$($(".mpu-ad-slot").get()).each(function() {
if ($(this).is_on_screen()) {
var mpuAdSlot = $(this).find('.sb-mpu-ad').attr("ad-slot-id");

googletag.cmd.push(function() {
googletag.pubads().refresh([eval(mpuAdSlot)]);
});
}
});
$($(".new-ad-unit").get()).each(function() {
if ($(this).is_on_screen()) {
var secMpuAdSlot = $(this).attr("ad-slot-id");

googletag.cmd.push(function() {
googletag.pubads().refresh([eval(secMpuAdSlot)]);
});
}
});
}
}, randomInterval);
}

autoADtimerLeaderboard();
autoADtimerMPU();

$('body').imagesLoaded( function() {
if ($(window).scrollTop() >= ($(document).height() - $(window).height() - ($(window).height()*0.2) )) {
infinite_single_json(count, 0);
}
});

$(document).on('click','.open_other_social', function(){
$(this).parents('.socialShare.socialShare-top.social-sharer-buttons-article-top').find('ul').css('right','0');
$(this).parents('.socialShare.socialShare-top.social-sharer-buttons-article-top').find('li').css('width','auto');
$(this).parents('.socialShare.socialShare-top.social-sharer-buttons-article-top').find('li a').css('display','block');
$(this).parents('.socialShare.socialShare-top.social-sharer-buttons-article-top').find('.fb_rect_wrapper').remove();
$(this).hide();
});

gtmFirstLoad();
// get_related_stories('0','967987','no','8','9979,10138,10141,9982,9271,10146,10147,9847,9849,9850,16560,19587,9851,10160,9852,19592,14222,9855,49582,9856,10185,10187,10188,19175,10747');
setTimeout(function(){
processBrightcoveVideos();
$('a.embed-popover').webuiPopover();
}, 2000);
});

function cn_lr_logout_callback(){
if((!regwall_story||isLoggedIn)&&!isSponsored)
load_instory_cta_ajax('967987', 0, '8', magazineid);
}

function cn_lr_login_callback(){
if((!regwall_story||isLoggedIn)&&!isSponsored)
load_instory_cta_ajax('967987', 0, '8', magazineid);
}

function limitLengthInWords(desc, maxWords) {
var value = desc,
wordCount = value.split(/S+/).length - 1,
re = new RegExp("^\s*\S+(?:\s+\S+){0,"+(maxWords-1)+"}");
if (wordCount >= maxWords) {
desc = value.match(re);
}
return desc;
}

function check_ref_sub(postid, issue_id, referer, guid, page_no = 0){

$.ajax({
type: 'POST',
url: 'https://www.vogue.in/wp-admin/admin-ajax.php',
async: false,
data: "action=getsubstatus" + "&postid=" + postid + "&issue_id=" + issue_id + "&referer=" + referer,
success: function (data) {

if (data === ' blocked' || data === 'blocked')
{

var blockedhtml = '

';

setTimeout(function(){
gtmMagazineHomeSubscribe("WebStory Page", "Subscribe Button Impressions");
}, 500);

var pTagCount = 0;
var pETop = 0
var targetPtag;

$("#post-"+postid+" .description ").find('.gqBrightcove:first-child').remove();
$("#post-"+postid+" .description ").find('.tag-slider-video').remove();

$.each($("#post-"+postid+" .description").children('p, h2'),function()
{
pTagCount++;
if(pTagCount>1) $(this).remove();
if(pTagCount==2){ targetPtag = $(this); pETop = $(this).offset().top;}
});
var pTagCount = 0;
var sETop = 0

$.each($("#post-"+postid+" .slide"),function(){
pTagCount++;
if(pTagCount>regwallSlides){ var regSlider = $(this).parents('div.cycle-slideshow'); }
if(pTagCount>(parseInt(regwallSlides)+1)){ $(this).prev('.instory-slide-counter').remove(); $(this).remove(); }
if(pTagCount==regwallSlides) sETop = $(this).offset().top;
});

if(pETop>sETop&&sETop!=0) pETop = sETop;
if(pETop==0) pETop = sETop;
$.each($("#post-"+postid+" .description").children(),function(){
if(pETop!=0&&$(this).offset().top>pETop&&!$(this).hasClass('nextStory')&&!$(this).hasClass('socialIconSet'))
{
if(pETop!=sETop){} else $(this).remove();
}
});
$("#post-"+postid+" .storyLink").remove();
$.each($("#post-"+postid+" .wrapper").children(),function(){
if(!$(this).hasClass('nextStory')&&!$(this).hasClass('tag-slider-video')&&!$(this).hasClass('socialIconSet')) $(this).remove();
});

$("#post-"+postid+" .description").append(blockedhtml);

if(guid != '' && guid !== undefined){ load_subscription_btn_1(guid); }else{ $('.button1_popup').remove(); }

} else if(data === ' blockedref' || data === 'blockedref') {

}

else {
$('#get_all_post_ids').val(data);
}

}
});
}

$(document).on("click",".addFbComment",function(){
var commentMarkup = '';
$(this).parents('div.comment_section').html(commentMarkup);
FB.XFBML.parse();
});

//load cta
function load_instory_cta_ajax(post_id, pageNumber, category_id, magazineid){
var ctaSlot = "CTA_" + post_id + "_" + pageNumber + "_1";
if (isMobile.any()) {
var ctaHtml = get_instory_cta_dfp(ctaSlot);
insert_cta_html(post_id, ctaHtml);
} else {
ctaHtml = "";
}
$.ajax({
url: action_url+'?action=get_instory_cta_ajax',
type:'POST',
data: {"page_no":pageNumber,'post_id': post_id, 'isLoggedIn' : isLoggedIn,'category_id':category_id,'magazineid' : magazineid}
}).done(function(data) {
data = JSON.parse(data);
ctaFallback = data.cta1;
if(ctaFallback == "Fallback") $("#div-gpt-ad-"+ctaSlot).html(ctaFallback);
$(".cta_holder-"+pageNumber+"-b").html(data.cta2);
});
}

//Get Related Stories Ajax
function get_related_stories(pageNumber, post_id, sponsored, category_id, topic_ids) {
$.ajax({
url: action_url+'?action=related_story_ajax',
type:'POST',
data: {"page_no":pageNumber,'post_id': post_id,'sponsored':sponsored,'category_id':category_id,'rel_ids':$("#get_all_post_ids").val(),'topic_ids':topic_ids}
}).done(function(data) {
$("#related-stories-"+pageNumber).html(data);
owl_cursel_init();
});
}

//get instory CTA
function get_instory_cta_dfp(ctaSlot)
{
var deviceSlot = "[[848,218],[848,200],[848,250],[848,150]]";
if (isMobile.any()) {
deviceSlot = "[[320,157]]";
}
var ctaHtml = "

";
setTimeout(function(){
if($("#div-gpt-ad-"+ctaSlot).height() == 0){
$("#div-gpt-ad-"+ctaSlot).replaceWith(ctaFallback);
}
}, 2000);
return ctaHtml;
}

function insert_cta_html(post_id, ctaHtml){
if(isMobile.any())
{
if($("#post-"+post_id+" .description").children('p').length > 1 && $("#post-"+post_id+" .description .slide").length > 1)
{
if($("#post-"+post_id+" .description").children('p').eq(1).offset().top > $("#post-"+post_id+" .description .slide").eq(1).offset().top )
{
$("#post-"+post_id+" .description .slide").eq(1).after(ctaHtml);
} else {
$("#post-"+post_id+" .description").children('p').eq(1).after(ctaHtml);
}
} else {
if($("#post-"+post_id+" .description").children('p').length > 2)
{
$("#post-"+post_id+" .description").children('p').eq(1).after(ctaHtml);
} else {
$("#post-"+post_id+" .description .slide").eq(1).after(ctaHtml);
}
}
} else {
if($("#post-"+post_id+" .description").children('p').length>2)
$("#post-"+post_id+" .description").children('p').eq(1).after(ctaHtml);
}
}

//ad check
googletag.cmd.push(function() {
googletag.pubads().addEventListener('slotRenderEnded', function(e) {
if(e.isEmpty){
if($("#"+e.slot.getSlotElementId()).hasClass("instory_cta")){
$("#"+e.slot.getSlotElementId()).html(ctaFallback);
if(!ctaFallback) ctaFallback = "Fallback";
}
$("#"+e.slot.getSlotElementId()).parent(".adinsert").slideUp(400);
if(!$("#native_story .native-story-ad").is(":visible")&&!$(".topadbnr").is(":visible")){$("#native_story").remove();singleNativeCarousel = false;isSingleNativeCarousel=false;$(".topadbnr").show(); $("body").css({paddingTop:parseInt($("#navBar").outerHeight()+$(".topadbnr").outerHeight())+"px"});}
} else {
$("#"+e.slot.getSlotElementId()).parent(".adinsert").slideDown(400);
}
});
});

//Get Next Story
function infinite_single_json(pageNumber, animation) {
if (typeof(animation)==='undefined') animation = 0;
$('.loader_img:last').show();
var get_all_post_ids = $("#get_all_post_ids").val();
var all_post_ids_arr = new Array();
all_post_ids_arr = get_all_post_ids.split(",");
var next_article_id = all_post_ids_arr[(parseInt(pageNumber) - 1 )];

if(next_article_id&&typeof(next_article_id)!=='undefined')
{
if($("#next_story_"+(parseInt(pageNumber))+'_'+next_article_id).length == 0)
{
if(load_start==0)
{
load_start = 1;
var action_url = 'https://www.vogue.in/wp-admin/admin-ajax.php';
$.ajax({
url: action_url+'?action=infinite_single_json',
type:'POST',
data: {"page_no":pageNumber,'get_all_post_ids':get_all_post_ids}
}).done(function(data) {
//console.log("infinite_data",data);
load_start = 0;Articlecount++;
data = JSON.parse(data);
$('.loader_img').hide();
if(!data.sponsored_status&&!isLoggedIn&&!data.issue_id) singleStoryCookie(data.article_id);
isSponsored = data.sponsored_status;

ADPostId = data.article_id;

$(".next_article:last").hide();
if(!data.is_mobile)
{
$( ".topadbnr:first" ).remove();
}

data.page_no_i = data.page_no + 1;
data.encoded_permalink = encodeURI(data.permalink);

//related Stories start
var sponsored = 'no';
if(data.sponsored_status) sponsored = 'yes';
var topic_tags = [];
$.each(data.topic_tags,function(index,tag){
topic_tags.push(tag.term_id);
});
/*if(is_sponsored==1)
{
get_related_stories(data.page_no,data.article_id,'yes',data.category_term_id,topic_tags.join(','));
}
else
{
get_related_stories(data.page_no,data.article_id,'no',data.category_term_id,topic_tags.join(','));
}*/

if(!data.sponsored_status) load_instory_cta_ajax(data.article_id,data.page_no, data.category_term_id, data.magazineid);

//mustache code
var template = $('#template').html();
Mustache.parse(template); // optional, speeds up future uses
var rendered = Mustache.render(template, data);
if(Cookies.get('cn_bid'))
{
dataLayerBID = Cookies.get('cn_bid');
re = new RegExp("<%shareBid%>", "g");
rendered = rendered.replace(re, dataLayerBID);
}
$("#load_article_content").append(rendered);
$("img.lazy").lazyload({
skip_invisible : true
});

if(data.issue_id)
{
marketing_text = data.marketing_text;
check_ref_sub(data.article_id, data.issue_id, 'internal', data.guid, data.page_no);
}

var google_category = $(".topadbnr:last").attr('data-google-category');
var sponsor_ad = $(".topadbnr:last").attr('data-sponsor-story');
var is_sponsored = $(".topadbnr:last").attr("data-is-sponsored");
var leaderboardcode = $(".topadbnr:last").attr("data-leaderboard-code");
var mpucode = $(".topadbnr:last").attr("data-mpu-code");

if(!data.is_magazine)
{
if(!data.is_mobile)
{
$("#header-leaderboard-ad").html(data.leaderboard_ad);
}
// $('#mpu-ad-slot').html(data.mpu_ad);
// $("#secondary-mpu-ad-slot").html(data.mpu_ad2);
mpuAd = data.mpu_ad;
}
if(!data.is_mobile)
{
dfpCount = 0;
totalInterval = 0;
clearInterval(ADintervalLeaderboard);
autoADtimerLeaderboard();
clearInterval(ADintervalMPU);
autoADtimerMPU();
}

var currentDiv = $("#next_story_"+(parseInt(pageNumber))+'_'+next_article_id);
cnReplaceUrlandTitle(currentDiv.data("post-title"), currentDiv.data("post-url"));
gtmSingleContinuousScroll();
processBrightcoveVideos();
if(animation==1)
{
if(isMobile.any())
{
$("html, body").animate({
scrollTop: $("#next_story_"+(parseInt(pageNumber))+'_'+next_article_id).offset().top - $("#navBar").outerHeight() - $('#topadbnr').outerHeight() + 20
}, 600);
} else {
$("html, body").animate({
scrollTop: $("#next_story_"+(parseInt(pageNumber))+'_'+next_article_id).offset().top - $("#navBar").outerHeight() - $('#topadbnr').outerHeight()
}, 600);
}
}
onloadAjax.initAll();
});
}
} else {
if(animation==1)
{
console.log($("#next_story_"+(parseInt(pageNumber))+'_'+next_article_id).offset().top, $("#navBar").outerHeight(), $('#topadbnr').outerHeight());
if(isMobile.any())
{
$("html, body").animate({
scrollTop: $("#next_story_"+(parseInt(pageNumber))+'_'+next_article_id).offset().top - $("#navBar").outerHeight() - $('#topadbnr').outerHeight() + 20
}, 600);
} else {
$("html, body").animate({
scrollTop: $("#next_story_"+(parseInt(pageNumber))+'_'+next_article_id).offset().top - $("#navBar").outerHeight() - $('#topadbnr').outerHeight()
}, 600);
}
}
}
} else {
load_start = 1;
$('.loader_img:last').hide();
}
}

$(document).on('click', '.subscription_popup .content_btns', function(){
gtmMagazineHomeSubscribe("WebStory Page - "+$(this).data("price"), "Subscribe Button Click");
});

$(document).on('click','.close_reg_wall', function(){
$('.reg_wall_v2').fadeOut();
});

$(window).load(function(){
// alert($('body').find('.has-responsive-video').width());

if($(window).width() < 768) { $('.reg_wall_v2').width($(window).width()); } else{ $('.reg_wall_v2').width($('.has-responsive-video').width()); } })



Source link