Hola a todos:
Me gustaría hacer una pregunta, algo larga. Me gustaría aprender a introducir datos (URL, texto) en un código JScript leyendo en una base de datos con asp. Un ejemplo sería rellenar el siguiente campo desde una bd, ¿se puede hacer? Muchas gracias por vuestra ayuda, saludos, Fran
Cita:
<script language=JScript>
function Navega() {
if ("http://aaaaa.com" != "")
if ("http://aaaaa.com" != "http://")
window.open("http://aaaaa.com","","");
}
var indice = 1;
function Trans(ind) {
switch (ind) {
case 1:
texto1.style.visibility = "hidden";
espacio1.style.visibility = "visible";
break;
case 2:
texto1.style.visibility = "visible";
espacio1.style.visibility = "hidden";
break;
}
}
function Mostrar() {
if (1 == 0)
window.resizeTo(177,70);
Trans(indice);
if (indice < 2) {
indice++;
setTimeout("Mostrar()",2000);
}
else {
indice = 1;
setTimeout("Mostrar()",4000);
}
}
</SCRIPT>