• En ocasiones nos falta espacio en la barra lateral de nuestro para colocar algún contenido, con este Scroll los usuarios pueden ver el contenido completo a través del desplazamiento automático de arriba / abajo

    Lo puedes ver funcionando en el blog Recursos Grátis en este caso está incluido el Sitemap, puedes incluir cualquier texto, banners etc…

    scroll dinamico

    Para ponerlo en tu blog entrar a Diseño > Elementos de la página > Añadir un gadget > HTML/Javascript y ahí pega el siguiente código:

    <script type=”text/javascript”>

    iens6=document.all||document.getElementById

    ns4=document.layers

    //specify speed of scroll (greater=faster)

    var speed=5

    if (iens6){

    document.write(‘<div id=”container” style=”position:relative;width:275px;height:350px;border:dashed 1px #9C1114;overflow:hidden”>’)

    document.write(‘<div id=”content” style=”position:absolute;width:260px;left:0;top:0″>’)

    }

    </script>

    <ilayer name=”nscontainer” width=175 height=160 clip=”0,0,175,160″>

    <layer name=”nscontent” width=175 height=160 visibility=hidden>

    <p align=”left”>

    <!–INSERT CONTENT HERE–>

    AQUI TU CONTENIDO

    <!–END CONTENT–>

    </layer>

    </ilayer>

    <script language=”JavaScript1.2″>

    if (iens6)

    document.write(‘</div></div>’)

    </script>

    <table width=”78″><td><p align=”right”>

    <a href=”#” onMouseover=”moveup()” onMouseout=”clearTimeout(moveupvar)”><img src=”URL del grafico/up.png” border=0></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href=”#” onMouseover=”movedown()” onMouseout=”clearTimeout(movedownvar)”><img src=”URL del grafico/down.png” border=0></a></p></td>

    </table>

    <script language=”JavaScript1.2″>

    if (iens6){

    var crossobj=document.getElementById? document.getElementById(“content”) : document.all.content

    var contentheight=crossobj.offsetHeight

    }

    else if (ns4){

    var crossobj=document.nscontainer.document.nscontent

    var contentheight=crossobj.clip.height

    }

    function movedown(){

    if (iens6&&parseInt(crossobj.style.top)>=(contentheight*(-1)+100))

    crossobj.style.top=parseInt(crossobj.style.top)-speed+”px”

    else if (ns4&&crossobj.top>=(contentheight*(-1)+100))

    crossobj.top-=speed

    movedownvar=setTimeout(“movedown()”,20)

    }

    function moveup(){

    if (iens6&&parseInt(crossobj.style.top)<=0)

    crossobj.style.top=parseInt(crossobj.style.top)+speed+”px”

    else if (ns4&&crossobj.top<=0)

    crossobj.top+=speed

    moveupvar=setTimeout(“moveup()”,20)

    }

    function getcontent_height(){

    if (iens6)

    contentheight=crossobj.offsetHeight

    else if (ns4)

    document.nscontainer.document.nscontent.visibility=”show”

    }

    window.onload=getcontent_height

    </script>

    Lo que está indicado en rojo lo puedes personalizar segun tus necesidades.

    Guarda en tu pc  las flechitas arriba/abajo y súbelas a tu servidor y pon la URL donde está indicado

    down.png picture by Xana-blogger up.png picture by Xana-blogger

    Compartelo:
    • Digg
    • del.icio.us
    • Facebook
    • Google Bookmarks
    • email
    • Meneame
    • MySpace
    • Wikio
    • Bitacoras.com
    • Twitter
    • Live
    • RSS
    Etiquetas: , , , , , , , , ,

    Entradas relacionadas

    This entry was posted on Martes, diciembre 15th, 2009 at 7:45 and is filed under Blogspot, Freebie, Tutoriales y Tips, Utilidades. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
  • 2 Comments

    Take a look at some of the responses we've had to this article.

    1. Posted on diciembre 15th

      Información Bitacoras.com…

      Valora en Bitacoras.com: En ocasiones nos falta espacio en la barra lateral de nuestro para colocar algún contenido, con este Scroll los usuarios pueden ver el contenido completo a través del desplazamiento automático de arriba / abajo Lo puedes ver …..

    2. [...] En ocasiones nos falta espacio en la barra lateral de nuestro para colocar algún contenido, con este Scroll los usuarios pueden ver el contenido completo a. Here is the original post: Scroll con desplazamiento automatico para tu Blog | Red Blogs [...]

  • Post a Comment

    Let us know what you thought.

  • Name:

    Email (required):

    Website:

    Message:

    Comments links could be nofollow free.