Page 1 of 11
UcozBaze All Scripts And Templates » Scripts and Coding » Tag Board » Send message with ENTER
Send message with ENTER
DragonDate: Saturday, 2014-06-28, 4:04 PM | Message # 1
Group: UcozBaze Team
Messages: 4
0
/Design customization /Tagboard/Form for adding new messages

Original textarea and submit code this:

Code
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td width="95%" rowspan="2">$FLD_MESSAGE$</td>
<td align="center" valign="top"><div style="font-size:10px;"></div></td>
</tr><tr><td align="center" valign="bottom">$SUBMIT$</td></tr></table><br>


Delete this code.

NEW code this:

Code
<table border="0" cellpadding="1" cellspacing="1" width="100%">
   <tr><td id="iras" width="95%" rowspan="2" onClick="this.select();">$FLD_MESSAGE$</td>
   <td align="center" valign="top"><div style="font-size:10px;">$LENGTH_COUNTER$</div></td>
   </tr><tr><td align="center" valign="bottom">
       <div style="width:30px"><form id="mchatBtn"><input type="submit" value="Küldés" class="mchat" id="mchatBtn" style="width:60px;"></form><img alt="" style="display:none;" id="mchatAjax" src="http://s32.ucoz.net/img/fr/ajax3.gif" border="0" width="60"/></div></td></tr></table>      
     
   <script type="text/javascript">       
     
   $("#iras").keyup(function(event){
       if(event.which == 13){
       $("#mchatBtn").click();
       }
       // Make sure the form isn't submitted
       event.preventDefault();
   } <img src="/.s/sm/24/wink.gif" border="0" align="absmiddle" alt="wink" /> ;
   </script>


smile
 
Message/Design customization /Tagboard/Form for adding new messages

Original textarea and submit code this:

Code
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td width="95%" rowspan="2">$FLD_MESSAGE$</td>
<td align="center" valign="top"><div style="font-size:10px;"></div></td>
</tr><tr><td align="center" valign="bottom">$SUBMIT$</td></tr></table><br>


Delete this code.

NEW code this:

Code
<table border="0" cellpadding="1" cellspacing="1" width="100%">
   <tr><td id="iras" width="95%" rowspan="2" onClick="this.select();">$FLD_MESSAGE$</td>
   <td align="center" valign="top"><div style="font-size:10px;">$LENGTH_COUNTER$</div></td>
   </tr><tr><td align="center" valign="bottom">
       <div style="width:30px"><form id="mchatBtn"><input type="submit" value="Küldés" class="mchat" id="mchatBtn" style="width:60px;"></form><img alt="" style="display:none;" id="mchatAjax" src="http://s32.ucoz.net/img/fr/ajax3.gif" border="0" width="60"/></div></td></tr></table>      
     
   <script type="text/javascript">       
     
   $("#iras").keyup(function(event){
       if(event.which == 13){
       $("#mchatBtn").click();
       }
       // Make sure the form isn't submitted
       event.preventDefault();
   } <img src="/.s/sm/24/wink.gif" border="0" align="absmiddle" alt="wink" /> ;
   </script>


smile

Author - Dragon
Date Added - 2014-06-28 в 4:04 PM
Ed05Date: Saturday, 2016-06-25, 8:06 PM | Message # 2
Group: UcozBaze Team
Messages: 7
0
this not work. its not funny.
 
Messagethis not work. its not funny.

Author - Ed05
Date Added - 2016-06-25 в 8:06 PM
UcozBaze All Scripts And Templates » Scripts and Coding » Tag Board » Send message with ENTER
Page 1 of 11
Search:
                                                               
Statistics Forum
New Posts Popular topic Top Forum Users New User

type list Automatically add tags for all uCoz modules (6)
type list How to customize the design of the site for mobile version (3)
type list Video player for uCoz (3)
type list Auto Youtube Trailers for Ucoz Movies Web (0)
type list Pranešimai skrti jums yra matomi Tag Board Ucoz skriptas (1)
type list Why can’t I copy large files over 4GB to my USB flash drive (0)
type list Forumo Informatorius (2)
type list Pereiti i kita puslapi forume 1.2.3. Ucoz skriptas (1)
type list The script for the output of a random video from Youtube (0)
type list The script updates the block comment without refreshing the (0)

type list Skaiciuojam nuo 1 iki 1000 ! (557)
type list Forum SignatureBar (60)
type list Avatars (22)
type list Kaip pakeisti paveiksla mazas? (19)
type list Juokingos Fotkes :) (19)
type list Mini-Chatas islendantis is sono ucoz (15)
type list Mp3-Tau.do.am (13)
type list Шаблон форума для ucoz For-css (12)
type list Ucoz script - favicon (11)
type list Megsti samp? Ateik cia (10)

interout
GoblinaS
Adi
Esquire
BAtman
WaSHkaZ
Skacikas
meskis
Gytenas
vicka

marcodeboey
Addams
btcfun
machavariani98
MTIE
quratoffice
Fire
ftv17563
daannuutt
Adriana


Site design by uCozBaze
uCozBaze © 2011-2016