<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<title>boton scroller</title>
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#FFFF00"
vlink="#FFFF80" alink="#FFFF00" onload="update()">
<script type="text/javascript">
<!--
//****************************
//Scrollable links buttons by Bill Bean
//You may freely use, modify this script as long as the credit
//is given in the source.
//****************************
//****************************
//Scrollable links button por Bill Bean
//Usted puede usar libremente, modifique este script con tal de que
//el crédito se vea en el fuente.
//****************************
var n = 1
var nn = 2
var nnn = 3
var nnnn = 4 /*Add more variables if you want more buttons showing, or take
them off if you want less. Remember to change the rest of the script
accordingly if you do this, as well as the <INPUT> tags in the HTML.*/
/*Agregue más variables si usted quiere mostrar más botones , o toma
ellos fuera de si usted quiere menos. Recuerde cambiar el resto del script
de acuerdo si usted hace esto, así como el <INPUT> tags en el HTML.*/
var theMessages = new Array(7); {
theMessages[1] = "Esto podría llevarte a tu Página uno."
theMessages[2] = "Esto podría llevarte a tu Página dos."
theMessages[3] = "Esto podría llevarte a tu Página tres."
theMessages[4] = "Esto podría llevarte a tu Página cuatro."
theMessages[5] = "Esto podría llevarte a tu Página cinco."
theMessages[6] = "Esto podría llevarte a tu Página seis."
theMessages[7] = "Esto podría llevarte a tu Página siete." /*You don't have to have this array unless you still want alert boxes appearing when the buttons are clicked.*/
/*Usted no tiene que tener estos Arrays a menos que usted todavía quiera que aparezcan cajas de alertas cuando se pulsan los botones .*/
}
var theValues = new Array(7); {
theValues[1] = "Pagina1"
theValues[2] = "Pagina2"
theValues[3] = "Pagina3"
theValues[4] = "Pagina4"
theValues[5] = "Pagina5"
theValues[6] = "Pagina6"
theValues[7] = "Pagina7" } //add more values and/or change them for your liking.
//agregue más valores y/o cambíelos para su gusto.
function goup() {
if(n > 1){n = n-1
nn = nn-1
nnn = nnn-1
nnnn = nnnn-1
//If you've changed the amount of buttons showing, add your extra variables - 1 here.
//Si usted ha cambiado la cantidad de botones a mostrar, agregue sus variables extras - 1 aquí.
update()}}
function godown() {
if(nnnn < 7) { //Change the 7 if you want more buttons
//cambie el 7 si usted quiere más botones
n++
nn++
nnn++
nnnn++
/*Add your extra variables, with a '++' right after them here, if you've
changed the amount of buttons showing.*/
/*Agregue sus variables extras, con un '++' derecho después de ellos aquí, si usted tiene
cambiada la cantidad de botones que se muestran.*/
update()}
else{}}
//You could do 'window.location.href="whatever.html"' insted of the current alert boxes.
//Usted podría hacer ' window.location.href = "whatever.html" ' en lugar de las cajas alertas actuales.
function go1() {
alert(cap1)}
function go2() {
alert(cap2)}
function go3() {
alert(cap3)}
function go4() {
alert(cap4)}
function update() {
document.form1.b1.value = theValues[n]
document.form1.b2.value = theValues[nn]
document.form1.b3.value = theValues[nnn]
document.form1.b4.value = theValues[nnnn]
cap1 = theMessages[n]
cap2 = theMessages[nn]
cap3 = theMessages[nnn]
cap4 = theMessages[nnnn]}
//******************************
//End of Scrolling links buttons script //final del Scrolling links Buttons Script
//******************************
//-->
</script>
<center><h1>Link Scroller</h1>
</font><font size="2" face="Arial">¡Este Script ingenioso hace
una lista de botones que son Scrollables (por ende el nombre). <br>
Este Script puede ser MUY útil en su página!<br>
</font></center>
<form name="form1">
<p align="center"><input type="button" name="up"
value=" ^ " onclick="goup()"><br>
<input type="button" name="b1"
value="Enlace a la Página 1 " onclick="go1()"><br>
<input type="button" name="b2"
value="Enlace a la Página 2 " onclick="go2()"><br>
<input type="button" name="b3" value="Enlace a la Página 3"
onclick="go3()"><br>
<input type="button" name="b4" value="Enlace a la Página 4 "
onclick="go4()"><br>
<!-- If you add extra buttons here, insert them just above this comment.
You must add extra functions in the script too, presumably called go5()
etc.. -->
<!-- Si usted agrega botones extras aquí, insértelos sólo sobre este comentario.
Usted debe agregar funciones extras también en el Script, probablemente llamada go5()
etc.. --> <input type="button" name="down" value=" v "
onclick="godown()"><br>
</p>
</form>
<p align="center"><font size="2" face="Arial">Es bastante bueno
eh?<br>
</font></p>
</body>
</html>