Starting out as a waiter and rising to become CEO of his own company, Venture Lifestyle, one of the most successful event planners in the region today, Rabih Mockbel’s rapid journey to the top knows no bounds.
This summer Mockbel is organising his most spectacular event ever, an exclusive concert by superstar Jennifer Lopez on Egypt’s North Coast. And, with further plans to bring the biggest and the best stars to Egypt, Mockbel is far from done. eniGma’s Bronwen Mehta sat down with him to discover the man behind Egypt’s most extraordinary events.
After growing up in Saudi Arabia, at the age of 16 Rabih Mockbel was parachuted from the life he knew to his homeland, Lebanon, where he began studying hospitality.
While pursuing his studies, he took up work as a waiter. “I didn’t work as a waiter for money, but simply because I had no friends in Beirut. The only person I knew in Lebanon was a waiter in a hotel, so I just went along with him,” he candidly reveals.
Little did Rabih Mockbel know at the time, that this job would catapult him to much greater things. He impressed his employers from the outset, “I was a fast and eager learner. On top of that, it was unusual for a waiter to have the level of education I had. I was the most educated waiter they’d ever seen!” he recounts.
His abilities and his determination to learn paid off, and he was soon promoted to the hotel receptionist and after a while, was offered the opportunity that changed his life.
“In 2003, I was offered the job of a waiter at Lebanon’s first-ever official rooftop bar, Skybar. The position was a step-down, but the potential was much greater,” Mockbel explains. Thanks to his work ethic and already extensive experience in hospitality, Mockbel was soon managing the whole venue, and in 2006, Skybar, now renowned across the region, relocated to a grander venue. Unfortunately, in 2006, due to the outbreak of war in Lebanon, Mockbel left the country. Returning to Saudi Arabia, Mockbel began working for a large event planning company, where he gained much of the hands-on skill-set that he still uses to this day.
Ever the adventurer, Mockbel went wherever the opportunity arose. He returned to Beirut after the war, this time to become the General Manager of Skybar. Then in 2009, he moved to Egypt to take the position of General Manager of the new Skybar in Sahel.
After two years of success there, Mockbel’s life was again disrupted by conflict. When the 2011 revolution broke out in Egypt, Mockbel relocated to Abu Dhabi and began organising exclusive and exuberant events for Formula 1, before returning to Beirut in 2013 to launch his very own venue, The Bronx.
Thanks to these years filled with varied experiences, when Mockbel returned to Egypt in 2016, this time for good, his grasp of the regional entertainment scene was second to none. After starting two restaurants, Code in Dusit Thani and SeaCode in Sahel, Mockbel began to realise what the Egyptian scene was missing.
“There was a lack of big-name artists. Promoters weren’t taking any risks. If they had a sponsor, they’d organise a party. If there was no sponsor, they wouldn’t,” he explains, adding, “Promoters made it seem like artists don’t want to come to Egypt, so it is impossible to get them.
Which isn’t true. The promoters just don’t want to take the risk.” Mockbel saw this gap in the nightlife and entertainment industry as his opportunity to “break all the rules,” going on to completely revitalise the Egyptian scene by bringing a whole host of much-awaited international names.
“Instead of trying to find sponsors first, I take the risk, sign the act, and then find the sponsors. As a result of my proven successes, now sponsors come running,” Mockbel explains. And the proof is in the pudding.
Despite the fact that many in the industry had deemed it impossible, Mockbel for the first time ever, brought Solomun, Black Coffee and hip hop stars Nelly, Tyga and Inna to Egypt, giving us some of the most talked about events of the decade.
“When I said I wanted Solomun, they said it wouldn’t happen. I made it happen,” he proudly declares.
Although Mockbel’s career is replete with big events, including Justin Timberlake in Dubai, J.Lo’s performance in Egypt for an audience of 20,000, is his most colossal event yet. Emphasising its importance, Mockbel says, “I don’t feel like I’ve made it yet, but maybe after J.Lo I will. I think her concert is going to be a huge turning point for the industry as a whole. Once J.Lo has come and everything goes well, what international artist will be able to say no?!”
Looking forward, the potential for bringing new names and holding large-scale events is why Mockbel’s passion and future is tied to Egypt for now. “In Lebanon, the scene is so small and tired. In Egypt, on the other hand, people are not going out to show off and to pop champagne bottles. They club for the experience. Plus, there are just so many places available, like El Gouna, Sokhna and Sahel. They feel like completely different countries! In the next 5 years or so, the scene in Egypt is really going to take off,” he exclaims.
And he plans not just to be here for it, but to actually orchestrate it.
Priding himself as being a true trendsetter, he notes, “I never book a DJ twice. It is about being the first to do something. I don’t mind who books Solomun or Black Coffee now, the important thing is that we did it first.”
Pulling off some of the most successful events in Egypt doesn’t just happen by luck. From concept to execution, Mockbel’s attention to detail is impeccable. “I am not just going to book an act without knowing that there is demand for it. Extensive research is key, I know exactly what the audience wants to see and listen to,” he says.
But even that isn’t enough. “It is about choosing the right date and location, otherwise having the right artist doesn’t work. And once you have those, you need the right team to execute them. When necessary, I bring the best people I’ve worked with from across the region to work on an event. This is what I’ve done with J.Lo to make sure that everything goes perfectly,” Mockbel explains.
While the public is focussing on the performance itself, Rabih Mockbel’s head is elsewhere, analysing all of the details that we don’t even realise are essential to creating the perfect event.
“I am not worried about the performance, J.Lo will put on a great show. My focus is on how the audience are treated, how they will be fed and generally how to create the optimal environment for them. I am determined to make it quick and easy for the audience to enter and exit,” Mockbel elucidates.
His desire to innovate through bringing in new technology has also pushed the scene in Egypt to take big strides. But he still has grand plans for the future. “I want the transport to be part of the ticket, so that you get picked up and dropped off right at your home, with no need to drive and find parking. I want to move beyond normal tickets and wristbands,” he excitedly exclaims.
To ensure that he is on top of the latest systems, Rabih Mockbel makes sure that he gets first-hand experience from abroad.
Travelling to Houston to watch J.Lo perform, he was eagle-eyed looking to learn from any mistakes and to see what it took to make the event go down without a hitch.
Today, with such an extensive proven track record, Mockbel can honestly tell potential sponsors, “I can get any name, and I deliver,” he says. Looking ahead, for starters he’s organising the biggest kids’ two-day event that Egypt has ever seen, “The Baby Shark Show,” in October; and the legendary Bryan Adams is expected in February. So, look out Egypt, we have lots more exciting events to get ready for!
(Disclaimer: This is a Brand Desk Content)
'; var cat = "?cat=120081"; //$(".main-rhs2364454").theiaStickySidebar(); var instagram_script=document.createElement('script'); instagram_script.defer="defer"; instagram_script.async="async"; instagram_script.src="https://platform.instagram.com/en_US/embeds.js"; document.head.appendChild(instagram_script); /*************************************/ /*$(window).scroll(function(){ var last = $('div.listing').filter('div:last'); var lastHeight = last.offset().top ; if(lastHeight + last.height() = 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 = 2; if(val['id']!='2364454'){ string = '
'; $('div.listing').append(string); } }); }, error:function(xhr){ //console.log("Error"); //console.log("An error occured: " + xhr.status + " " + xhr.statusText); nextload=false; }, complete: function(){ $('div.listing').find(".loading-block").remove();; pg +=1; //console.log("mod" + ice%2); nextpath="&page=" + pg; //console.log("request complete" + nextpath); cat = "?cat=120081"; //console.log(nextpath); nextload=(ice%2==0)?true:false; } });
} //lastoff = last.offset(); //console.log("**" + lastoff + "**"); });*/ var maindiv = false; var dis = 0; var fbcontainer=""; var fbid = ''; var fb_script=document.createElement('script'); 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="https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.9";fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk'));"; var fmain = $(".sr2364454"); //alert(x+ "-" + url); var fdiv = '
'; //console.log(fdiv); //$(fb_script).appendTo(fmain); $(fdiv).appendTo(fmain); function fillElementWithAd($el, slotCode, size, targeting){ if (typeof targeting === 'undefined') { targeting = {}; } else if ( Object.prototype.toString.call( targeting ) !== '[object Object]' ) { 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[t]); } slot.addService(googletag.pubads()); googletag.display(elId); //googletag.pubads().refresh([slot]); }); } $(document).delegate("button[id^='mf']", "click", function(){ fbcontainer=""; fbid = '#' + $(this).attr('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-"]').each(function(){ _v = $(this).attr('id'); //console.log("_v: " + _v); if(_v != event){ //console.log("condition match"); ing = new YT.get(_v); if(ing.getPlayerState()=='1'){ ing.pauseVideo(); } } }); $('div[id*="video-"]').each(function(){ _v = $(this).attr('id'); //console.log("_v: " + _v + " event: " + event); if(_v != event){ //jwplayer(_v).play(false); } }); } function onYouTubePlay(vid, code, playDiv,vx, pvid){ if (typeof(YT) == 'undefined' || typeof(YT.Player) == 'undefined') { var tag = document.createElement('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: { 'autoplay': 1, 'showinfo': 1, 'controls': 1 }, events: { 'onStateChange': function(event){ onPlayerStateChange(event.target.a.id); } } }); $("#video-"+vid).show(); } function kalturaPlayerAPIReady(code, playDiv,pvid){ var dt=new Date; var nt=dt.getTime(); var vtitle = ""; pre_roll = "https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/11440465/Zeenews_English_Video/Zeenews_English_Preroll&tfcd=0&npa=0&sz=640x480&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&description_url="+vtitle+"&correlator="+nt;
var sources ={}; var config = { targetId: playDiv, provider: { partnerId: 2504201 }, playback: { pictureInPicture : true, autoplay: true }, advertising: { adBreaks: [{ position: 0, ads: [{ url: [pre_roll] }] }] }, plugins: { ima: { adsResponse: "" } } } var kalturaPlayer = KalturaPlayer.setup(config); if(kalturaPlayer){ kalturaPlayer.reset(); } var videoUrl = code; var mediaid = '"zn' + pvid + '"'; sources = { hls: [{ id: mediaid, url: videoUrl, mimetype: "application/x-mpegURL" }] } kalturaplayerSetup(kalturaPlayer, sources); if (typeof kalturaPlayer !== 'undefined') { doRegisterEvents(kalturaPlayer); } } function kalturaplayerSetup(kalturaPlayer, playbackType){ kalturaPlayer.setMedia({ plugins: {}, sources: playbackType }); }
function doRegisterEvents(kalturaPlayer) { /* player event*/ kalturaPlayer.addEventListener(kalturaPlayer.Event.Core.PLAY, playEvent); kalturaPlayer.addEventListener(kalturaPlayer.Event.Core.PAUSE, pauseEvent); kalturaPlayer.addEventListener(kalturaPlayer.Event.Core.PLAYBACK_ENDED, playbackEndedEvent);
/* ad event */ kalturaPlayer.addEventListener(kalturaPlayer.Event.AD_STARTED, adStartedEvent); kalturaPlayer.addEventListener(kalturaPlayer.Event.AD_COMPLETED, adCompletedEvent); kalturaPlayer.addEventListener(kalturaPlayer.Event.AD_SKIPPED, adSkippedEvent); kalturaPlayer.addEventListener(kalturaPlayer.Event.AD_CLICKED,adClicked); } var vlabel = "https://zeenews.india.com"+$(this).attr("video-path"); var isVideoPlayed = false; var isAdSkippedCompleted = false;
function adStartedEvent(event) { var videotype = "zee english video"; gtag('event', 'Adstarted', { 'event_category': videotype, 'event_label': vlabel}); gtag('event', 'Play', { 'event_category': videotype, 'event_label': vlabel}); isVideoPlayed = true; isAdSkippedCompleted = true; }
function adCompletedEvent(event) { var videotype = "zee english video"; gtag('event', 'Adcompleted', { 'event_category': videotype, 'event_label': vlabel}); isAdSkippedCompleted = true; }
function adSkippedEvent(event) { var videotype = "zee english video"; gtag('event', 'Adskipped', { 'event_category': videotype, 'event_label': vlabel}); isAdSkippedCompleted = true; }
function adClicked(event) { var videotype = "zee english video"; gtag('event', 'Adclicked', { 'event_category': videotype, 'event_label': vlabel}); }
function playbackEndedEvent(event){ var videotype = "zee english video"; gtag('event', 'Complete', { 'event_category': videotype, 'event_label': vlabel}); }
function playEvent(event) { var videotype = "zee english video";
if((isVideoPlayed) && (isAdSkippedCompleted)){ isAdSkippedCompleted = false; }else if((isVideoPlayed)){ gtag('event', 'resume', { 'event_category': videotype, 'event_label': vlabel}); }else{ gtag('event', 'Play', { 'event_category': videotype, 'event_label': vlabel}); isVideoPlayed = true; } }
function pauseEvent(event) { var videotype = "zee english video"; gtag('event', 'Pause', { 'event_category': videotype, 'event_label': vlabel}); }
function AdloadEvent(event) { var videotype = "zee english video"; gtag("event", "kaltura_adloaded", { "event_category": videotype, "event_label": vlabel}); }
function AdProgressEvent(event) { var videotype = "zee english video"; gtag("event", "kaltura_adprogress", { "event_category": videotype, "event_label": vlabel}); }
function adPausedEvent(event) { var videotype = "zee english video"; gtag("event", "kaltura_adpaused", { "event_category": videotype, "event_label": vlabel}); } /* End of Kaltura player function code */
$(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 vurl = $(this).attr("video-path"); var vid = $(this).attr("id"); $(this).hide(); var pvid = $(this).attr("newsid"); var vx = $(this).attr("id").replace('play-',''); var vC = $(this).attr("video-code"); var playDiv = "video-" + vid + "-" + pvid; if(isyoutube =='No'){ kalturaPlayerAPIReady(vC, playDiv,pvid); }else{ onYouTubePlay(vid, vC, playDiv,vx, pvid); } }); $(document).delegate("div[id^='ptop']", "click", function(){ var vid = $(this).attr("id").replace('ptop',''); $(this).hide(); var pvid = $(this).attr("newsid"); var vurl = $(this).attr("video-path"); //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('#play-'+vid).attr("video-source"); var vC = $(this).parent().children().find('#play-'+vid).attr("video-code"); var playDiv = "mvideo-play-" + vid + "-" + pvid; if(isyoutube =='No'){ //console.log(jwplayer($(this).attr("id")).getState()); kalturaPlayerAPIReady(vC, playDiv,pvid);
}else{ 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; if($.autopager==false){ var use_ajax = false; /*var disqus_shortname="zeehindi"; var disqus_identifier; //made of post id and guid var disqus_url; //post permalink
function loadDisqus(source, identifier, url, nid) {
if (window.DISQUS) { //alert("if"); jQuery('
').insertAfter(source); jQuery('#disqus_thread').insertAfter(source); //append the HTML after the link //if Disqus exists, call it's reset method with new parameters DISQUS.reset({ reload: true, config: function () { this.page.identifier = identifier; this.page.url = url; } }); }else{ jQuery('
').insertAfter(source); disqus_identifier = identifier; //set the identifier argument disqus_url = url; //set the permalink argument
//append the Disqus embed script to HTML var dsq = document.createElement('script'); dsq.type="text/javascript"; dsq.async = true; dsq.src="http://" + disqus_shortname + '.disqus.com/embed.js'; jQuery('head').append(dsq); } };*/ /*$('.disqusOn').live( "click", notify ); function notify() { identifier = $(this).attr('id'); dUrl = $(this).attr('disqus-url'); source = $(this).parent(); loadDisqus(jQuery(this), identifier, dUrl); }*/ function loadshare(curl){ history.replaceState('' ,'', curl); if(window.OBR){ window.OBR.extern.researchWidget(); } //console.log("loadshare Call->" + curl); //$('html head').find('title').text("main" + nxtTitle); if(_up == false){ var cu_url = curl; gtag('config', 'UA-2069755-1', {'page_path': cu_url });
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); /*(function () { var ga = document.createElement('script'); ga.type="text/javascript"; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + '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'); var view_selector="div.center-section"; // + settings.view_name; + '.view-display-id-' + settings.display; var content_selector = view_selector; // + settings.content_selector; var items_selector = content_selector + ' > div.rep-block'; // + settings.items_selector; var pager_selector="div.next-story-block > div.view-zn-article-mc-all-2017 > div.view-content > div.clearfix"; // + settings.pager_selector; var next_selector="div.next-story-block > div.view-zn-article-mc-all-2017 > div.view-content > div.clearfix > a:last"; // + settings.next_selector; var auto_selector="div.tag-block"; var img_location = view_selector + ' > div.rep-block:last'; var img_path="
"; //settings.img_path; //var img = '
'; var img = img_path; //$(pager_selector).hide(); //alert($(next_selector).attr('href')); var x = 0; var url=""; var prevLoc = window.location.pathname; var circle = ""; var myTimer = ""; var interval = 30; var angle = 0; var Inverval = ""; 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 = $('.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); }, load: function(){ $('div.loading-block').remove(); clearInterval(Inverval); //$('.repeat-block > .row > div.main-rhs2364454').find('div.rhs2364454:first').clone().appendTo('.repeat-block >.row > div.main-rhs' + x); $('div.rep-block > div.main-rhs2364454 > div:first').clone().appendTo('div.rep-block > div.main-rhs' + x); $('.center-section >.row:last').before('
Next Story
'); //$(".main-rhs" + x).theiaStickySidebar(); var fb_script=document.createElement('script'); 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="https://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 = '
'; //$(fb_script).appendTo(fmain); $(fdiv).appendTo(fmain); FB.XFBML.parse(); var $dfpAd = $('.center-section').children().find("#ad-"+ x); xp = "#star"+x;
//var $dfpAdrhs = $('.main-rhs' + x).children().find('.adATF').empty().attr("id", "ad-300-" + x); //$('.content-area > .main-article > .row > .main-rhs'+x).find('#ad-300-' + x); //var $dfpAdrhs2 = $('.main-rhs' + x).children().find('.adBTF').empty().attr("id", "ad-300-2-" + x);//$('.content-area > .main-article > .row > .main-rhs'+x).find('#ad-300-2-' + x); //var $dfpMiddleAd = $('.content-area > .main-article > .row').find('#ar'+x).find('#ad-middle-' + x).empty(); //fillElementWithAd($dfpAdrhs, '/11440465/Zeenews_English_Web/Zeenews_English_AS_ATF_300x250', [[300, 250], [300, 600]], {}); //fillElementWithAd($dfpAdrhs2, '/11440465/Zeenews_English_Web/Zeenews_English_AS_BTF_1_300x250', [300, 250], {}); //fillElementWithAd($dfpMiddleAd, '/11440465/Zeenews_Hindi_Article_Middle_300x250_BTF', [300, 250], {}); var instagram_script=document.createElement('script'); instagram_script.defer="defer"; instagram_script.async="async"; instagram_script.src="https://platform.instagram.com/en_US/embeds.js";
/*var outbrain_script=document.createElement('script'); outbrain_script.type="text/javascript"; outbrain_script.async="async"; outbrain_script.src="https://widgets.outbrain.com/outbrain.js"; var Omain = $("#outbrain-"+ x); //alert(Omain + "--" + $(Omain).length);
$(Omain).after(outbrain_script); var rhs = $('.main-article > .row > div.article-right-part > div.rhs2364454:first').clone(); $(rhs).find('.ad-one').attr("id", "ad-300-" + x).empty(); $(rhs).find('.ad-two').attr("id", "ad-300-2-" + x).empty(); //$('.main-article > .row > div.article-right-part > div.rhs2364454:first').clone().appendTo('.main-article > .row > div.main-rhs' + x); $(rhs).appendTo('.main-article > .row > div.main-rhs' + x); */
setTimeout(function(){
var twit = $("div.field-name-body").find('blockquote[class^="twitter"]').length; var insta = $("div.field-name-body").find('blockquote[class^="instagram"]').length; if(twit==0){twit = ($("div.field-name-body").find('twitterwidget[class^="twitter"]').length);} if(twit>0){ if (typeof (twttr) != 'undefined') { twttr.widgets.load();
} else { $.getScript('https://platform.twitter.com/widgets.js'); } //$(twit).addClass('tfmargin'); } if(insta>0){ $('.content > .left-block:last').after(instagram_script); //$(insta).addClass('tfmargin'); window.instgrm.Embeds.process(); } }, 1500); } }); /*$("#loadmore").click(function(){ x=$(next_selector).attr('id'); var url = $(next_selector).attr('href'); disqus_identifier="ZNH" + x; disqus_url = url; handle.autopager('load'); history.pushState('' ,'', url); setTimeout(function(){ //twttr.widgets.load(); //loadDisqus(jQuery(this), disqus_identifier, disqus_url); }, 6000); });*/
/*$("button[id^='mf']").live("click", disqusToggle); function disqusToggle() { console.log("Main id: " + $(this).attr('id')); }*/ $(document).delegate("button[id^='mf']", "click", function(){ fbcontainer=""; fbid = '#' + $(this).attr('id'); var sr = fbid.replace("#mf", ".sr");
//console.log("Main id: " + $(this).attr('id') + "Goodbye!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 = '';
}); /************Player Code ***********/ var title, imageUrl, description, author, shortName, identifier, timestamp, summary, newsID, nextnews; var previousScroll = 0; //console.log("prevLoc" + prevLoc); $(window).scroll(function(){ var last = $(auto_selector).filter(':last'); var lastHeight = last.offset().top ; //st = $(layout).scrollTop(); //console.log("st:" + st); var currentScroll = $(this).scrollTop(); if (currentScroll > previousScroll){ _up = false; } else { _up = true; } previousScroll = currentScroll; //console.log("_up" + _up);
var cutoff = $(window).scrollTop() + 64; //console.log(cutoff + "**"); $('div[id^="row"]').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('.left-block').attr('data-url'); $('html head').find('title').text($(this).children().find('.left-block').attr('data-title')); $('meta[name=description]').attr("content",$(this).children().find('.left-block').attr('data-summary')); $('meta[name=keywords]').attr("content",$(this).children().find('.left-block').attr('data-keyword')); $('meta[name=news_keywords]').attr("content",$(this).children().find('.left-block').attr('data-keyword'));
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('.left-block').attr('data-keyword')); //history.pushState('' ,'', prevLoc); loadshare(prevLoc); } return false; // stops the iteration after the first one on screen } }); if(lastHeight + last.height()
$(function() { return $("[data-sticky_column]").stick_in_parent({ parent: "[data-sticky_parent]" }); });
reset_scroll = function() { var scroller; scroller = $("body,html"); scroller.stop(true); if ($(window).scrollTop() !== 0) { scroller.animate({ scrollTop: 0 }, "fast"); } return scroller; };
window.scroll_it = function() { var max; max = $(document).height() - $(window).height(); return reset_scroll().animate({ scrollTop: max }, max * 3).delay(100).animate({ scrollTop: 0 }, max * 3); };
window.scroll_it_wobble = function() { var max, third; max = $(document).height() - $(window).height(); third = Math.floor(max / 3); return reset_scroll().animate({ scrollTop: third * 2 }, max * 3).delay(100).animate({ scrollTop: third }, max * 3).delay(100).animate({ scrollTop: max }, max * 3).delay(100).animate({ scrollTop: 0 }, max * 3); };
$(window).on("resize", (function(_this) { return function(e) { return $(document.body).trigger("sticky_kit:recalc"); }; })(this));
}).call(this);
googletag.pubads().setTargeting('category', ["article","People","Rabih Mockbel","Venture Lifestyle Company","Jennifer Lopez","Jennifer Lopez Egypt Concert","Egypt"]); googletag.pubads().enableLazyLoad({ fetchMarginPercent: 50, renderMarginPercent: 50, mobileScaling: 2.0 }); googletag.pubads().disableInitialLoad(); googletag.pubads().enableAsyncRendering(); googletag.pubads().set('page_url','https://zeenews.india.com/'); googletag.pubads().collapseEmptyDivs(); googletag.enableServices(); }); googletag.cmd.push(function() { googletag.display('div-article-rhs-atf-ad'); }); googletag.cmd.push(function() { googletag.display('div-gpt-ad-1504525832454-0'); }); googletag.cmd.push(function() { googletag.display('div-gpt-ad-1504525832454-2'); }); googletag.cmd.push(function() { googletag.display('div-gpt-ad-1504526235866-6'); });
} on_load_google_ad(); function sendAdserverRequest() { try { if (pbjs && pbjs.adserverRequestSent) return; googletag.cmd.push(function() { googletag.pubads().refresh(); }); } catch (e) {
googletag.cmd.push(function() { googletag.pubads().refresh(); }); } } setTimeout(function() { sendAdserverRequest(); }, 5000);
function on_load_fb_twitter_widgets(){ (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 = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.9"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));
window.twttr = (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0], t = window.twttr || {}; if (d.getElementById(id)) return t; js = d.createElement(s); js.id = id; js.src = "https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); t._e = []; t.ready = function(f) {
t._e.push(f); }; return t; }(document, "script", "twitter-wjs")); }
//setTimeout(function() { on_load_google_ad(); }, 5000); setTimeout(function() { on_load_fb_twitter_widgets(); }, 5000);