andrisp Posted March 22, 2006 Report Share Posted March 22, 2006 http://paste.php.lv/3488 Varat lūdzu šo kodu ieseivot un atvērt ar Firefox ? Problēma tāda, ka vidējais <tr><td></td></tr> dublējās. Nu - paskatieties paši. Paldies Link to comment Share on other sites More sharing options...
Grey_Wolf Posted March 22, 2006 Report Share Posted March 22, 2006 (edited) <tr> nav datu kontenieris... ---------Valiidii buutu shaadi un straadaajoshi arii...------ <table border="1" width="200" align="center"> <tr><td align="center"><a href="java script:void(0)" onclick="show_hide('x2');">Show/Hide</a></td> </tr></table> <table border="1" width="200" align="center" id="x2" style="display: none; "> <tr ><td>Šī daļa kopējas iekš Firefox</td></tr> </table> <table border="1" width="200" align="center"> <tr> <td align="center">Apakša</td> </tr> </table> Edited March 22, 2006 by Grey_Wolf Link to comment Share on other sites More sharing options...
andrisp Posted March 23, 2006 Author Report Share Posted March 23, 2006 Ok, tas man ir skaidrs. Bet kāpēc tu dari šādi href="java script:void(0)" ? Link to comment Share on other sites More sharing options...
Grey_Wolf Posted March 23, 2006 Report Share Posted March 23, 2006 (edited) andrisp--> tas ir tuksh links.. shadi : href="" buus kljuuda ... href="java script:void(0)" = valiidi # nebuut nav tuksh links, bet komanda mekleet sajaa lapaa enkuru Edited March 23, 2006 by Grey_Wolf Link to comment Share on other sites More sharing options...
bubu Posted March 23, 2006 Report Share Posted March 23, 2006 Starp java un script nevajag nekādu atstarpi. Link to comment Share on other sites More sharing options...
Grey_Wolf Posted March 23, 2006 Report Share Posted March 23, 2006 bubu--> to pastaasti shii foruma skriptam ;) pameegjini pats href="java script:void(0)" ieliek atstarpes un parveersh uz mazajiem simboliem Link to comment Share on other sites More sharing options...
bubu Posted March 23, 2006 Report Share Posted March 23, 2006 Ā, sorry :) nezināju šitādu joku. Link to comment Share on other sites More sharing options...
andrisp Posted March 23, 2006 Author Report Share Posted March 23, 2006 (edited) # nebuut nav tuksh links, bet komanda mekleet sajaa lapaa enkuru Paldies, līdz šim biju izlīdzējies ar # un return false; .. tīri labi strādā Ā un kas vēl - kautkur lasīju, ka likt javascript kodu iekš href="" neesot īsti labi. Kautkas tepat forumā teica man šķiet. Edited March 23, 2006 by andrisp Link to comment Share on other sites More sharing options...
Grey_Wolf Posted March 23, 2006 Report Share Posted March 23, 2006 andrisp--> java script:mana_funkcija() shaadi nav paaraak labi... (iznaak pseido protakols java script:...) - bet pilniigi valiidi...- un ja vajag ko vairaak nekaa izsaukt tik 1 f-ju? tad taa vispaar nevar :( atliek java script:void(0) un onclik" JavaScript kods cik nepiecieshams"... Link to comment Share on other sites More sharing options...
v3rb0 Posted March 23, 2006 Report Share Posted March 23, 2006 es teicu, jo kaut kur lasīju :) viens no argumentiem tur bija tāds ka kaut kāds jocīgi sakonfigurēts browseris 'java script:' uzskatīs par kādu protokolu un vērs vaļā ar kādu programu. Link to comment Share on other sites More sharing options...
Stopp Posted March 23, 2006 Report Share Posted March 23, 2006 a java script:void(0) vietā neder vienk java script:; ? es visur tā daru. Link to comment Share on other sites More sharing options...
Grey_Wolf Posted March 23, 2006 Report Share Posted March 23, 2006 Stopp--> nee nav iipashi labi... nepabeikts kods... brauzeris protams taapat pieliks klaat truukstosho, bet tas nenoziimee ka taa vajag dariit ---- tapat ar <html><body></body></html> ja vinju nav un brauzeris izdomaa ka shis nu vareetu buut izvadaams uz ekraana tad vinsh tos pieliek, vispaar jau var paskatiities kaa kas notiek... lapu vienkaarshi ieseivojot... pirms: <p>bla bla<br> peec: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- saved from url=(0022)http://localhost/a.php --> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=utf-8"> <META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD> <BODY> <P>bla bla<BR></P></BODY></HTML> paareejo brauzeris pieliek pats (arii atminjaa).... Link to comment Share on other sites More sharing options...
Recommended Posts