Supervisor |
"> |
| Underground | |
| Mensaje privado - Popup - 10/5/2014, 8:21 pm
Así que, básicamente, esto proporcionará a la bonita caja emergente de estilo para los nuevos usuarios de mensajes privados. 1º - TemplatePanel del Administrador > Visualización > Templates > Visualización > overall_headerBuscar: - Código:
<!-- BEGIN switch_enable_pm_popup --> pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400'); if(pm != null) { pm.focus(); } <!-- END switch_enable_pm_popup --> Reemplazar con: - Código:
<!-- BEGIN switch_enable_pm_popup --> pm = $('body').prepend(' <div id="kinboxpop"> <div id="knmessagepop" style="z-index:999;"> <h3><span class="username">' + _userdata.username + '</span> you have a new message!</h3> <span id="contentmess">Revisa tu buzón de entrada para ver un nuevo mensaje.<br /><br /> <a href="/privmsg?folder=inbox">Click aquí</a></span> </div> </div>'); $('#close_popup').on('click',function() { $('#kinboxpop').remove(); }); <!-- END switch_enable_pm_popup -->
2º - CSS - Código:
£panda_selector_1399770569223_0_m_panda£{background:rgba(0,0,0,0.75);position:fixed;height:100%;width:100%;top:0;left:0;} #kinboxpop{background:rgba(0,0,0,0.75);position:fixed;height:100%;width:100%;top:0;left:0;} #kinboxpop #knmessagepop{background:#fff;border:1px solid #999;height:auto;margin:25% auto;overflow:hidden;width:500px;} #kinboxpop #knmessagepop h3{position:relative;text-align:center;background:#333;border-bottom:1px solid #222;color:#fff;margin:0;font-weight:bold;padding:5px 0;} #kinboxpop #closepop{cursor:pointer;position:absolute;right:0;top:0;} #kinboxpop #contentmess{float:left;text-align:center;width:100%;padding:15px 0;}
| Permisos de este foro: | No puedes responder a temas en este foro.
Código [IMG] está Activado Código HTML está Activado
|
|
|