kalabox Posted April 18, 2007 Report Share Posted April 18, 2007 karoch jautaajums, kapeec nedarbojas php ar java kopaa?? uzmeikoju fotoalbumu, ar include ieliku vinju ieksh lapas.. Foto albumaa ieliku linku <a onClick="f1()" style="sursor:hand" >Pievienot bildi</a> un uzspiezhot vajadzetu atverties jaunam logam, kur var pievienot bildim,bet lapaa pat nerada ka buutu kaadi errori.. :( kods ir <script> <!-- function f1() { window.open(' urlis.php' ) } //--> </script> tad megjinaaju veel ar <a href=" java script:; ...... >Links</a> un arii nekaaa Link to comment Share on other sites More sharing options...
rpr Posted April 18, 2007 Report Share Posted April 18, 2007 a kur ir java? Link to comment Share on other sites More sharing options...
cucumber Posted April 18, 2007 Report Share Posted April 18, 2007 href man liekas ar vajaga rakstit, un vispar kaut ko tu dari nepareizi, palsai par javascript windows, nevis java un nez kapec te php Link to comment Share on other sites More sharing options...
kalabox Posted April 18, 2007 Author Report Share Posted April 18, 2007 (edited) nu es tak tos linkus lieku echo (" un seko links" ); ------------------- Ja lapa ir saglabaata kaa lapa.htm un nav nekur php iekshaaa tad darbojas viss.. Edited April 18, 2007 by kalabox Link to comment Share on other sites More sharing options...
andrisp Posted April 18, 2007 Report Share Posted April 18, 2007 1) Problēmas būtība tāpat nav PHP kodā. Nepareizs forums. 2) A tu paskaties, ko tavs PHP saģenerē. Tur arī būs problēma. Link to comment Share on other sites More sharing options...
kalabox Posted April 18, 2007 Author Report Share Posted April 18, 2007 hmm, tocha... jaapstaas... Link to comment Share on other sites More sharing options...
Paulinjsh Posted April 18, 2007 Report Share Posted April 18, 2007 tak tev tas kods ir aizkomentēts! Link to comment Share on other sites More sharing options...
hackerman Posted April 18, 2007 Report Share Posted April 18, 2007 paulinj, vaita ieksh script tagiem tie komenteeshanas tagi straadaa? :) Link to comment Share on other sites More sharing options...
Grey_Wolf Posted April 18, 2007 Report Share Posted April 18, 2007 (edited) <a onClick="f1()" style="sursor:hand" ??? tad megjinaaju veel ar <a href=" java script:; ...... >Links</a ??? Un ko gribi ja Ctrl+C & Ctrl+V ??? Edited April 18, 2007 by Grey_Wolf Link to comment Share on other sites More sharing options...
Stopp Posted April 20, 2007 Report Share Posted April 20, 2007 (edited) tad megjinaaju veel ar <a href=" java script:; ...... >Links</a??? Grey_Wolf, to jau var mierīgi darīt. Pareizi gan laikam ir java script:void(0); , bet parasts java script:; iekš linka strādā kā tukšums bez aizķērumiem. Edit: Sorrī, neievēroju turpinājumu :) Jā, ir greizi. Edited April 20, 2007 by Stopp Link to comment Share on other sites More sharing options...
marrtins Posted April 20, 2007 Report Share Posted April 20, 2007 <a href="java script://" onclick="someFunction(); return false;">Klikkot uz java :D :D</a> Link to comment Share on other sites More sharing options...
aldis Posted April 20, 2007 Report Share Posted April 20, 2007 Man shitais visslabaak patiik.. :) nekadi java.. u.t.t.. bet labi parvaldams! <input type="button" value="poga" onclick="window.open('php/jauna_lapa.php','jauns_logs','scrollbars=0,width=350,height=450,left=0,top=0');" class="codeButtons" /> Link to comment Share on other sites More sharing options...
Grey_Wolf Posted April 20, 2007 Report Share Posted April 20, 2007 (edited) <script> function xxx() { alert('Stradaa'); } </script> <a href="java script:void(0)" OnClick="xxx()">xxx</a> ------ nekadi java.. u.t.t.. un kas peec tavaam domaam ir OnClick ? un Window.open ? HTMLs ? Piedevaam Nejauciet JAVU ar JavaScript taas tomeer ir divas dazaadas lietas.... Edited April 20, 2007 by Grey_Wolf Link to comment Share on other sites More sharing options...
Delfins Posted April 20, 2007 Report Share Posted April 20, 2007 Da rakstot HTML kodu viņi domā, ka kodē iekš PHP :) [topiks ielikts PHP sadaļā] Link to comment Share on other sites More sharing options...
kalabox Posted April 25, 2007 Author Report Share Posted April 25, 2007 Delfiin, netrako :D Link to comment Share on other sites More sharing options...
Recommended Posts