https://geoapi.indiatimes.com/?cb=1=0) || (window.parent.channelname != undefined && window.parent.channelname == 233446897))) && countryCode==”IN”) { if(toiprops.cookie.get(‘playvd’) == undefined || (toiprops.cookie.get(‘playvd’) && toiprops.cookie.get(‘playvd’) != 1)) { $(“.liveS_container”).hide(); if (typeof miniTV.clickLoad == “function”) miniTV.clickLoad(); } $(“#player”).attr(“src”, “/sponsortv.cms”); $(“.livetv_title”).html(sponsoredTitle); $(“.livetv_title”).attr(“title”,sponsoredTitleFull); $(“#streaming_box”).addClass(“sponsoredad”); isSponsorVideoPlaying = true; registerSponsorVid && registerSponsorVid(); } else if(miniTVType == “sponsoredvideo” && miniTVScope == “” && countryCode==”IN”) { if(toiprops.cookie.get(‘playvd’) == undefined || (toiprops.cookie.get(‘playvd’) && toiprops.cookie.get(‘playvd’) != 1)) { $(“.liveS_container”).hide(); if (typeof miniTV.clickLoad == “function”) miniTV.clickLoad(); } $(“#player”).attr(“src”, “/sponsortv.cms”); $(“.livetv_title”).html(sponsoredTitle); $(“.livetv_title”).attr(“title”,sponsoredTitleFull); $(“#streaming_box”).addClass(“sponsoredad”); isSponsorVideoPlaying = true; registerSponsorVid && registerSponsorVid(); } else if(miniTVType == “livetvvideo” && (miniTVScope == “etimes” && ((window.parent.toiprops.subsec1!=undefined && entertainmentSections.indexOf(window.parent.toiprops.subsec1) >=0) || (window.parent.channelname != undefined && window.parent.channelname == 233446897)))) { $(“#streaming_box”).removeClass(“sponsoredad”); isSponsorVideoPlaying = false; // do nothing if(miniTVTitle == “”) { if(toiprops.cookie.get(‘playvd’) == undefined || (toiprops.cookie.get(‘playvd’) && toiprops.cookie.get(‘playvd’) != 1)) { $(“.liveS_container”).hide(); } } } else if(miniTVType == “livetvvideo” && miniTVScope == “ptgalso”) { $(“#streaming_box”).removeClass(“sponsoredad”); isSponsorVideoPlaying = false; // do nothing if(miniTVTitle == “”) { if(toiprops.cookie.get(‘playvd’) == undefined || (toiprops.cookie.get(‘playvd’) && toiprops.cookie.get(‘playvd’) != 1)) { $(“.liveS_container”).hide(); } } } else { //do nothing $(“.liveS_container”).hide(); $(“#minitv”).hide() } }); }; $(window).load(function(){miniTV.isOn();});]]>FOLLOW US ON:

Most Popular in Music

‘).text(‘Travel Galleries’); h3.appendTo(div); var leftli = result; for (var i in leftli) { stryname = leftli[i][constants.cname]; stryurl = ‘http://www.happytrips.com’ + leftli[i][constants.curl]; imageid = leftli[i][constants.cid]; if (i == 0) { var lDiv = $(”).addClass(‘section large’); lDiv.appendTo(div); var img1 = $(‘‘).attr(‘src’, ‘https://static.toiimg.com/photo/’ + imageid + ‘.cms’); var a1 = $(‘‘).attr({ ‘target’: ‘_blank’, ‘href’: stryurl, ‘alt’: stryname, ‘title’: stryname }).append(img1); a1.appendTo(lDiv); var a2 = $(‘‘).attr({ ‘target’: ‘_blank’, ‘href’: stryurl, ‘alt’: stryname, ‘title’: stryname }).append(stryname); var p1 = $(”).append(a2); p1.appendTo(lDiv); var cdiv = $(”).addClass(‘clear’); cdiv.appendTo(lDiv); lDiv.appendTo(div); } else if (i == 1) { var lDiv = $(”).addClass(‘section alt’); lDiv.appendTo(div); var img1 = $(‘‘).attr(‘src’, ‘https://static.toiimg.com/photo/’ + imageid + ‘.cms’).css({ width: ’75px’, height: ’50px’ }); var a1 = $(‘‘).attr({ ‘target’: ‘_blank’, ‘href’: stryurl, ‘alt’: stryname, ‘title’: stryname }).append(img1); a1.appendTo(lDiv); var a2 = $(‘‘).attr({ ‘target’: ‘_blank’, ‘href’: stryurl, ‘alt’: stryname, ‘title’: stryname }).append(stryname); var p1 = $(”).append(a2); p1.appendTo(lDiv); var cdiv = $(”).addClass(‘clear’); cdiv.appendTo(lDiv); lDiv.appendTo(div); } else if (i == 2) { var lDiv = $(”).addClass(‘section’); lDiv.appendTo(div); var img1 = $(‘‘).attr(‘src’, ‘https://static.toiimg.com/photo/’ + imageid + ‘.cms’).css({ width: ’75px’, height: ’50px’ }); var a1 = $(‘‘).attr({ ‘target’: ‘_blank’, ‘href’: stryurl, ‘alt’: stryname, ‘title’: stryname }).append(img1); a1.appendTo(lDiv); var a2 = $(‘‘).attr({ ‘target’: ‘_blank’, ‘href’: stryurl, ‘alt’: stryname, ‘title’: stryname }).append(stryname); var p1 = $(”).append(a2); p1.appendTo(lDiv); var cdiv = $(”).addClass(‘clear’); cdiv.appendTo(lDiv); lDiv.appendTo(div); } else if (i == 3) { var lDiv = $(”).addClass(‘section alt’); lDiv.appendTo(div); var img1 = $(‘‘).attr(‘src’, ‘https://static.toiimg.com/photo/’ + imageid + ‘.cms’).css({ width: ’75px’, height: ’50px’ }); var a1 = $(‘‘).attr({ ‘target’: ‘_blank’, ‘href’: stryurl, ‘alt’: stryname, ‘title’: stryname }).append(img1); a1.appendTo(lDiv); var a2 = $(‘‘).attr({ ‘target’: ‘_blank’, ‘href’: stryurl, ‘alt’: stryname, ‘title’: stryname }).append(stryname); var p1 = $(”).append(a2); p1.appendTo(lDiv); var cdiv = $(”).addClass(‘clear’); cdiv.appendTo(lDiv); lDiv.appendTo(div); } else {} } } $(‘.widget’).append(div); }); });

Source

Leave a Reply