|
uCoz Community Archives Locked Something about table and fill in text |
Something about table and fill in text |
Hello now i found better way how to show it to you people.
I finished one teail of this workd . Now the most important thing i need to do is > 1. Check this http://zr-gaming.ucoz.com/index/ban_lista/0-5 How can i do it ? I will give you Reward and Reputation points for help , its inportant for me , i need to finish it for 24 hours . Thank you very much guys . Added (2011-01-17, 12:05 PM) .:[ If i helped you please pump up my Reputation and give me award :) ]:. Post edited by PredatoR - Monday, 2011-01-17, 6:19 PM
|
sunny or natashko will help , just be patient i can't help because this involves custom coding and i won't help with that as you already knew it takes tomuch time for staf to do
Now my Question to you: To busy building a passive income online ;)
|
Well , You have right .
But i allredy made a table , now when i type the text in the field and pressing submit , that should build new Row and put the typed text in.
Code <table width="100%" cellpadding="2" cellspacing="2"> <tbody><tr> <td bgcolor="#ffffff"><font color="#ff0000"><b>Nick Igraca :</b></font></td> <td bgcolor="#ffffff"><font color="#ff0000"><b>Steam ID Igraca :</b></font></td> <td bgcolor="#ffffff"><font color="#ff0000"><b>Razlog Bana :</b></font></td> <td bgcolor="#ffffff"><font color="#ff0000"><b>Trajanje Bana :</b></font></td> <td bgcolor="#ffffff"><font color="#ff0000"><b>Admin Nick :</b></font></td> </tr> <tr> <td bgcolor="#000000">Here should go the text typed in filed (Nick Igraca)</td> <td bgcolor="#000000">Here should go the text typed in filed (Steam ID Igraca)</td> <td bgcolor="#000000">Here should go the text typed in filed (Razlog bana)</td> <td bgcolor="#000000">Here should go the text typed in filed (Trajanje Bana)</td> <td bgcolor="#000000">Here should go the text typed in filed (Admin Nick)</td> </tr> </tbody></table> <br><br><br><br> <html> <head></head> <body> <fieldset> <legend><b><font color="#ff0000"><blink>PODACI</blink></font></b></legend> <table border="0"> <tbody> <tr> <td>Nick igraca <font color="#ff0000">=></font></td> <td> <input type="text" name="clientname" id="clientname" value> </td> </tr> <tr> <td>Steam ID Igraca <font color="#ff0000">=></font></td> <td> <input type="text" name="clientmail" id="clientmail" value> </td> </tr> <tr> <td>Razlog bana <font color="#ff0000">=></font></td> <td> <input type="text" name="clientcity" id="clientcity" value> </td> </tr> <tr> <td>Trajanje Bana <font color="#ff0000">=></font></td> <td> <input type="text" name="servername" id="servername" value> </td> </tr> <tr> <td>Admin Nick <font color="#ff0000">=></font></td> <td> <input type="text" name="clientmail" id="clientmail" value> </td> </tr> </tbody> </table> </fieldset> <input type="submit" name="submit" value="Submit"> <br><br><br><br> And every time when i type new info in filed it should make new Rows like : Code <tr> <td bgcolor="#000000">Here should go the text typed in filed (Nick Igraca)</td> <td bgcolor="#000000">Here should go the text typed in filed (Steam ID Igraca)</td> <td bgcolor="#000000">Here should go the text typed in filed (Razlog bana)</td> <td bgcolor="#000000">Here should go the text typed in filed (Trajanje Bana)</td> <td bgcolor="#000000">Here should go the text typed in filed (Admin Nick)</td> </tr> Or if that is not passible , then anything other but that should looks like a table. It will be great if someone help me about that , but you Animorph, I think you know that Added (2011-01-18, 1:01 PM) But i found easyer way for something like this . So i made codes like when people type in text and press send i got a private message . Code <table width="100%" border="0" cellpadding="2" cellspacing="1"> <tbody><tr><td style="background: none repeat scroll 0% 0% rgb(212, 223, 247);" class="userinfo" align="center"><b>Upiši Ban</b></td></tr> <tr><td padding:5px;="" class="popupbody" align="center"><script type="text/javascript">function del_item(id){if (confirm('Do you confirm removal?')){var img=document.getElementById('di'+id);img.src='http://s106.ucoz.net/img/fr/OmnAjax.gif';_uPostForm('',{url:'http://zr-gaming.ucoz.com/index/16-'+id});}}function delgroup(f) {if (confirm('Do you confirm removal?')){document.getElementById('dpms').style.display='none';var frm=eval('document.'+f);_uPostForm(f,{type:'POST',url:frm.action});}}</script><div class="pbarContainer" title="0 messages out of 100"><div class="pbarFiller" style="width: 0%;"></div></div><div align="left"><br></div><hr> <script type="text/javascript"> function safe(f) { document.getElementById('eMessage').innerHTML='<font color="#8B8B8B"><img src="http://s106.ucoz.net/img/ma/m/i2.gif" border="0" align="absmiddle" width="13" height="13"> Transmitting data ...</font><hr>'; var frm=eval('document.'+f); document.getElementById('sbm').disabled=true; _uPostForm(f,{type:'POST',url:frm.action}); } function new_message(t){} function prepost(){document.getElementById('preText2').value=document.getElementById('message').value;window.open('','prev','scrollbars=1,width=600,height=250,left=0,top=0');document.getElementById('preForm2').submit();} </script> <form method="POST" name="addform" id="addform" action="http://zr-gaming.ucoz.com/index/" style="margin: 0pt;" onsubmit="safe('addform');return false;"> <table width="500" border="0" cellpadding="1" cellspacing="0" height="30"> <tbody><tr><td colspan="2"><div id="eMessage" align="center"></div></td></tr> <tr><td width="25%">Primalac :</td><td><input id="PMtoUser" name="s" value="PredatoR" size="30" type="text"> <span id="userDtls"></span></td></tr> <tr><td>Nick igrača :</td><td><input id="pmSubject" name="subject" value="" style="width: 196px;" maxlength="100" size="20" type="text"></td></tr> <tr><td>Steam ID igrača :</td><td><input id="message" name="message" value="" style="width: 196px;" maxlength="100" size="20" type="text"></td></tr> <tr><td>Razlog bana :</td><td><input id="message" name="message" value="" style="width: 196px;" maxlength="100" size="20" type="text"></td></tr> <tr><td>Trajanje bana :</td><td><input id="message" name="message" value="" style="width: 196px;" maxlength="100" size="20" type="text"></td></tr> <tr><td>Nick admina :</td><td><input id="message" name="message" value="" style="width: 196px;" maxlength="100" size="20" type="text"></td></tr> <tr><td colspan="2">KoD : <input class="securityCode" style="width: 196px;" id="secuCode" name="code" size="5" maxlength="4" type="text"><br><input name="seckey" value="3001325174" type="hidden"> <img alt="" style="margin: 0pt; padding: 0pt; border: 0pt none; cursor: pointer;" id="secuImg" title="Refresh security code" onclick="this.src='http://zr-gaming.ucoz.com/secure/?k=3001325174;s=index;tm='+Math.random();" src="http://zr-gaming.ucoz.com/secure/?k=3001325174;s=index;tm=1295371345" align="absmiddle"></td></tr> <tr><td colspan="2" align="center"> <input style="font-weight: bold; width: 130px;" id="sbm" value="Send" type="submit"> </td></tr> <tr><td colspan="2"><div style="padding-bottom: 2px;"><script type="text/javascript" src="http://s106.ucoz.net/src/bbcodes.js"></script><span style="padding-right: 1px;" id="bc1"></span><br><input id="tagcount" value="0" type="hidden"> </div><table width="100%" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td valign="top"></td><td style="padding-left: 3px;" valign="top" width="5%" align="center"><script type="text/javascript">function emoticon(code,nm){if (code != ""){var txtarea=document.getElementById(nm);code = ' ' + code + ' ';if (document.selection) {txtarea.focus();var txtContent = txtarea.value;var str = document.selection.createRange();if (str.text == ""){str.text = code;} else if (txtContent.indexOf(str.text) != -1){str.text = code + str.text;} else {txtarea.value = txtContent + code;}}else{txtarea.value = txtarea.value + code;}}}</script><br></td></tr></tbody></table></td></tr> </tbody></table> <input name="a" value="18" type="hidden"> </form><script type="text/javascript">document.getElementById('pmSubject').focus();</script> <div style="visibility: hidden; display: none;"><form style="margin: 0pt;" method="post" id="preForm2" action="/index/" target="prev"><textarea name="message" id="preText2" rows="1" cols="1"></textarea><input name="a" value="70" type="hidden"></form></div> <hr><form method="post" action="http://zr-gaming.ucoz.com/index/" name="fuser" style="margin: 0px;"><br><input name="a" value="15" type="hidden"></form></td></tr> </tbody></table> The problem is First filed is "Recipient" , thats mean who will recieve the message Code <td><input id="message" name="message" value="" style="width: 196px;" maxlength="100" size="20" type="text"></td></tr> So is it possible when i fill the other 3 filds with text and press " send " it sends me a message, but For now only 1 filed "message" works , other dont works . Added (2011-01-30, 1:20 Am) Moderator you can CLOSE this Topic , i dont need it anymore . .:[ If i helped you please pump up my Reputation and give me award :) ]:. Post edited by PredatoR - Sunday, 2011-01-30, 7:21 AM
|
| |||
| |||