anonīms Posted December 17, 2009 Report Share Posted December 17, 2009 Periet mani vai nē, bet šī ir pirmā sadaļa, ko visi skatās. Tātad - ir nepieciešams izveidot javascript alertu, kas par kko pabrīdinātu.Āķis ir tāds, ka šajā alertā ir jābūt tektam (tas takā ir ok) UN pēc tam, kad nospiež Ok (cancel pogu vispār nevajag), tad aizmet uz noteikti linku. Kā to varētu dabūt gatavu? Quote Link to comment Share on other sites More sharing options...
indoom Posted December 17, 2009 Report Share Posted December 17, 2009 un kas tieši ar php ir saistībā, ja jau nav ielikts javascript sadaļā? Quote Link to comment Share on other sites More sharing options...
anonīms Posted December 17, 2009 Author Report Share Posted December 17, 2009 Pieradums.. Ja ir iespēja, pāmetiet. Quote Link to comment Share on other sites More sharing options...
edi Posted December 17, 2009 Report Share Posted December 17, 2009 (edited) <script type="text/javascript"> <!-- function kautkas() { var where_to= alert("lekt?"); if (where_to== true) { document.location.href="http://php.net"; } } //--> </script> ? alert kad uzspiez uz linka ) Edited December 17, 2009 by edi Quote Link to comment Share on other sites More sharing options...
Grey_Wolf Posted December 17, 2009 Report Share Posted December 17, 2009 Periet mani vai nē, bet šī ir pirmā sadaļa, ko visi skatās. Jaa noteikti !!! Jo pamata skats New Content , nevis sadalju.. ja JS tad: <body onload="alert('bla'); location.href='katkads.links'"> </body> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.