leisure Posted January 21, 2006 Report Share 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 ) Link to comment Share on other sites More sharing options...
bubu Posted January 21, 2006 Report Share 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". Link to comment Share on other sites More sharing options...
leisure Posted January 22, 2006 Author Report Share 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 ) Link to comment Share on other sites More sharing options...
php_Stopp Posted January 22, 2006 Report Share 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; } Link to comment Share on other sites More sharing options...
leisure Posted January 22, 2006 Author Report Share Posted January 22, 2006 ar javascript viss sanaaca, bet ar css nekas nemainaas :P Link to comment Share on other sites More sharing options...
php_Stopp Posted January 22, 2006 Report Share Posted January 22, 2006 minēšu - tu rakstīji <tr class="tbl_row" style=".tbl_row:hover {..}">, vai ne ? Link to comment Share on other sites More sharing options...
leisure Posted January 22, 2006 Author Report Share Posted January 22, 2006 neuzmineeji... pie head <style> tagaa... Link to comment Share on other sites More sharing options...
php_Stopp Posted January 22, 2006 Report Share Posted January 22, 2006 mjā, uz tr nedarbojas.. mēģini likt table-u table-ā vai kā tā (ja gribi to borderi) Link to comment Share on other sites More sharing options...
bubu Posted January 22, 2006 Report Share Posted January 22, 2006 Kas uz tr nedarbojās? Link to comment Share on other sites More sharing options...
php_Stopp Posted January 22, 2006 Report Share Posted January 22, 2006 css hover borderis, ja tā precīzi ;) kaut arī man liekas, ka tr vispār borderu nav.. Link to comment Share on other sites More sharing options...
bubu Posted January 22, 2006 Report Share Posted January 22, 2006 Protams, ka ir. Visam ir borderi. Link to comment Share on other sites More sharing options...
php_Stopp Posted January 22, 2006 Report Share Posted January 22, 2006 .. patestēju - nerāda tr borderi nekur.. Link to comment Share on other sites More sharing options...
bubu Posted January 22, 2006 Report Share 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> Link to comment Share on other sites More sharing options...
php_Stopp Posted January 22, 2006 Report Share Posted January 22, 2006 ups :) Link to comment Share on other sites More sharing options...
Recommended Posts