Ver Mensaje Individual
  #8 (permalink)  
Antiguo 24/06/2003, 08:07
Avatar de Subotai
Subotai
 
Fecha de Ingreso: mayo-2003
Ubicación: Irúnforge
Mensajes: 198
Antigüedad: 21 años
Puntos: 1
Pues no me hace nada, mirar haber si veis algo inusual, necesitaba cambiar alguna cosilla pero no creo que se me hay ido la mano...

<HTML>
<HEAD>

<script>
function marcar(obj,id) {
if (obj.checked)
document.getElementById('+id+').style.backgroundCo lor='#E87471'
else
document.getElementById('+id+').style.backgroundCo lor=''
}
</script>

<script>
function marcar2(obj,id) {
if (obj.checked)
document.getElementById('+id+').style.backgroundCo lor='#339900'
else
document.getElementById('+id+').style.backgroundCo lor=''
}
</script>



<% do while not RS.eof and contador <= cint(tampagina)
if contador mod 2 = 0 then
elcolor="#929AAF"
Else
elcolor="#B0AFBE"
End if
%>
<tr id='<%=contador%>' marginwidth="0" bgcolor='<%=elcolor%>'>
<td marginwidth="0" ALIGN=CENTER WIDTH="5%">
<INPUT TYPE=CHECKBOX NAME='ALTA&<%=contador%>' VALUE='<%=expediente%>' onClick="marcar(this,'<%=contador%>')">
</td>
<td marginwidth="0" ALIGN=CENTER >
<%= RS("campo1") %>
</td>

<td marginwidth="0" ALIGN=CENTER >
<%= RS("campo2") %>
</td>
<td marginwidth="0" ALIGN=CENTER WIDTH="5%">
<INPUT TYPE=CHECKBOX NAME='BAJA&<%=contador%>' VALUE='<%=expediente%>' onClick="marcar2(this,'<%=contador%>')">
</td>

</tr>
<%
contador=contador+1
RS.movenext
loop
%>

</table>
gracias por vuestra paciencia

Última edición por Subotai; 24/06/2003 a las 08:12