Preciso de um passo a passo urgente!!!!!!!!!!!!!!!!!!!!!!!!!!


SRCC hasn't added any friends yet.
16/11/2007, 11:25
03/02/2007, 12:44
14/01/2007, 01:22
<html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript" src="js/logo.js"></script> </head> <body> <table width="200" border="4" cellspacing="2" cellpadding="2"> <tr> <td><img src="img/pag1.jpg" width="213" height="407"></td> <td> </td> </tr> </table> <table width="200" border="4" cellspacing="2" cellpadding="2"> <tr> <td> </td> <td><img onLoad="exibilogo()" src="img/achm.com.1.jpg" width="311" height="220"></td> </tr> </table> <p> </p> </body> </html>
function exibilogo() { randonico = Math.round((Math.random() * 10)); if ((randonico >= 0) && (randonico <= 3) ) { document.write ("<img src=\"img/site.com.1.jpg\" width=\"311\" height=\"220\">"); } else if ((randonico > 3) && (randonico <= 6) ) { document.write ("<img src=\"img/site.com.2.jpg\" width=\"311\" height=\"220\">"); } else if ((randonico > 6) && (randonico <= 10) ) { document.write ("<img src=\"img/asite.com.3.jpg\" width=\"311\" height=\"220\">"); } }Esse último é o arquivo javascript. Qndo chama o javascript ele substitui toda a página. Onde está meu erro???
13/01/2007, 21:35
Community Forum Software by IP.Board
Licensed to: Webmasters Online