').parent().html()); }); } }); } $(document).ready(function(){ ajaxGetBoxHtml({func: 'getLatestNotifications'}, cur_lang, 967, function(ret){ if(ret != 'no'){ $("#notifications-nano-content").html(ret); $("#notifications-nano").nanoScroller(); } }); $(".games-footer").find("li[class*='cgames']").each(function(){ $(this).click(function(){ var cls = $(this).classes(function(c, i){ return c.match(/cgames/); })[0]; gamesFooterUp(); // 2024.06.28 -- this makes the gamesFooterUp function execute twice footerList('getBySubTag', '.'+cls, {tag: cls.replace(/-/g, '.')}); }); }); $("#games-footer-down").click(function(){ gamesFooterDown(); }); $('body').click(function (e){ if($('.games-footer').length > 0){ var tmp = $('.games-footer').offset(); if(e.pageY < tmp.top) gamesFooterDown(); } }); $("#footer_search").click(function(){ $("#gfooter-result").html('
'); if(!multiSelectorClicked || gamesFooterMode != 'multi'){ clearSlider(); gamesFooterUp(); } }); setupCasinoSearch( function(i, o){ var lang = (cur_lang === default_lang) ? '' : ('/' + cur_lang); li = $('