Show
Ignore:
Timestamp:
07/08/08 01:47:24 (5 years ago)
Author:
kumatch
Message:

Adjusted a status update counter.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • events/phpframework/piece_framework/trunk/web/frontend/webapp/templates/Self/Form.html

    r15424 r15431  
    55        <span class="whatdoing">イマナニシテル?</span> 
    66        <span class="textCount" id="js_textcount">140</span> 
    7         <textarea class="message" name="status"></textarea> 
     7        <textarea 
     8            onkeyup="return updateStatusTextCharCounter(this.value, event);" 
     9            onfocus="return updateStatusTextCharCounter(this.value, event);" 
     10            onblur="return updateStatusTextCharCounter(this.value, event);" 
     11            class="message" name="status" id="status"></textarea> 
    812        <p class="btn btnSpace"> 
    9           <input name="commit" class="formBtn" type="submit" value="つぶやく" p:event="update" /> 
     13          <input name="commit" id="commit" class="formBtn" type="submit" value="つぶやく" p:event="update" /> 
    1014        </p> 
    1115      </div> 
     
    111115      $(this).innerHTML = replace_url_to_link($(this).innerHTML); 
    112116  }); 
     117 
     118  $('status').focus(); 
     119  updateStatusTextCharCounter($('status').value); 
    113120}); 
    114121</script>