leisure Posted January 21, 2006 Report Posted January 21, 2006 Kaa panaakt to, kad tabulaa nospiezh uz rindas ( <tr> ).. zem taas paraadaas veelviena rinda, kuraa ir neliela infa par ieprieksheejo rindu??? ( un kad nospiezh uz jaunaas rindas, tad taa pazuud )
bubu Posted January 21, 2006 Report Posted January 21, 2006 Visvienkāršāk - uztaisi by default vēl papildus vienu rindu tajā tabulā, kurai uzliec style="display:none". Tb lai nerādās. Un kad klikšķina uz tās iepriekšējās rindas, tad maini to display uz "table-row" vai atpakaļ uz "none".
leisure Posted January 22, 2006 Author Report Posted January 22, 2006 ja uzlieku id ka tbl_row, tad viss straadaa, bet ja uzlieku tbl_row_1 wai tbl_row_a tad neiet, kapeec taa? & ka panakt to, lai dabuutu border 2px uz <tr>??? ( onMouseOver )
php_Stopp Posted January 22, 2006 Report Posted January 22, 2006 1) nu otram ir id="tbl_row" un style="display:none;". pirmajai rindai uzliec onClick="document.getElementById('tbl_row').style.display='block';" 2) ar css. pieliec tai rindai class="tbl_row" un tad css failā vai style tagā kautko šitā: .tbl_row:hover { border: solid 2px #000000; }
leisure Posted January 22, 2006 Author Report Posted January 22, 2006 ar javascript viss sanaaca, bet ar css nekas nemainaas :P
php_Stopp Posted January 22, 2006 Report Posted January 22, 2006 minēšu - tu rakstīji <tr class="tbl_row" style=".tbl_row:hover {..}">, vai ne ?
leisure Posted January 22, 2006 Author Report Posted January 22, 2006 neuzmineeji... pie head <style> tagaa...
php_Stopp Posted January 22, 2006 Report Posted January 22, 2006 mjā, uz tr nedarbojas.. mēģini likt table-u table-ā vai kā tā (ja gribi to borderi)
php_Stopp Posted January 22, 2006 Report Posted January 22, 2006 css hover borderis, ja tā precīzi ;) kaut arī man liekas, ka tr vispār borderu nav..
php_Stopp Posted January 22, 2006 Report Posted January 22, 2006 .. patestēju - nerāda tr borderi nekur..
bubu Posted January 22, 2006 Report Posted January 22, 2006 <html><body><table> <tr style="border:5px solid black; display:block;"> <td>ruutinja</td> <td>cita ruutinja</td> </tr> </table></body></html>
Recommended Posts