Well, I'm placing a link inside of a div called "alerta" with jQuery function ".html".
Ok, then I tried to place the "rel='shadowbox'" parameter inside of my "a" tag and it doesn't works.
$('#alerta').html('<a href="selecao.php?id=' +
avisos[i+1] + '" rel="shadowbox">' + avisos[i] + '</a>');
If the link is placed directly on the page, it works fine...
Thanks.