- Noof http://www.noof.pun.pl/index.php - Problemy i pytania http://www.noof.pun.pl/viewforum.php?id=4 - Wyłączenie boksu dla niezalogowanych. http://www.noof.pun.pl/viewtopic.php?id=239 |
Nocturn - 2012-07-13 10:33:08 |
Witam. Kod:<script> jQuery(document).ready(function() { jQuery('#brdheader').before('<div class="box" style="width: 200px;"><div class="inbox" id="margin" style="width: 200px;"><center><div id="witaj">Witaj w Śródziemiu!</center><center><br><i>Witaj, <strong id="nick"></strong>!</i></center></div></div><div class="clear"></div><br>');}); jQuery(this).find("#brdheader #brdwelcome .conl li:contains('Nie jesteś zalogowany.')").val(function() { jQuery('#witaj .box').css('display','none'); }); </script> Pozdrawiam. |