Chicago: FanDuel affiliate Over/Under sportsbook bar seeing success with “Betting Ambassadors” model
A little more than two years after the opening of Over/Under in Chicago’s Lakeview neighborhood, the sports betting bar on the city’s North Side has made a few improvements. These include more TV screens to view game action and odds information, more seats, renewed seats, and a third viewing area.
With another college basketball-filled March Madness underway, owner Ed Berry discussed with Sports Handle his new ideas, including what he calls “Over/Under Plus.”
According to Berry, there are between 140 and 150 days a year when most of the bar sales occur, coinciding with the big days of sports. However, he believed there was something more Over/Under could offer in terms of attracting new sports bettors.
This is how he developed the feature “Betting Ambassadors”, a concept Berry had been working on since Over/Under opened before the bar became a FanDuel affiliate. With this new feature, customers can call the ambassadors to any table to discuss the day’s games and relevant statistics to help them with their mobile betting.
Berry’s Over/Under Plus is composed of social interaction, gamification, and technology. He hopes to bring the model to other bars in the city, and eventually across the country, to turn them into preferred destinations, he told Sports Handle.
The second part of Berry’s plus-model is the gamification of wagering itself. There was some trial and error, as he required legal clearance from FanDuel each time the betting ambassadors expanded into a different sport and combined different contests with the sign-up bonuses that come with mobile registration. But Berry’s creations of raffles for bettors and “Bettor Bingo” took off quickly.
“We invented gamification and prizeification to go with the book experience,” he told the publication. “And it’s been greatly embraced.
Under this system, the bettor will receive one raffle ticket for their initial $20 bet and an additional raffle ticket for every subsequent $10 bet. Every two hours, a winning number is drawn, and the successful bettor wins either $50 or $100 credited back onto their cash deposit.
“Bettor Bingo” has patrons attempt to bring together a winning five-leg parlay that has minimum +400 odds, which plays right into FanDuel’s wheelhouse as the biggest mover of such wagering among sports betting apps. Berry estimates that during big game days, at least half of the patrons at Over/Under are doing some type of wagering.
The third piece of the Over/Under Plus model came as Berry visited other cities with his evolving business model. Berry began to look at the possibility of the betting ambassador harnessing the betting odds information, their own sports betting knowledge, and technology to retrofit a location to make it similar to Over/Under.
“Let’s say it’s football Sunday, they have Bears-Packers, and the next screen is Ravens-Steelers,” Berry told Sports Handle. “I can customize every screen, and as my betting ambassador talks to you, they can talk to you about what they see on those matchups.
“And there could be Bettor Bingos or special offers on that specific game if that’s what you want to talk about.” For some bars, it’s a simple add-on to the technology without the need to install new screens. “We are simply manipulating the feed on your screens,” he explained.
The odds information appears in an L-shape on the outer perimeter of the picture showing the game via an internet feed, and they’re the same odds available on the FanDuel sports betting app. The screens that don’t have games being aired have odds information. He also suggested adding advertisements into the rotation of the odds information to include ads featuring the sign-up specials in addition to the QR scan codes found at each table.
The ambassadors are in charge of the pre-game setup, picking which games appear on which screens and which games will have audio throughout the location. The ambassadors can also set a screen to a specific game with those specific odds listings in the L-shape addition to walk and talk patrons through the sign-up process and betting options if they wish.
The gamification of wagering at Over/Under has served the location well generating repeat business. Berry is offering patrons the opportunity to reserve tables through Tock for six-hour blocks at a time for the NCAA Tournament for $60 per person for groups up to 20, with that deposit going toward the final bill.
Over/Under is soon to face some competition. The DraftKings Sportsbook at Wrigley Field recently obtained its sports facility wagering license from the Illinois Gaming Board and commenced retail betting operations last Friday. Despite the prominent presence of the 20,000-square-foot DraftKings Sportsbook nearby, Berry feels Over/Under Plus has the agility to provide an edge in an eventual and necessary transition for sportsbooks, from customer acquisition to retention.
$(document).ready(function(){
window.menu_construct();
if(localStorage.getItem("intervencion_int_habilitada")){ window["intervencion_int_habilitada"] = true;
window.crear_elementos_intervencion(); }
window.estructuras_construct(); window.timeout_recarga_general();
window.suscripcion_newsletter_construct(); window.carousel_opinion_construct(); window.carousel_revistas_construct(); window.carousel_eventos_construct();
}); $(document).ready(function(){
window.abrir_photoswipe_detalle_noticia = function(index){
if(typeof(index) == "undefined"){ index = 0; }
let options = {
index: parseInt(index), closeOnScroll: false, history: true,
shareButtons: [ {id:'download', label:'Descargar imagen', url:'{{raw_image_url}}', download:true} ]
};
// Crea el PhotoSwipe y lo inicializa let photoswipe = new PhotoSwipe(pswpElement_detalle_noticia, PhotoSwipeUI_Default, photoswipe_items_detalle_noticia, options); photoswipe.listen('close', function() {
});
photoswipe.init();
}
$(".boton_dejar_comentario").click(function(){ window.cargar_sdk_facebook(); $(this).html("Loading ..."); setTimeout(() => { $(".boton_dejar_comentario").addClass("oculto"); }, 1000); });
}); $(document).ready(function(){
$(".swiper-container").each(function(){ var swiper_id = $(this).attr("swiper_id"); eval("iniciar_galeria_"+swiper_id+"()"); });
}); window.cargar_sdk_facebook = function() { window.fbAsyncInit = function() { FB.init({ appId : '1492337167736839', xfbml : true, version : 'v12.0' }); };
// Carga el SDK de Facebook de forma asincrónica (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"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); }
window.menu_construct = function(){
$(window).click(function() { $("body").removeClass("menu_abierto"); $(".item_menu.tiene_hijos").removeClass("menu_abierto"); });
$('.contenedor_items_menu').click(function(e){ e.stopPropagation(); }); $('.boton_toggle_mobile').click(function(e){ e.stopPropagation(); }); $(".boton_toggle_mobile").click(function(){ $("body").toggleClass("menu_abierto"); });
$(".item_menu.tiene_hijos").click(function(){ var presente = $(this).hasClass("menu_abierto"); $(".item_menu.tiene_hijos").removeClass("menu_abierto"); if(presente){ $(this).addClass("menu_abierto"); }
$(this).toggleClass("menu_abierto"); }); if(!$("body").hasClass("live_preview") && !$("body").hasClass("clickear_anuncio") && $(".header").length>0){
$(window).scroll(function(){
var distancia_header_top = $(this).scrollTop() - $(".header").offset().top;
var diferencia_ultimo_scroll = $(this).scrollTop() - window.ultimo_scroll;
if(!$(".header").hasClass("fijo")){
if(distancia_header_top >= 0 && diferencia_ultimo_scroll > 0){ $('
').prependTo(".header_dos_publicidades"); $(".header").addClass("fijo"); } }else{
var distancia_header_logo = $(".logo").offset().top - $(".header").offset().top; if(distancia_header_logo > 0 && diferencia_ultimo_scroll < 0){ $(".placeholder_menu").remove(); $(".header").removeClass("fijo"); } } window.ultimo_scroll = $(this).scrollTop(); }); } } window.estructuras_construct = function(){ var e = $(".contenedor_general_estructura").attr("e"); if(typeof(window["intervencion_int"]) != "undefined"){ if($(".switch_intervencion").length == 0){ $('
').appendTo("body");
$('').appendTo(".switch_intervencion"); $('').appendTo(".switch_intervencion");
$(".switch_intervencion").click(function() { if(window["intervencion_int_habilitada"]){ window.deshabilitar_intervencion(); }else{ window.habilitar_intervencion(); } });
} }
$(".switch_intervencion").css("bottom","20px");
if(window["intervencion_int_habilitada"]){ $("body").addClass("intervencion"); }else{ $("body").removeClass("intervencion"); }
if($(".contenedor_general_estructura").length>0){
window.ancho_estructura = $(".contenedor_general_estructura").width();
if(window.ancho_estructura < 850){ $("body").addClass("mobile"); } window.cargar_info_modulos = true; window.cargar_info_espacios_publicitarios = true; switch($("html").attr("lang")){ case "en-US": default: window.idioma = "int"; break; case "es": window.idioma = "lat"; break; } var c = $(".contenedor_general_estructura").attr("c"); var p = $(".contenedor_general_estructura").attr("p"); var e = $(".contenedor_general_estructura").attr("e"); var c_local = localStorage.getItem(window.idioma+'c'+e); var p_local = localStorage.getItem(window.idioma+'p'+e); if(c_local){ window.cargar_info_modulos = false; } if(!c_local && c){ localStorage.setItem(window.idioma+'c'+e,c); c_local = c; } if(c != c_local){ window.cargar_info_modulos = true; localStorage.setItem(window.idioma+'c'+e,c); } if(p_local){ window.cargar_info_espacios_publicitarios = false; } if(!p_local && p){ localStorage.setItem(window.idioma+'p'+e,p); p_local = p; } if(p != p_local){ window.cargar_info_espacios_publicitarios = true; localStorage.setItem(window.idioma+'p'+e,p); } } var selector_espacios = ".slot.espacio_publicitario:not(.mobile)"; if($("body").hasClass("mobile")){ selector_espacios = ".slot.espacio_publicitario.mobile"; } window.espacios_procesar = $(selector_espacios).length; window.espacios_procesados = 0; $(".modulo:not(.contenido_generico)").each(function(e){ $(this).find(selector_espacios).each(function(e){ var estructuras_id = $(this).closest(".modulo").attr("estructuras_id"); var modulos_id = $(this).closest(".modulo").attr("modulos_id"); var slot = $(this).attr("slot"); if(!$("body").hasClass("live_preview")){ window.cargar_datos_espacio_publicitario_en_slot(estructuras_id,modulos_id,slot); }else{ window.cargar_info_espacio_publicitario_en_slot($(this)); } $(this).unbind(); $(this).click(function(){ var campanas_id = $(this).find("a").attr("c"); if(typeof(campanas_id) !="undefined"){ var data_metricas = JSON.parse(localStorage.getItem("met_international")); var slot = $(this).attr("slot"); var modulos_id = $(this).find("a").attr("m"); var estructuras_id = $(".contenedor_general_estructura").attr("e"); var indice_campana = "e"+estructuras_id+"m"+modulos_id+"s"+slot+"c"+campanas_id; if(!data_metricas) { data_metricas = {}; } if(!data_metricas[indice_campana]) { data_metricas[indice_campana] = { c:1, i:0 } }else{ data_metricas[indice_campana] = { c: parseInt(data_metricas[indice_campana].c + 1), i: data_metricas[indice_campana].i, } } localStorage.setItem("met_international", JSON.stringify(data_metricas)); localStorage.setItem("cgc_international", true); localStorage.removeItem("fus_international"); window.sincronizar_metricas_espacios_publicitarios(); } }); }); }); window.mover_espacios_publicitarios_mobile_bajo_noticias(); window.timeout_recarga_espacios_publicitarios(); window.sincronizar_metricas_espacios_publicitarios(); window.setTimeout(function(){ $(".contenedor_general_estructura").addClass("fin_carga"); $(".fondo_derecho_intervencion").removeClass("oculto"); $(".fondo_izquierdo_intervencion").removeClass("oculto"); $(".switch_intervencion").removeClass("oculto"); },200); } window.espacio_intro_construct = function(espacio_intro){ var e = $(".contenedor_general_estructura").attr("e"); var espacio_intro_modulo = $(espacio_intro).find(".modulo"); var espacio_intro_slot = $(espacio_intro_modulo).find(".slot"); if($(espacio_intro_slot).length > 0){
if(!espacio_intro_slot.hasClass("vacio")) {
var intro_mostrado = localStorage.getItem("intro_int_e"+e+"_mostrado"); var edad_mostrado = parseInt('1710555870') - parseInt(intro_mostrado);
if(!intro_mostrado || edad_mostrado > 3600){
$("body").addClass("intro_abierto"); $("body").attr("seg_intro",10); $(espacio_intro_modulo).find(".inner_modulo").find(".contador_intro").remove(); $(espacio_intro_modulo).find(".inner_modulo").append('
'); clearTimeout(window.timeout_cerrar_publicidad_intro); clearInterval(window.interval_cuenta_regresiva_publicidad_intro);
window.timeout_cerrar_publicidad_intro = window.setTimeout(() => {
$(espacio_intro_modulo).click();
}, parseInt($("body").attr("seg_intro")) * 1000);
window.interval_cuenta_regresiva_publicidad_intro = window.setInterval(() => { var seg_intro = $("body").attr("seg_intro"); seg_intro = seg_intro - 1;
$(espacio_intro_modulo).find(".contador_intro").html(seg_intro+" Seconds remaining");
$("body").attr("seg_intro",seg_intro);
},1000);
$(espacio_intro_modulo).click(function(e){ if($(e.target).hasClass("modulo")){
$(this).find(".boton_cerrar_espacio").click();
} });
}else{ $(espacio_intro).addClass("oculto"); }
}else{ $(espacio_intro).addClass("oculto"); }
}
}
window.ocultar_espacio_publicitario_absoluto = function(contenedor_modulo){ var e = $(".contenedor_general_estructura").attr("e");
$(contenedor_modulo).addClass("oculto");
if($("body").hasClass("intro_abierto")){ localStorage.setItem("intro_int_e"+e+"_mostrado",'1710555870'); $("body").removeClass("intro_abierto"); clearInterval(window.interval_cuenta_regresiva_publicidad_intro); $("body").attr("seg_intro",10); }
if($(contenedor_modulo).hasClass("publicidad_mobile_6_1_flotante_inferior")){ if($(".switch_intervencion").length > 0){ $(".switch_intervencion").css("bottom","20px"); } }
}
window.habilitar_intervencion = function(){
$(".contenedor_general_estructura").removeClass("fin_carga"); window["intervencion_int_habilitada"] = true; localStorage.setItem("intervencion_int_habilitada",true);
window.crear_elementos_intervencion();
localStorage.removeItem(window.idioma+'p1'); localStorage.removeItem(window.idioma+'p2'); localStorage.removeItem(window.idioma+'p3'); localStorage.removeItem(window.idioma+'p4');
localStorage.removeItem("intro_int_e1_mostrado"); localStorage.removeItem("intro_int_e2_mostrado"); localStorage.removeItem("intro_int_e3_mostrado"); localStorage.removeItem("intro_int_e4_mostrado");
$(".espacio_publicitario").removeClass("vacio"); $(".espacio_publicitario").removeClass("cargada"); $(".contenedor_modulo.oculto").removeClass("oculto");
window.setTimeout(function(){ window.estructuras_construct();
$('html, body').animate({ scrollTop: 0 },500);
},500);
}
window.deshabilitar_intervencion = function(){
$(".contenedor_general_estructura").removeClass("fin_carga");
window["intervencion_int_habilitada"] = false; localStorage.removeItem("intervencion_int_habilitada");
$(".logo_intervencion").remove(); $(".fondo_izquierdo_intervencion").remove(); $(".fondo_derecho_intervencion").remove();
// limpio para fozar la carga de la publicidad nuevamente (todas las estructuras) localStorage.removeItem(window.idioma+'p1'); localStorage.removeItem(window.idioma+'p2'); localStorage.removeItem(window.idioma+'p3'); localStorage.removeItem(window.idioma+'p4');
localStorage.removeItem("intro_int_e1_mostrado"); localStorage.removeItem("intro_int_e2_mostrado"); localStorage.removeItem("intro_int_e3_mostrado"); localStorage.removeItem("intro_int_e4_mostrado");
$(".espacio_publicitario").removeClass("vacio"); $(".espacio_publicitario").removeClass("cargada"); $(".contenedor_modulo.oculto").removeClass("oculto");
window.setTimeout(function(){ window.estructuras_construct();
$('html, body').animate({ scrollTop: 0 },500); },500); }
window.crear_elementos_intervencion = function(){
if($(".logo_intervencion").length == 0){ $("").appendTo($(".slot .logo a")); }
if($(".fondo_derecho_intervencion").length == 0){ $("").appendTo($("body")); }
if($(".fondo_izquierdo_intervencion").length == 0){ $("").appendTo($("body")); }
}
window.mover_espacios_publicitarios_mobile_bajo_noticias = function(){
var estructura = $(".contenedor_general_estructura"); var contador_noticias = 1; $(estructura).find(".contenedor_modulo .noticia:not(.relacionada)").each(function(e){ $(this).attr("orden",contador_noticias); contador_noticias ++; });
$(estructura).find(".contenedor_modulo.mobile").each(function(e){ var orden = parseInt($(this).find(".modulo").attr("orden"))+1; var noticia = $(estructura).find(".contenedor_modulo .noticia[orden="+orden+"]"); var publicidad = $(this);
if($(noticia).hasClass("noticia")){ $(publicidad).detach().insertAfter(noticia); }
});
$(estructura).find(".modulo").each(function(){
var contador_modulos_mobile=1; $(this).find(".contenedor_modulo.mobile").each(function(){ $(this).addClass("orden_"+contador_modulos_mobile); contador_modulos_mobile++ }); });
$(estructura).addClass("publicidad_mobile_ubicada");
}
window.cargar_datos_espacio_publicitario_en_slot = function(estructuras_id,modulos_id,slot){
if(window.cargar_info_modulos || window.cargar_info_espacios_publicitarios){ var url = "/international/publicidad/modulo/"; var parametros = "estructuras_id="+estructuras_id+"&modulos_id="+modulos_id+"&slot="+slot; if(window["intervencion_int_habilitada"]){ parametros = parametros +"&intervenciones_id="+window["intervencion_int"].id; } consulta_generica_ajax(url,parametros,null,cargar_datos_espacio_publicitario_en_slot_callback); }else{ var e = $(".contenedor_general_estructura").attr("e");
var data_espacio = localStorage.getItem(window.idioma+'e'+e+"m"+modulos_id+"s"+slot); var data_callback = {
local:true, modulos_id:modulos_id, slot:slot, data: data_espacio,
}
cargar_datos_espacio_publicitario_en_slot_callback(data_callback);
}
}
window.cargar_datos_espacio_publicitario_en_slot_callback = function(data){ var e = $(".contenedor_general_estructura").attr("e");
// Si hay campanas en el espacio if(data.data !== null){
if(typeof data.data=="string"){ data.data = JSON.parse(data.data); }
if(data.local && data.data){ data.data = shuffle(data.data); }
localStorage.setItem(window.idioma+'e'+e+'m'+data.modulos_id+'s'+data.slot, JSON.stringify(data.data));
window.play_espacio_publicitario(e,data.modulos_id,data.slot);
}else{ window.ocultar_espacio_publicitario_vacio(data.modulos_id,data.slot); }
window.espacios_procesados ++;
if(window.espacios_procesar == window.espacios_procesados){ if($(".boton_cerrar_espacio").length>0){
$(".boton_cerrar_espacio").each(function(){ var boton_cerrar_espacio = $(this); var html_espacio = $.trim($(boton_cerrar_espacio).parent().find(".slot").html());
if(html_espacio.length > 0){
$(boton_cerrar_espacio).click(function(){ if(!$(boton_cerrar_espacio).closest(".contenedor_modulo").hasClass("oculto")){ window.ocultar_espacio_publicitario_absoluto($(boton_cerrar_espacio).closest(".contenedor_modulo")); }
});
window.setTimeout(function() { $(boton_cerrar_espacio).removeClass("oculto"); },1000); } });
}
}
}
window.cargar_info_espacio_publicitario_en_slot = function(espacio){
var nombre = $(espacio).attr("nombre"); $(espacio).attr("nombre_espacio",nombre); var campanas = $(espacio).attr("campanas_mostrar");
// Genero el contenedor y contenido centrado vertical $('
}).appendTo($(espacio));
$('
}).appendTo($(espacio).find(".contenedor_centrado_vertical"));
$('').appendTo($(espacio).find(".contenido_centrado_vertical"));
// Genero el ESPACIO PUBLICITARIO $(espacio).find(".contenido_centrado_vertical span").html(nombre);
$("
").appendTo($(espacio)); }
window.ocultar_espacio_publicitario_vacio = function(modulos_id,slot){
var e = $(".contenedor_general_estructura").attr("e"); var elemento_modulo = $(".modulo[modulos_id="+modulos_id+"]"); var elemento_slot = $(elemento_modulo).find(".slot[slot="+slot+"]");
elemento_slot.addClass("vacio"); elemento_slot.html(""); window.clearTimeout(window["timeout"+e+modulos_id+slot]); localStorage.removeItem(window.idioma+'e'+e+"m"+modulos_id+"s"+slot);
var modulo_de_espacios_publicitarios_vacios = true; $(elemento_modulo).find(".slot").each(function(){ if(!$(this).hasClass("vacio")){ modulo_de_espacios_publicitarios_vacios = false; } });
if(modulo_de_espacios_publicitarios_vacios){ $(elemento_modulo).closest(".contenedor_modulo").addClass("oculto"); }
}
window.play_espacio_publicitario = function(e,m,s){
var slot = $(".modulo[modulos_id="+m+"]").find(".slot[slot="+s+"]"); var contenedor_modulo = $(slot).closest(".contenedor_modulo"); var indice = window.idioma+"e"+e+"m"+m+"s"+s; var data = JSON.parse(localStorage.getItem(indice));
if(data){
var actual = $(slot).attr("actual");
if(typeof(actual) == "undefined"){ $(slot).attr("actual",0); actual = 0; }else{ actual = parseInt(actual) +1;
}
if(actual>data.length || typeof(data[actual]) == "undefined" ){ actual = 0; }
$(slot).html("");
$('').attr({ href: data[actual].enlace, target:"_blank", c:data[actual].campanas_id, m:m
}).appendTo(slot);
$('').attr({ src: data[actual].imagen, loading: "lazy"
}).appendTo(slot.find("a"));
$(slot).addClass("cargada");
$(slot).attr("actual",actual);
if($(contenedor_modulo).hasClass("publicidad_mobile_6_1_flotante_inferior")){ $(".switch_intervencion").css("bottom","20px"); if($("body").hasClass("mobile")){
if($(".contenedor_modulo.publicidad_mobile_6_1_flotante_inferior .slot").length > 0){ if(!$(".contenedor_modulo.publicidad_mobile_6_1_flotante_inferior .slot").hasClass("vacio")){ $(".switch_intervencion").css("bottom",(parseInt($(window).innerWidth()) / 6) + 20); } }
} }
if($(contenedor_modulo).hasClass("publicidad_intro")){
if(!$("body").hasClass("mobile")){ window.espacio_intro_construct($(".contenedor_modulo.publicidad_intro")); }
}
if($(contenedor_modulo).hasClass("publicidad_mobile_intro")){
if($("body").hasClass("mobile")){
window.espacio_intro_construct($(".contenedor_modulo.publicidad_mobile_intro"));
}
}
// Almacenamiento de metricas var data_metricas = JSON.parse(localStorage.getItem("met_international")); var indice_campana = indice+"c"+data[actual].campanas_id;
if(!data_metricas) { data_metricas = {}; }
if(!data_metricas[indice_campana]) { data_metricas[indice_campana] = { c:0, i:1 } }else{ data_metricas[indice_campana] = { c: data_metricas[indice_campana].c, i: parseInt(data_metricas[indice_campana].i + 1), } }
localStorage.setItem("met_international", JSON.stringify(data_metricas));
if(typeof("timeout"+e+m+s)!="undefined"){
window.clearTimeout(window["timeout"+e+m+s]); } window["timeout"+e+m+s] = window.setTimeout(() => {
window.play_espacio_publicitario(e,m,s); }, 10000);
} }
window.sincronizar_metricas_espacios_publicitarios = function(){
var ultima_sincronizacion = localStorage.getItem("fus_international"); var segundos_desde_ultima_sincronizacion = parseInt('1710555870') - ultima_sincronizacion; var campana_clickeada = localStorage.getItem("cgc_international");
if(segundos_desde_ultima_sincronizacion > 30){
var data_metricas = localStorage.getItem("met_international");
var url = "/international/publicidad/sincronizar_metricas/"; var parametros = "metricas="+data_metricas;
consulta_generica_ajax(url,parametros,null,sincronizar_metricas_espacios_publicitarios_callback);
}
}
window.sincronizar_metricas_espacios_publicitarios_callback = function(data){ localStorage.removeItem("met_international"); localStorage.removeItem("cgc_international"); localStorage.setItem("fus_international",data.timestamp); }
window.timeout_recarga_espacios_publicitarios = function(){ if(!$("body").hasClass("live_preview") && !$("body").hasClass("clickear_anuncio")){
setTimeout(() => {
$(".contenedor_general_estructura").attr("p","0"); window.estructuras_construct();
}, 180000); // 3min
} }
window.timeout_recarga_general = function(){ setTimeout(() => {
location.reload();
}, 600000); // 10min }
window.shuffle = function(array) { var currentIndex = array.length, randomIndex; while (0 !== currentIndex) { randomIndex = Math.floor(Math.random() * currentIndex); currentIndex--; [array[currentIndex], array[randomIndex]] = [array[randomIndex], array[currentIndex]]; } return array; }
window.suscripcion_newsletter_construct = function(){
$(".enlace_newsletter a").click(function(){ window.modal_suscripcion_newsletter_toggle(); });
$("html").click(function(e){
if($(e.target).prop("tagName") == "BODY"){
if($("body").hasClass("modal_abierto")){ $("body").removeClass("modal_abierto"); } } });
$("#formulario_suscripcion_newsletter_muestra").submit(function(e){ e.stopPropagation(); e.preventDefault(); window.email_suscriptor = $(this).find("input[type=text]").val();
window.modal_suscripcion_newsletter_toggle(); });
}
window.carousel_opinion_construct = function(){
$(".item_herramientas_carousel_opinion").click(function(){
if(!$(this).hasClass("desactivado")){
var direccion = $(this).attr("direccion");
var contenedor_items_carousel = $(this).parent().next(".contenedor_items_carousel_opinion"); var offset = $(contenedor_items_carousel).attr("offset");
var valor_mover = parseInt($(".item_carousel_opinion").css("width"));
switch(direccion) { case "derecha": offset = parseInt(parseInt(offset) + valor_mover); break; case "izquierda": offset = parseInt(parseInt(offset) - valor_mover); break; default: return; }
$(contenedor_items_carousel).css("margin-left", offset + "px"); $(contenedor_items_carousel).attr("offset", offset);
if(offset<0){ $(".item_herramientas_carousel_opinion.izquierda").removeClass("desactivado"); }else{ $(".item_herramientas_carousel_opinion.izquierda").addClass("desactivado"); } var cantidad_items_visibles = parseInt($(".contenedor_carousel_opinion").css("width")) / valor_mover ; var limite_derecha = parseInt( ($(".item_carousel_opinion").length - cantidad_items_visibles) * valor_mover) * -1; var diferencia_offset = offset - limite_derecha; if(diferencia_offset < 100) { $(".item_herramientas_carousel_opinion.derecha").addClass("desactivado"); }else{ $(".item_herramientas_carousel_opinion.derecha").removeClass("desactivado"); } } }); } window.carousel_revistas_construct = function(){ $(".item_herramientas_carousel_revistas").click(function(){ if(!$(this).hasClass("desactivado")){ var direccion = $(this).attr("direccion"); var contenedor_items_carousel = $(this).parent().next(".contenedor_items_carousel_revistas"); var offset = $(contenedor_items_carousel).attr("offset"); var valor_mover = parseInt($(".item_carousel_revistas").css("width")); switch(direccion) { case "derecha": offset = parseInt(parseInt(offset) + valor_mover); break; case "izquierda": offset = parseInt(parseInt(offset) - valor_mover); break; default: return; } $(contenedor_items_carousel).css("margin-left", offset + "px"); $(contenedor_items_carousel).attr("offset", offset); if(offset<0){ $(".item_herramientas_carousel_revistas.izquierda").removeClass("desactivado"); }else{ $(".item_herramientas_carousel_revistas.izquierda").addClass("desactivado"); } var cantidad_items_visibles = parseInt($(".contenedor_carousel_revistas").css("width")) / valor_mover ; var limite_derecha = parseInt( ($(".item_carousel_revistas").length - cantidad_items_visibles) * valor_mover) * -1; var diferencia_offset = offset - limite_derecha; if(diferencia_offset < 100) { $(".item_herramientas_carousel_revistas.derecha").addClass("desactivado"); }else{ $(".item_herramientas_carousel_revistas.derecha").removeClass("desactivado"); } } }); } window.carousel_eventos_construct = function(){ if($(".contenedor_carousel_eventos").find(".item_evento").length <= 2){ $(".item_herramientas_carousel_eventos").addClass("desactivado"); } $(".item_herramientas_carousel_eventos").click(function(){ if(!$(this).hasClass("desactivado")){ var direccion = $(this).attr("direccion"); var contenedor_items_carousel = $(this).parent().next(".visor_items_carousel_eventos").find(".contenedor_items_carousel_eventos"); var offset = $(contenedor_items_carousel).attr("offset"); var valor_mover = parseInt($(".contenedor_carousel_eventos").find(".item_evento").css("width")) + parseInt($(".contenedor_carousel_eventos").find(".item_evento").css("margin-right")) + parseInt($(".contenedor_carousel_eventos").find(".item_evento").css("margin-left")); var cantidad_items = $(contenedor_items_carousel).find(".item_evento").length; switch(direccion) { case "derecha": offset = parseInt(parseInt(offset) + valor_mover); break; case "izquierda": offset = parseInt(parseInt(offset) - valor_mover); break; default: return; } $(contenedor_items_carousel).css("margin-left", offset + "px"); $(contenedor_items_carousel).attr("offset", offset); if(offset<0 || cantidad_items < 2){ $(".item_herramientas_carousel_eventos.izquierda").removeClass("desactivado"); }else{ $(".item_herramientas_carousel_eventos.izquierda").addClass("desactivado"); } var cantidad_items_visibles = Math.round(parseInt($(".contenedor_carousel_eventos").css("width")) / valor_mover); var limite_derecha = parseInt( (cantidad_items - cantidad_items_visibles) * valor_mover) * -1; var diferencia_offset = offset - limite_derecha; if(diferencia_offset < 100 || cantidad_items < 2) { $(".item_herramientas_carousel_eventos.derecha").addClass("desactivado"); }else{ $(".item_herramientas_carousel_eventos.derecha").removeClass("desactivado"); } } }); window.autoplay_carousel_eventos(); } window.autoplay_carousel_eventos = function(){ setTimeout(() => {
$(".herramientas_carousel_eventos").each(function(){ var sentido = $(this).attr("sentido");
if(typeof(sentido) == "undefined"){ $(this).attr("sentido","derecha"); }
if($(this).find(".item_herramientas_carousel_eventos:not(.desactivado)").length == 1){ $(this).find(".item_herramientas_carousel_eventos:not(.desactivado)").click(); }else{
$(this).find(".item_herramientas_carousel_eventos."+sentido+":not(.desactivado)").click(); }
if($(this).find(".item_herramientas_carousel_eventos.desactivado.derecha").length == 1){ $(this).attr("sentido","izquierda"); } if($(this).find(".item_herramientas_carousel_eventos.desactivado.izquierda").length == 1){ $(this).attr("sentido","derecha"); } });
window.autoplay_carousel_eventos(); }, 5000); }
window.modal_suscripcion_newsletter_toggle = function(){ $(".modal_generico").removeClass("modal_newsletter");
if(!$("body").hasClass("modal_abierto")){ $("body").addClass("modal_abierto"); }
if($("body").hasClass("modal_abierto")){ $(".modal_generico").addClass("modal_newsletter"); var url = "/international/newsletter/formulario-suscripcion/"; var parametros; consulta_generica_ajax(url,parametros,null,modal_suscripcion_newsletter_toggle_callback); }else{ $(".modal_generico_body").html(""); }
}
window.modal_suscripcion_newsletter_toggle_callback = function(data){ //modal_suscripcion_newsletter_toggle $(".modal_generico_body").html(data.html); if(typeof(window.email_suscriptor) != "undefined"){ $("#newsletter_email").val(window.email_suscriptor); window.email_suscriptor=null;
} $("#newsletter_email_muestra").val(""); }
window.suscripcion_newsletter_enviar = function(){
$(".contenedor_alertas_formulario_suscripcion_newsletter").html(""); $("#formulario_suscripcion_newsletter button[type=submit]").html(logo_cargando+" Sending");
var url = "/international/newsletter/formulario-suscripcion/"; var parametros = $("#formulario_suscripcion_newsletter").serialize(); consulta_generica_ajax(url,parametros,null,suscripcion_newsletter_enviar_callback);
}
window.suscripcion_newsletter_enviar_callback = function(data){ $(".botonera_formulario_suscripcion_newsletter button[type=submit]").html("Register");
window.imprimir_alertas_js_web("international","layout","contenedor_alertas_formulario_suscripcion_newsletter"); if(data.status == 1){ $("#formulario_suscripcion_newsletter").removeClass("paso_1"); $("#formulario_suscripcion_newsletter").addClass("paso_2"); } }
- Entain’s bwin campaign gives lucky football fans chance to play on the UEFA Europa League Final stage
- Next Brazil on the horizon? SOFTSWISS unveils South African iGaming market overview