algo asi como el de noticias, resulta que hago que se muestren lso tips aleatorios, pero quisiera darle fucnionalidad a lso botones que se ven a continuacion
como fue un hibrido de dos scripts no funciona como lo tengo actualmente, y pido su ayuda si alguien sabe omo puedo hacerlos andar, el coigo para las citas aleatorias es este
Cita:
y lo de la fucnion de los botones es este<SCRIPT LANGUAGE="JavaScript">
//store the quotations in arrays
quotes = new Array(6);
authors = new Array(6);
quotes[0] = "si te registras en el foro podras disfrutar d etodos los beneficios";
authors[0] = "Charles Schulz";
quotes[1] = "el pando a veces baja lento, tenerle paciencia";
authors[1] = "Jack Wagner";
quotes[2] = "moorhunt es el metodo mas rapido";
authors[2] = "Mark Twain";
quotes[3] = "The pure and simple truth is rarely pure and never simple.";
authors[3] = "Oscar Wilde";
quotes[4] = "Theres no business like show business, but there are several businesses like accounting.";
authors[4] = "David Letterman";
quotes[5] = "Man invented language to satisfy his deep need to complain.";
authors[5] = "Lily Tomlin";
//calculate a random index
index = Math.floor(Math.random() * quotes.length);
//display the quotation
document.write("<DL>\n");
document.write("<DT>" + "\"" + quotes[index] + "\"\n");
document.write("<DD>" + "-- " + authors[index] + "\n");
document.write("</DL>\n");
//done
</SCRIPT></p></td>
//store the quotations in arrays
quotes = new Array(6);
authors = new Array(6);
quotes[0] = "si te registras en el foro podras disfrutar d etodos los beneficios";
authors[0] = "Charles Schulz";
quotes[1] = "el pando a veces baja lento, tenerle paciencia";
authors[1] = "Jack Wagner";
quotes[2] = "moorhunt es el metodo mas rapido";
authors[2] = "Mark Twain";
quotes[3] = "The pure and simple truth is rarely pure and never simple.";
authors[3] = "Oscar Wilde";
quotes[4] = "Theres no business like show business, but there are several businesses like accounting.";
authors[4] = "David Letterman";
quotes[5] = "Man invented language to satisfy his deep need to complain.";
authors[5] = "Lily Tomlin";
//calculate a random index
index = Math.floor(Math.random() * quotes.length);
//display the quotation
document.write("<DL>\n");
document.write("<DT>" + "\"" + quotes[index] + "\"\n");
document.write("<DD>" + "-- " + authors[index] + "\n");
document.write("</DL>\n");
//done
</SCRIPT></p></td>
Cita:
donde en el a href="" onclick="" deberia ir loq ue hace qu cambien las citas << Tip Anterior - Tip Al Azar - >>
<tr>
<td class="tfoot"><img style="display: none;" id="tipprocimg" src="http://inciarco.com/foros/images/statusicon/processing_tipps.gif" alt=""></td>
<td class="tfoot" align="center"><input name="tipid" id="tipid" value="21" type="hidden">
<span class="smallfont"><< <a href="" onclick="">Tip Anterior</a> - <a href="" onclick="">Tip Al Azar</a> - <a href="" onclick="">Siguiente Tip</a> >></span></td>
</tr>
<tr>
<td class="tfoot"><img style="display: none;" id="tipprocimg" src="http://inciarco.com/foros/images/statusicon/processing_tipps.gif" alt=""></td>
<td class="tfoot" align="center"><input name="tipid" id="tipid" value="21" type="hidden">
<span class="smallfont"><< <a href="" onclick="">Tip Anterior</a> - <a href="" onclick="">Tip Al Azar</a> - <a href="" onclick="">Siguiente Tip</a> >></span></td>
</tr>