Gracias... Pero aun no se como lograr aquello. No conosco mucho javascript y me cuesta entender los scripts.
Encontre este script que usan los Foros Invision:
Código PHP:
var mystored_selection;
function checkselection()
{
var myselection = '';
if ( window.getSelection )
{
myselection = window.getSelection();
}
else if ( document.selection )
{
myselection = document.selection.createRange().text;
}
else if ( document.getSelection )
{
myselection = document.getSelection();
}
if ( myselection != '' && myselection != null )
{
if ( myselection != mystored_selection )
{
document.getElementById('mensaje').style.display = '';
mystored_selection = myselection;
}
}
}
Pero nuevamente solo me funciona en IE.
Sobre el script que puso flaviovich, funciona pero no es lo que deseo.