____________________
twitter
    ______________________________

    radiofmemotion

    Recursos

    Javascript

     

    Ventana de alerta en tu web con un mensaje

     

     

     


     

    Mensaje de alerta mediante un boton

     


    Bloquear IP's

    - Solo pon las ip's donde dice "22.22.22.22" y "11.11.11.11". Si quieres agregar más solo ponlas entre comillas "" y en la misma linea.

     

    Bloquear boton derecho

     

    <script type="text/javascript">
    function IE(e) {
    if (navigator.appName == "Microsoft Internet Explorer" && (event.button == "2" || event.button == "3")) {
    return false;
    }
    }
    function NS(e) {
    if (document.layers || (document.getElementById && !document.all)) {
    if (e.which == "2" || e.which == "3") {
    return false;
    }
    }
    }
    document.onmousedown=IE;document.onmouseup=NS;document.oncontextmenu=new Function("return false");
    </script>

     


     

    Bloquear boton derecho mas mensaje de alerta

    <script type="text/javascript">
    function IE(e) {
    if (navigator.appName == "Microsoft Internet Explorer" && (event.button == "2" || event.button == "3")) {
    alert('Mensaje que aparece al hacer click derecho!');
    return false;
         }
    }
    function NS(e) {
         if (document.layers || (document.getElementById && !document.all)) {
              if (e.which == "2" || e.which == "3") {
                   alert('Boton bloqueado');
                   return false;
              }
         }
    }
    document.onmousedown=IE;document.onmouseup=NS;document.oncontextmenu=new Function("return false");
    </script>
     



    Raspar imagen para poder verla

    <script language="Javascript">
    image_width = ANCHODEIMAGEN;
    image_heigth = ALTODEIMAGEN;
    function scratch()
    {
    for(i = 0; i < (image_heigth/5); i++)
    {
    for(j = 0; j < (image_width/5); j++)
    {
    document.write("<img src='URL DE IMAGEN' style='position:absolute;top:"+(i*5)+";left:"+(j*5)+";width:5;height:5;cursor:hand;' onmouseover='this.style.visibility="hidden";' onmouseout='this.style.visibility="hidden";'>")
    }
    }
    }
    </script>
    <script language="Javascript">
    document.write('<div style="position:relative;width:'+image_width+';height:'+image_heigth+'">');
    document.write('<img src="URL DE IMAGEN" />')
    scratch();
    document.write('</div>');
    </script>

     



    No dejar entrar a menores de edad a tu sitio web

    <script language="javascript">
    var agePrompt=prompt("¿Cuál es tu edad?");
    if (agePrompt>=18) alert('Eres mayor de edad. Tienes permiso para entrar al sitio')
    else {
    alert('Eres menor de edad. No puedes entrar')
    document.location="Aqui pon el sitio al que mandaras a los menores de edad";
    }
    </script>
     


    Codigo Imprimir

    <a href="javascript:print()">Imprimir</a>
     


     

    No dejar selecionar el texto de tu web

    <script language="Javascript">
    function disableselect(e){
    return false
    }
    function reEnable(){
    return true
    }
    document.onselectstart=new Function ("return false")
    if (window.sidebar){
    document.onmousedown=disableselect
    document.onclick=reEnable
    }
    </script>
     


     

    Opcion de agregar a favoritos tu pagina

    <a href="javascript:window.external.AddFavorite('AQUI LA URL DE TU WEB', '')">Agregar a favoritos</a>
     


     

    Gadgets

     

     

    [ Gadgets disponibles ]
    Google map en tu website

     

    Chat ICQ en tu web

     

     

     

     

    Frase del dia

     

     

     

     

     

    Upload de imagenes - Imageshack.us

     


     

     

     



    Cursores

     

     


















     

     

     

     Reproductore

                                                                                                               

     Codigo:
                               

     

     

     




    Hoy habia 7 visitantes (11 clics a subpáginas) ¡Aqui en esta página!
    ___ Este sitio web fue creado de forma gratuita con PaginaWebGratis.es. ¿Quieres también tu sitio web propio?
    Registrarse gratis