Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/12/2010, 15:00
Avatar de DragonX
DragonX
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Funkyland
Mensajes: 8.433
Antigüedad: 22 años
Puntos: 177
Respuesta: No seleccionar texto

Código Javascript:
Ver original
  1. <script>
  2. document.oncontextmenu = function(){return false}
  3. function disableselect(e)
  4. {
  5.   return false
  6. }
  7. function reEnable()
  8. {
  9.   return true
  10. }
  11. //if IE4+
  12. document.onselectstart=new Function ("return false")
  13. //if NS6
  14. if (window.sidebar)
  15. {
  16.   document.onmousedown=disableselect
  17.   document.onclick=reEnable
  18. }
  19. </script>

proba poniendo este script dentro del <head>
__________________
Desarrollos dosLotos
Calendario Maya, Meditación, Osho