05 abril 2014

Scroll com setinhas/


                     


<!-- ÍNICIO DAS SETINHAS ROLLON ~ -
 <script type="text/javascript">
/******************************************
* Scrollable content script II- © Dynamic Drive (www.dynamicdrive.com)
* Visit http://www.dynamicdrive.com/ for full source code
* This notice must stay intact for use
******************************************/
iens6=document.all||document.getElementById
ns4=document.layers
//specify speed of scroll (greater=faster)
var speed=1
if (iens6){
document.write('<div id="container" style="position:relative;width:200px;height:62px;border:0px double solid hotpink;overflow:hidden;margin:0px;padding:0px;">')
document.write('<div id="content" style="position:absolute;width:200px;left:0;top:0;margin:0px;padding:0px;">')
}
</script><ilayer name="nscontainer" width=100 height=62 clip="0,0,175,160"><layer name="nscontent" width=185 height=62 visibility=hidden>
<!--ÍNICIO CONTEUDO -->
ESCREVA AQUI SUAS COISINHAS <br>
ESCREVA AQUI SUAS COISINHAS <br>
ESCREVA AQUI SUAS COISINHAS <br>
ESCREVA AQUI SUAS COISINHAS <br>
ESCREVA AQUI SUAS COISINHAS <br>
ESCREVA AQUI SUAS COISINHAS <br>
ESCREVA AQUI SUAS COISINHAS <br>

<!-- FIM CONTEÚDO -->
</layer>
</ilayer>
<script language="JavaScript1.2">
if (iens6)
document.write('</div></div>')
</script>
<div align="right">
<a href="#" onMouseover="moveup()" onMouseout="clearTimeout(moveupvar)" title="Subir">
<img src="http://www.drikoti.blogger.com.br/setacima.gif" border="0" width="9" height="7" /></a>    <a href="#" onMouseover="movedown()" onMouseout="clearTimeout(movedownvar)" title="Descer">
<img src="http://www.drikoti.blogger.com.br/setabaixo.gif" border="0"  width="9" height="7"/></a></div>
<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)
}
</script>
</div>
<!-- FIM DAS SETINHAS ROLLON ~ PEGUE O SEU NO GOODIESCOPYKAT -->

Nenhum comentário:

Postar um comentário