Nyromodal输入键,如何禁用它.(iframe刷新调用)



当覆盖模式打开时,如果我按enter键,iframe刷新被调用。我不知道怎么把它关掉。如有任何帮助,不胜感激。

这是目前为止我找到的关于这个问题的唯一资源:http://code.google.com/p/nyromodal/issues/detail?id=271

$('.nyroModal').nyroModal({
    closeOnClick: false,
    closeButton: "<span class='nyroModalClose'>CLOSE</span>",
    callbacks: {
        beforeShowCont: function(nm) { 
            Cufon.replace('span.nyroModalClose', { color: '#015eb3', fontFamily: 'UniversCondensed' });
            $('#modal-respass .show-reset').show();
            $('#modal-respass .show-thank-you').hide();
        },
        afterShowCont: function(nm) {
            $('.nyroModalCont').css({'height':'auto'});
            /* this is the eval ==> */$('a').blur();
        }
    }
});

最新更新