Sara Ali Khan, the look of Kartik Aryan from the upcoming film Imtiaz Ali – Departure
NATION
[ad_1]
New Delhi: Sara Ali Khan and Kartik Aryan, who were co-directed by filmmaker Imtiaz Ali for his next film, started shooting the film a few days ago. On Tuesday, the duo was spotted shooting for the movie in Juhu.
Kartik, an overnight sensation with the blockbuster "Sonu Ke Titu Ki Sweety" from 2018, will be presented with a new look in the film. Kartik, who wore a mustache for his look, donned trousers and a checkered shirt. For her part, Sara made a nice photo with a neon top and a denim.
And we can not miss these green reflections in her hair and her elegant look in braid aside.
View their pictures of the scenery :
(function ($) {
/*Drupal.behaviors.pagerload = {
attach: function (context, parameters) {* /
$ (document) .ready (function () {
/ * $. get ("/hindi/zmapp/mobileapi/sections.php?sectionid=17,18,19,23,21,22,25,20", function (data) {
$ ("# submenu") .html (data);
alert ("The charge has been made.");
}); * /
var nextpath = "http://zeenews.india.com/"; var pg = 1;
var nextload = true;
var string = "http://zeenews.india.com/";var ice = 0;
var playerFly;
var load =
";
var cat = "? cat = 120082";
// $ ("main-rhs2211037"). theiaStickySidebar ();
var instagram_script = document.createElement (& # 39; script & # 39;);
instagram_script.defer = & # 39;
instagram_script.async = & # 39; async & # 39;
instagram_script.src = "http://platform.instagram.com/en_US/embeds.js";
document.head.appendChild (instagram_script);
/ ************************************** /
/ * $ (window) .scroll (function () {
var last = $ ('div.listing'). filter ('div: last & # 39;);
var lastHeight = last.offset (). top;
if (lastHeight + last.height () < $(document).scrollTop() + $(window).height() && nextload==true){
var circle = "http://zeenews.india.com/";
var myTimer = "http://zeenews.india.com/";
var interval = 30;
var angle = 0;
var Inverval = "http://zeenews.india.com/";
var angle_increment = 6;
$.ajax({
url: "/micros/article-list.php" + cat + nextpath,
async: true,
dataType: "json",
beforeSend: function() {
$('div.listing').append(load);
nextload=false;
//console.log("/micros/article-list.php" + cat + nextpath);
ice = 1;
circle = $('.center-section').find('#green-halo');
myTimer = $('.center-section').find('#myTimer');
angle = 0;
Inverval = setInterval(function (){
$(circle).attr("stroke-dasharray", angle + ", 20000");
//myTimer.innerHTML = parseInt(angle/360*100) + '%';
if (angle > = 360) {
angle = 1;
}
angle + = angle_increment;
} .bind (this), interval);
}
success: function (data) {
nextload = false;
//console.log("success ");
//console.log(data);
$ .each (data ['rows'] function (key, val) {
//console.log("data found ");
ice cream = 2;
if (val ['id']! = & # 39; 2211037 & # 39;) {
string = & # 39;
& # 39; + val ["tag"] +
& # 39; + val ["title"] + [#19659021] & # 39; + val ["summary"] + [#19659022] Read the full article
& # 39 ;;
$ (& # 39; div.listing & # 39;). append (string);
}
});
}
error: function (xhr) {
//console.log("Error ");
//console.log("An error has occurred: "+ xhr.status +" http://zeenews.india.com/ "+ xhr.statusText);
nextload = false;
}
complete: function () {
$ (& # 39; div.listing & # 39;). find ("loading-block"). remove () ;;
pg + = 1;
//console.log("mod "+ ice% 2);
nextpath = & # 39; & page = & # 39; + pg;
//console.log("request complete "+ nextpath);
cat = "? cat = 120082";
//console.log(nextpath);
nextload = (ice% 2 == 0)? true: false;
}
});
}
// lastoff = last.offset ();
//console.log("** "+ lastoff +" ** ");
}); * /
var maindiv = false;
var dis = 0;
var fbcontainer = "http://zeenews.india.com/";
var fbid = "http://zeenews.india.com/";
var fb_script = document.createElement (& # 39; script & # 39;);
fb_script.text = "(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 = "http://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.9";fjs.parentNode.insertBefore(js, fjs);} (document , "Script", "facebook-jssdk")); ";
var fmain = $ (". sr2211037");
// alert (x + "-" + url);
var fdiv = & # 39;
& # 39 ;;
//console.log(fdiv);
//$(fb_script).appendTo(fmain);
$ (fdiv) .appendTo (fmain);
function fillElementWithAd ($ el, slotCode, size, targeting) {
if (targeting type === undefined) {
targeting = {};
} else if (Object.prototype.toString.call (targeting)! == [object Object] & # 39;) {
targeting = {};
}
var elId = $ el.attr ('id');
//console.log("elId: "+ elId);
googletag.cmd.push (function () {
var slot = googletag.defineSlot (slotCode, size, elId);
for (var t in targeting) {
slot.setTargeting (t, targeting
}
slot.addService (googletag.pubads ());
googletag.display (elId);
googletag.pubads (). refresh ([slot]);
});
}
$ (document) .delegate ("button [id^='mf']", "click", function () {
fbcontainer = "http://zeenews.india.com/";
fbid = ###; + $ (this) .attr (& # 39; id;);
var sr = fbid.replace ("# mf", ".sr");
$ (fbid) .parent (). children (sr) .toggle ();
fbcontainer = $ (fbid) .parent (). children (sr) .children (".fb-comments"). attr ("id");
});
function onPlayerStateChange (event) {
var ing, fid;
//console.log(event + "--- player");
$ (Iframe [id*="video-"] & # 39;). each (function () {
_v = $ (this) .attr (& # 39; id & # 39;);
//console.log("_v: "+ _v);
if (_v! = event) {
//console.log("condition match ");
ing = new YT.get (_v);
if (ing.getPlayerState () == 1 & # 39;) {
ing.pauseVideo ();
}
}
});
$ (& # 39; div [id*="video-"] & # 39;). each (function () {
_v = $ (this) .attr (& # 39; id & # 39;);
//console.log("_v: "+ _v +" event: "+ event);
if (_v! = event) {
jwplayer (_v) .play (false);
}
});
}
function onYouTubePlay (vid, code, playDiv, vx, pvid) {
if (typeof (YT) == undefined "http://zeenews.india.com/" | typeof (YT.Player) == undefined & # 39;) {
var tag = document.createElement (& # 39; script);
tag.src = "https://www.youtube.com/iframe_api";
var firstScriptTag = document.getElementsByTagName ('script') [0];
firstScriptTag.parentNode.insertBefore (tag, firstScriptTag);
window.onYouTubePlayerAPIReady = function () {
onYouTubePlayer (vid, code, playDiv, vx, pvid);
};
} else {onYouTubePlayer (vid, code, playDiv, vx, pvid);}
}
function onYouTubePlayer (vid, code, playDiv, vx, pvid) {
//console.log(playDiv + "Get Youtue" + vid);
//$("#"+vid).find(".playvideo-"+ vx) .hide ();
var player = new YT.Player (playDiv, {
height: "450",
width: "100%",
videoId: code,
playerVars: {
& # 39; autoplay & # 39 ;: 1,
& # 39; showinfo & # 39 ;: 1,
& # 39; controls & # 39 ;: 1
}
events: {
& # 39; onStateChange & # 39 ;: function (event) {
onPlayerStateChange (event.target.a.id);
}
}
});
$ ("# video -" + vid) .show ();
}
onjwPlayerAPIReady function (vid, code, playDiv, vx, pvid) {
//$("#"+vid).find(".playvideo-"+ vx) .hide ();
//console.log("Get Jwplayer "+ $ (" # "+ vid));
//console.log (jwplayer (vid) .getState ());
//if(jwplayer(vid).getState () == null) {
playerFly = jwplayer (playDiv) .setup
({
file: code,
mediaid: & # 39; Z & # 39; + vid,
hlshtml: true,
primary: "html5",
cookies: true,
width: "100%",
aspect ratio: "16: 9",
autostart: "visible",
fallback: false,
events:{
onPlay: function (event) {
onPlayerStateChange (this.id);
}
}
Advertisement:{
customer: "googima",
program: {
Pre-ride: {
offset: "pre",
learn more about = http // demo.zeenews.com / & & correlator = [timestamp] & # 39;
}
}
}
});
var isPlay = 1;
playerFly.on (& # 39; play & # 39 ;, function () {
console.log ("Play");
isPlay = 0;
_gaq.push (['_trackEvent', 'JW Player Video', 'Play', , , true]);
});
playerFly.on (& # 39; buffer & # 39; function () {
console.log ("Buffer");
if (isPlay) {
_gaq.push (['_trackEvent', 'JW Player Video', 'Buffer', , , true]);
}other{
_gaq.push (['_trackEvent', 'JW Player Video', 'Preload', , , true]);
}
});
var adType = & # 39; pre;
playerFly.on (& # 39; adBlock & # 39; function (event) {
console.log ("adBlock");
var ea = adType + - adBlock & # 39 ;;
_gaq.push (['_trackEvent', 'JW Player Video', ea, , , true]);
});
//}
}
$ (document) .delegate ("div [id^='play']", "click", function () {
//console.log($(this).attr("id "));
//console.log($(this).attr("video-source "));
//console.log($(this).attr("video-code "));
var isyoutube = $ (this) .attr ("video source");
var vid = $ (this) .attr ("id");
$ (this) .hide ();
var pvid = $ (this) .attr ("newsid");
var vx = $ (this) .attr ("id") .replace (& # 39; play - & # 39 ;, "http://zeenews.india.com/");
var vC = $ (this) .attr ("video code");
var playDiv = "video-" + vid + "-" + pvid;
if (isyoutube == ##) ##
onjwPlayerAPIReady (vid, vC, playDiv, vx, pvid);
}other{
onYouTubePlay (vid, vC, playDiv, vx, pvid);
}
});
$ (document) .delegate ("div [id^='ptop']", "click", function () {
var vid = $ (this) .attr ("id") .replace ("ptop", "http://zeenews.india.com/");
$ (this) .hide ();
var pvid = $ (this) .attr ("newsid");
//console.log($(this).attr("id ") +" - "+ vid);
//console.log($(this).parent().children().find('#play-'+vid).attr("video-source "));
//console.log($(this).parent().children().find('#play-'+vid).attr("video-code "));
var isyoutube = $ (this) .parent (). children (). find (# - - + vid) .attr ("video source");
var vC = $ (this) .parent (). children (). find (# - - + vid) .attr ("video code");
var playDiv = "mvideo-play-" + vid + "-" + pvid;
if (isyoutube == ##) ##
//console.log(jwplayer ($ (this) .attr ("id")). getState ());
onjwPlayerAPIReady ($ (this) .attr ("id"), vC, playDiv, vid, pvid);
}other{
onYouTubePlay ($ (this) .attr ("id"), vC, playDiv, vid, pvid);
}
});
var nxti = 3;
var ci = 1;
var nxti_1 = 6;
var nxti_2 = 9;
var nxti_3 = 12;
//console.log("totalPCount: "+ $ (" # star2211037> div.field-name-body> div.field-items> div.field-item "). children (& # 39; p) length);
var pl = $ ("# star2211037> div.field-name-body> div.field-items> div.field-item"). children (& # 39; p). length;
var adcode = / 11440465 / Zeenews_English_Web / Zeenews_English_AS_Inarticle_1_300x250 & nbsp;
if (pl> 3) {
$ ("# star2211037> div.field-name-body> div.field-items> div.field-item"). children (& # 39;). each (function (i, n) {
ci = parseInt (i) + 1; t = this;
var htm = $ (this) .html ();
//console.log("i: "+ i);
d = $ ("
");
//console.log("i: "+ i +" ci: "+ ci +" n: "+ n);
//console.log(this);
if ((i + 1)% 3 == 0 && (i + 1)> 2 && $ (this) .html (). length> 10) {d.insertAfter (t); fillElementWithAd (d, ad code, [300, 250] {});
adcode = & # 39; / 11440465 / Zeenews_English_Web / Zeenews_English_AS_Inarticle_2_300x250 & nbsp;
}
/ * if (pl> 8) {
if (i == (pl-2)) {d.insertAfter (t); fillElementWithAd (d, & # 39; / 11440465 / Zeenews_English_Web / Zeenews_English_AS_Inarticle_1_300x250 & # 39 ;, [300, 250] {});
}
} * /
});
}
if ($. autopager == false) {
var use_ajax = false;
/ * var disqus_shortname = & # 39; zeehindi & # 39 ;;
var disqus_identifier; // done with post id and guid
var disqus_url; // post permalink
function loadDisqus (source, identifier, url, nest) {
if (window.DISQUS) {
// alert ("if");
jQuery (& # 39;
& # 39;). insertAfter (source);
jQuery (# disqus_thread & # 39;). insertAfter (source); // add the HTML code after the link
// if Disqus exists, call its reset method with new parameters
DISQUS.reset ({
reload: true,
config: function () {
this.page.identifier = identifier;
this.page.url = url;
}
});
}other{
jQuery (& # 39;
& # 39;). insertAfter (source);
disqus_identifier = identifier; // set the identifier argument
disqus_url = url; // define the permalink argument
// add the Disqus integration script to HTML
var dsq = document.createElement (& # 39; script & # 39;); dsq.type = text / javascript & # 39 ;; dsq.async = true;
dsq.src = & # 39; http: // & # 39; + disqus_shortname + & # 39; .disqus.com / embed.js & # 39 ;;
jQuery (& # 39; head). append (dsq);
}
}; * /
/ * $ (& # 39 ;. disqusOn & # 39;). live ("click", notify);
notify () {function
identifier = $ (this) .attr (& # 39; id & # 39;);
dUrl = $ (this) .attr (& # 39; disqus-url & # 39;);
source = $ (this) .parent ();
loadDisqus (jQuery (this), identifier, dUrl);
} * /
loadShare function (curl) {
history.replaceState ("http://zeenews.india.com/", "http://zeenews.india.com/", curl);
if (window.OBR) {
window.OBR.extern.researchWidget ();
}
//console.log("loadshare Call-> "+ curl);
// $ (& # 39; html head & # 39;). find (& # 39;). text ("main" + nxtTitle);
if (_up == false) {
var cu_url = curl;
_gaq.push (['_setAccount', 'UA-2069755-1']);
var r = _gaq.push (['_trackPageview',cu_url]);
_gaq.push (['_setCookiePath', '/']);
if (window.COMSCORE) {
window.COMSCORE.beacon ({c1: "2", c2: "9254297"});
var e = Date.now ();
$ .ajax ({
url: "/marathi/news/zscorecard.json?" + e,
success: function (e) {}
})
}
//console.log('ga:'+r);
/ * (a function () {
var ga = document.createElement (& # 39; script); ga.type = text / javascript & # 39 ;; ga.async = true;
ga.src = (& # 39; https: == document.location.protocol? & # 39; https: // & # 39 ;: http: // +) & # 39; stats.g.doubleclick.net/dc.js' ;;
var s = document.getElementsByTagName ('script') [0]; s.parentNode.insertBefore (ga, s);
}) (); * /
//console.log("loadshare Call ");
}
}
if (use_ajax == false) {
//console.log('getting & # 39;);
var view_selector = & # 39; div.center-section & # 39 ;; // + settings.view_name; + & # 39; .view-display-id - & # 39; + settings.display;
var content_selector = view_selector; // + settings.content_selector;
var items_selector = content_selector + & # 39;> div.rep-block & # 39 ;; // + settings.items_selector;
var pager_selector = div.next-story-block> div.view-zn-article-mc-all-2017> div.view-content> div.clearfix & # 39 ;; // + settings.pager_selector;
var next_selector = - block-article-div.next> div.view-zn-article-mc-all-2017> div.view-content> div.clearfix> a: last & # 39 ;; // + settings.next_selector;
var auto_selector = & # 39; div.tag-block & # 39 ;;
var img_location = view_selector + & # 39;> div.rep-block: last & # 39 ;;
var img_path = & # 39;
& # 39 ;; //settings.img_path;
// var img = & # 39;
& # 39; + img_path + & # 39;
& # 39 ;;
var img = img_path;
// $ (pager_selector) .hide ();
//alert($(next_selector).attr('href & # 39;));
var x = 0;
var url = "http://zeenews.india.com/";
var prevLoc = window.location.pathname;
var circle = "http://zeenews.india.com/";
var myTimer = "http://zeenews.india.com/";
var interval = 30;
angle var = 0;
var Inverval = "http://zeenews.india.com/";
var angle_increment = 6;
var handle = $ .autopager ({
appendTo: content_selector,
content: items_selector,
runscroll: maindiv,
link: next_selector,
autoLoad: false,
page: 0,
start: function () {
$ (img_location) .after (img);
circle = $ (& # 39; central section & # 39;). find (# green-halo #);
myTimer = $ (& # 39; central section & # 39;). find (# myTimer #);
angle = 0;
Inverval = setInterval (function () {
$ (circle) .attr ("stroke-dasharray", angle + ", 20000");
//myTimer.innerHTML = parseInt (angle / 360 * 100) + & # 39;% & # 39 ;;
if (angle> = 360) {
angle = 1;
}
angle + = angle_increment;
} .bind (this), interval);
}
load: function () {
$ (& # 39; div.loading-block & # 39;). remove ();
clearInterval (Inverval);
// $ (.repeat-block> .row> div.main-rhs2211037 & # 39;). find (div.rhs2211037: first). clone (). appendTo (& # 39; repeat-block> .row> div.main -rhs & # 39; + x);
$ (Div.rep-block> div.main-rhs2211037> div: first & # 39;). clone (). appendTo (div.rep-block> div.main-rhs & # 39; + x);
$ (& # 39; central section> .row: last & # 39;). before (& # 39;
following story
& # 39;);
//$(".main-rhs "+ x) .theiaStickySidebar ();
var fb_script = document.createElement (& # 39; script & # 39;);
fb_script.text = "(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 = "http://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.9";fjs.parentNode.insertBefore(js, fjs);} (document , "Script", "facebook-jssdk")); ";
var fmain = $ (". sr" + x);
// alert (x + "-" + url);
var fdiv = & # 39;
";
//$(fb_script).appendTo(fmain);
$ (fdiv) .appendTo (fmain);
FB.XFBML.parse ();
var $ dfpAd = $ (& # 39; center section & # 39;). children (). find ("# ad -" + x);
//console.log($dfpAd);
/ * var pl = $ ("# star2211037> div.field-name-body> div.field-items> div.field-item"). children (& # 39; p). length;
if (pl> 3) {
xp = "# star" + x;
$ (xp + "> div.field-name-body> div.field-items> div.field-item"). children (& # 39;). each (function (i, n) {
ci = parseInt (i) + 1; t = this;
d = $ ("
");
//console.log("i: "+ i +" ci: "+ ci +" n: "+ n);
//console.log(this);
if (i == 2) {d.insertAfter (t); fillElementWithAd (d, & # 39; / 11440465 / Zeenews_English_Web / Zeenews_English_AS Article1_300x250 & # 39 ;, [300, 250] {});
}
/ * if (pl> 8) {
if (i == (pl-2)) {d.insertAfter (t); fillElementWithAd (d, & # 39; / 11440465 / Zeenews_English_Web / Zeenews_English_AS_Inarticle_1_300x250 & # 39 ;, [300, 250] {});
}
} * /
});
}
// var $ dfpAdrhs = $ (& nbsp; main-rhs & # 39; + x) .children (). find (& # 39 ;. adATF & # 39;). empty (). attr ("id", "ad-300-" + x); // $ (& # 39; .content-area> .main-item> .row> .main-rhs & # 39; + x) .find (& # 39; # ad-300- & # 39; + x );
// var $ dfpAdrhs2 = $ (main-rhs + x) .children (). find (& # 39 ;. adBTF & # 39;). empty (). attr ("id", "ad-300-2-" + x); // $ (& # 39 ;. content-area> .main-article> .row> .main-rhs & # 39; + x) .find (# ad-300-2 - & # 39; x);
// var $ dfpMiddleAd = $ ("content-domain> .main-article> .row"). find (# ar & # 39; + x) .find (# ad-middle - & x; x) .empty ();
// fillElementWithAd ($ dfpAdrhs, & # 39; / 11440465 / Zeenews_English_Web / Zeenews_English_AS_ATF_300x250 & # 39 ;, [[300, 250][300, 600]] {});
// fillElementWithAd ($ dfpAdrhs2, & # 39; / 11440465 / Zeenews_English_Web / Zeenews_English_AS_BTF_1_300x250 & # 39 ;, [300, 250] {});
// fillElementWithAd ($ dfpMiddleAd, & # 39; / 11440465 / Zeenews_Hindi_Article_Middle_300x250_BTF & # 39 ;, [300, 250] {});
var instagram_script = document.createElement (& # 39; script & # 39;);
instagram_script.defer = & # 39;
instagram_script.async = & # 39; async & # 39;
instagram_script.src = "http://platform.instagram.com/en_US/embeds.js";
/ * var outbrain_script = document.createElement (& # 39; script & # 39;);
outbrain_script.type = text / javascript & # 39 ;;
outbrain_script.async = & # 39; async & # 39;
outbrain_script.src = // widgets.outbrain.com/outbrain.js' ;;
var Omain = $ ("# outbrain -" + x);
// alert (Omain + "-" + $ (Omain) .length);
$ (Omain) .after (outbrain_script);
var rhs = $ (& # 39 ;. main-article> .row> div.article-right-part> div.rhs2211037: first & # 39;). clone ();
$ (rhs) .find (& # 39 ;. ad-one & # 39;). attr ("id", "ad-300-" + x) .empty ();
$ (rhs) .find (& # 39; ad-two & # 39;). attr ("id", "ad-300-2-" + x) .empty ();
// $ (& # 39; .main-article> .row> div.article-right-part> div.rhs2211037: first & # 39;). clone (). appendTo (& # 39 ;. main-article> .row> div.main-rhs & # 39; + x);
$ (rhs) .appendTo (& # 39 ;. main-article> .row> div.main-rhs & # 39; + x); * /
setTimeout (function () {
var twit = $ ("div.field-name-body"). find ('blockquote [clbad^="twitter"] & # 39;). length;
var insta = $ ("div.field-name-body"). find ('blockquote [clbad^="instagram"] & # 39;). length;
if (twit == 0) {twit = ($ ("div.field-name-body"). find (# twitterwidget [clbad^="twitter"] #). length);
if (twit> 0) {
if (typeof (twttr)! = & # 39; undefined & # 39;) {
twttr.widgets.load ();
} other {
$ .getScript (& # 39; https: //platform.twitter.com/widgets.js');
}
//$(twit).addClbad('tfmargin & # 39;);
}
if (insta> 0) {
$ (& # 39 ;. content> .left-block: last & # 39;). after (instagram_script);
//$(insta).addClbad('tfmargin & # 39;);
window.instgrm.Embeds.process ();
}
}, 1500);
}
});
/ * $ ("# loadmore"). click (function () {
x = $ (next_selector) .attr (& # 39; id;);
var url = $ (next_selector) .attr (& # 39; href & # 39;);
disqus_identifier = & # 39; ZNH & # 39; + x;
disqus_url = url;
handle.autopager (& # 39; load & # 39;);
history.pushState ("http://zeenews.india.com/", "http://zeenews.india.com/", url);
setTimeout (function () {
//twttr.widgets.load ();
// loadDisqus (jQuery (this), disqus_identifier, disqus_url);
}, 6000);
}); * /
/*$("button[id^='mf']").live("click ", disqusToggle);
function disqusToggle () {
console.log ("Primary Identifier:" + $ (this) .attr ('id'));
} * /
$ (document) .delegate ("button [id^='mf']", "click", function () {
fbcontainer = "http://zeenews.india.com/";
fbid = ###; + $ (this) .attr (& # 39; id;);
var sr = fbid.replace ("# mf", ".sr");
//console.log("Main id: "+ $ (this) .attr (" id ") +" Bye! jQuery 1.4.3+ "+ sr);
$ (fbid) .parent (). children (sr) .toggle ();
fbcontainer = $ (fbid) .parent (). children (sr) .children (".fb-comments"). attr ("id");
//console.log(fbcontainer);
// var commentsContainer = document.getElementById (fbcontainer);
//commentsContainer.innerHTML = & # 39; & # 39 ;;
});
/ ************* Player Code *********** /
var title, imageUrl, description, author, short name, identifier, timestamp, summary, news ID, nextnews;
var previousScroll = 0;
//console.log("prevLoc "+ prevLoc);
$ (window) .scroll (function () {
var last = $ (auto_selector) .filter (& # 39 ;: last & # 39;);
var lastHeight = last.offset (). top;
// st = $ (layout) .scrollTop ();
//console.log("st: "+ st);
var currentScroll = $ (this) .scrollTop ();
if (currentScroll> previousScroll) {
_up = false;
} other {
_up = true;
}
previousScroll = currentScroll;
//console.log("_up "+ _up);
var cutoff = $ (window) .scrollTop () + 64;
//console.log(cutoff + "**");
$ (& # 39; div [id^="row"] & # 39;). each (function () {
//console.log(" article "+ $ (this) .children (). find (" left-block ") attr (" id ") + $ (this) .children (). find ('left. -block'). attr ('data-url');
if ($ (this) .offset (). top + $ (this) .height ()> cutoff) {
//console.log("$$ "+ $ (this) .children (). find (" left-block "). attr (" data-url ");
if (prevLoc! = $ (this) .children (). find ("left-block"). attr ("data-url")) {
prevLoc = $ (this) .children (). find (& # 39 ;. left-block & # 39;). attr (& # 39; data-url & # 39;);
$ (& # 39; head html & # 39;). find (& # 39;). text ($ (this) .children (). find ('left-block'). attr ('data title');
$ (Meta [name=description] & # 39;). attr ("content", $ (this) .children (). find ("left block"). attr ("summary data");
$ (Meta [name=keywords] & # 39;). attr ("content", $ (this) .children (). find ("left-block"). attr ("keyword-data");
$ (Meta [name=news_keywords] & # 39;). attr ("content", $ (this) .children (). find ("left-block"). attr ("data keyword");
_sf_async_config.sections = $ (this) .children (). find (& # 39 ;. left-block & # 39;). attr ('data-section');
_sf_async_config.authors = $ (this) .children (). find (& # 39 ;. left-block & # 39;). attr (data-author & # 39;);
pSUPERFLY.virtualPage (prevLoc, $ (this) .children (). find ("left-block") attr ("data-title");
//console.log("Summary: "+ $ (this) .children (). find (" left-block "). attr (" data-summary ");
//console.log("Keyword: "+ $ (this) .children (). find (& # 39 ;. left-block & # 39;). attr (& # 39; data-keyword & # 39;));
//history.pushState("http://zeenews.india.com/ "," http://zeenews.india.com/ ", prevLoc);
chargeshare (prevLoc);
}
returns false; // stop the iteration after the first one on the screen
}
});
if (lastHeight + last.height () <$ (document) .scrollTop () + $ (window) .height ()) {
//console.log("**get ");
url = $ (next_selector) .attr (& # 39; href & # 39;);
x = $ (next_selector) .attr (& # 39; id;);
//console.log("x: "+ x);
//handle.autopager('load & # 39;);
/ * setTimeout (function () {
//twttr.widgets.load ();
// loadDisqus (jQuery (this), disqus_identifier, disqus_url);
}, 6000); * /
}
// lastoff = last.offset ();
//console.log("** "+ lastoff +" ** ");
});
// $ (".content-area") .click (function (event) {
// console.log (event.target.nodeName);
//});
/ * $ (".comment-button") .live ("click", disqusToggle);
function disqusToggle () {
var id = $ (this) .attr ("id");
$ ("# disqus_thread1" + id) .toggle ();
}; * /
// $ ("main-rhs2211037"). theiaStickySidebar ();
var prev_content_height = $ (content_selector) .height ();
// $ (function () {
var layout = $ (content_selector);
var st = 0;
///});
}
}
});
/ *}
}; * /
}) (jQuery);
[ad_2]
Source link