
29/01/2005, 05:59
|
 | | | Fecha de Ingreso: junio-2002
Mensajes: 72
Antigüedad: 22 años, 10 meses Puntos: 0 | |
Resultados de tablas dinamicas separadas TENGO ESTE CODIGIO <html>
<head>
<script type="text/javascript">
function testclick(field)
{
var row=field.rowIndex
xmldso_list.recordset.absoluteposition=row
td_title.innerHTML=xmldso_list.recordset("TITLE")
td_artist.innerHTML=xmldso_list.recordset("ARTIST" )
td_year.innerHTML=xmldso_list.recordset("YEAR")
td_country.innerHTML=xmldso_list.recordset("COUNTR Y")
td_company.innerHTML=xmldso_list.recordset("COMPAN Y")
td_price.innerHTML=xmldso_list.recordset("PRICE")
}
</script>
</head>
<body>
<xml id="xmldso_list" src="cd_catalog.xml"></xml>
<table border="1" bgcolor="yellow">
<tr align="left"><th>Title: </th><td id="td_title"></td></tr>
<tr align="left"><th>Artist: </th><td id="td_artist"></td></tr>
<tr align="left"><th>Year: </th><td id="td_year"></td></tr>
<tr align="left"><th>Country:</th><td id="td_country"></td></tr>
<tr align="left"><th>Company:</th><td id="td_company"></td></tr>
<tr align="left"><th>Price: </th><td id="td_price"></td></tr>
</table>
<p><b>Click on one of the CDs in the list:</b></p>
<table datasrc="#xmldso_list" border="1">
<thead>
<tr align="left">
<th>Title</th>
<th>Artist</th>
<th>Country</th>
<th>Company</th>
<th>Price</th>
<th>Year</th>
</tr>
</thead>
<tr align="left" onclick="testclick(this)">
<td><div datafld="TITLE" /></td>
<td><div datafld="ARTIST" /></td>
<td><div datafld="COUNTRY" /></td>
<td><div datafld="COMPANY" /></td>
<td align="right"><div datafld="PRICE" /></td>
<td><div datafld="YEAR" />ver</td>
</tr>
</table>
</body>
</html>
Mi pregunta es.. lo resultados de la selección me crean un tabla en la parte superior. mi duda es como creo una pagina separada solo con los resultados??? en vez de ke aparezcan arriba???
__________________ La mejor forma de enseñar es aprendiendo
------------------------------------------------
Un pokitin de Musika en tu Vida |