Sunday / December 16.
HomeMiddle EastIn pictures: Team Emirates wins Abu Dhabi Tour title

In pictures: Team Emirates wins Abu Dhabi Tour title

‘;
}
$(div+’ div.hotstories’).html(“https://thearabianpost.com/wp-content/uploads/2017/02/www.arabianbusiness.com”+txt+”https://thearabianpost.com/wp-content/uploads/2017/02/www.arabianbusiness.com”);
});
}
},300);
}// if div exist
}// if hass current
});
tab.mouseleave(function(){
clearTimeout(timer);
timer = null;
$(‘ul.main-nav-firstlevel li’).removeClass(‘current’); $(‘.main-nav-firstlevel li div.megamenuitem’).slideUp(‘fast’);
/*var div = ‘div#’+$(tab).children(‘a.anchor’).attr(‘name’);
$(div).bind(“mouseleave”,function(){
clearTimeout(timer);
timer = null;
$(‘ul.main-nav-firstlevel li’).removeClass(‘current’); $(‘.main-nav-firstlevel li div.megamenuitem’).slideUp(‘fast’);
});*/
});
});
}
*/
function megaMenu(){
var timer;
$(‘div.mlev1 table tr td’).each(function(){
var tab = $(this);
var a = tab.children(‘a’);
var div = ‘div#’+$(tab).children(‘a’).attr(‘name’);
tab.mouseenter(function(){
if(!$(tab).hasClass(‘current’)){
var sp = $(tab).children(‘a’).attr(‘rel’);
if(timer){
clearTimeout(timer);
timer = null;
$(‘div.mlev1 table tr td’).removeClass(‘current’); $(‘div.mlev1 table tr td div.megamenuitem’).slideUp(‘fast’);
}
if($(div).size()==1){
timer = setTimeout(function(){
$(tab).addClass(‘current’);
$(div).slideDown(‘fast’);
var storyCount = $(div).find(‘div.hotstories’).children(‘div’).size();
if((sp!=”https://thearabianpost.com/wp-content/uploads/2017/02/www.arabianbusiness.com”) && (storyCount==0)){
$.get(‘/template/custom/ajax/?service=menuStories&sp=’+sp, function(data){
var txt = “https://thearabianpost.com/wp-content/uploads/2017/02/www.arabianbusiness.com”;
var obj = jQuery.parseJSON(data); for(var i=0;i‘;
//txt = txt + ‘

‘+row[‘title’]+’

‘+row[‘introText’];
txt = txt + ‘

‘+row[‘title’]+’

‘;
txt = txt + ‘

Source link