didy Posted September 1, 2006 Report Share Posted September 1, 2006 Ir guestbook. Ir ieklauts BBcode Blakus komentaru logam ir smaidins.gif. Jautajums sekojos, ka izdarit lai uzspiezot uz si smaidins.gif, komentaru loga paradas BBcode, respektivi, "[smile]" vai kas tml. Link to comment Share on other sites More sharing options...
Delfins Posted September 1, 2006 Report Share Posted September 1, 2006 nu tā arī dari... klikojot uz bildes input laukam pieliekās klāt teksts [smile]... Elementarno, Vatson Link to comment Share on other sites More sharing options...
didy Posted September 1, 2006 Author Report Share Posted September 1, 2006 Jautajums izkaneja, ka to panaakt? Es nevaru izdomat! Link to comment Share on other sites More sharing options...
Grey_Wolf Posted September 1, 2006 Report Share Posted September 1, 2006 (edited) didy --> meklee tepat Forumaa.. te ir apspriesti vismaz 2 JS skripti .... Tas buus tas kas tev vajadziigs... P.S. To ka vinji seit ir dodu 100% .... Tik meklee.... Edited September 1, 2006 by Grey_Wolf Link to comment Share on other sites More sharing options...
v3rb0 Posted September 1, 2006 Report Share Posted September 1, 2006 (edited) onclick="document.getElementById('textarea_id').value += '[smile]';" or kkā tā.. Edited September 1, 2006 by v3rb0 Link to comment Share on other sites More sharing options...
didy Posted September 1, 2006 Author Report Share Posted September 1, 2006 onclick="document.getElementById('textarea_id').value += '[smile]';" Nesanak ar onclick! Hmm.. laikam k-ko nepareizi daru! Link to comment Share on other sites More sharing options...
Grey_Wolf Posted September 1, 2006 Report Share Posted September 1, 2006 (edited) Un kur Enkurs??? <a href="java script:void(0)" onclick="document.getElementById('textarea_id').value += '[smile]';" > BILDE</a> P.S. kautgan var arii istikt bez <a.... Edited September 1, 2006 by Grey_Wolf Link to comment Share on other sites More sharing options...
didy Posted September 1, 2006 Author Report Share Posted September 1, 2006 Nekad nesu lietojis JS! Esmu php iesacejs! Sit mani nost bet es nesaprotu! <form action="index.php" method="post"> <table width="390" border="0" height="10" align=center background="/style/add_style_green.png"> <tr> <td> <!-- attiecigas bildes --> <img src="/style/bloods.png" /> <img src="/style/blood.png"/> <img src="/style/underline.png" /> <img src="/style/strip.png" /> <img src="/style/gas_strip_os_83.png" /> <img src="/style/link.png" /> <img src="/style/img.png" /> <img src="/style/gas_strip_os_83.png" /> <a href="" border="0"><img src="/style/info68.png" border="0" /></a> <!-- attiecigas bildes END --> </td> </tr> </table> <table align=center width=396 border="0"> <tr> <td>Niks:<font color="red">*</font> <input type="input" name="vards" size="15" style="background-color:#FBFBFB"></td> </tr> <tr> <td colspan=2>Komentars:<font color="red">*</font><br><textarea rows=4 cols=45 name="teksts" style="background-color:#FBFBFB"></textarea></td> </tr> <tr> <td><input type=submit value="Pievienot" name="aiziet"> <input type=hidden value="<?php echo $_SERVER['REMOTE_ADDR']; ?>" name="aipii"> <input type=hidden value="<?php echo time() ?>" name="laiks"></td> </tr> </form> </table> Neizdodas panakt velamo efektu, tapec palugsu lai Jus palabojat manu source! Link to comment Share on other sites More sharing options...
v3rb0 Posted September 1, 2006 Report Share Posted September 1, 2006 <img src="/style/bloods.png" onclick="document.getElementById('textarea1').value +='[w00t]';document.getElementById('textarea1').focus();"/> ... <textarea rows=4 cols=45 name="teksts" style="background-color:#FBFBFB" id="textarea1"></textarea> Link to comment Share on other sites More sharing options...
didy Posted September 1, 2006 Author Report Share Posted September 1, 2006 Paldies, sanaca! Problema bija ar id="textarea1 Link to comment Share on other sites More sharing options...
Recommended Posts