FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » Increase Text box size
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Increase Text box size [message #25495 is a reply to message #25488] Thu, 09 June 2005 20:19 Go to previous messageGo to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma:
Senior Member
Administrator
Core Developer
Here is a quick and dirty, but working example:

<FORM>
  <TEXTAREA NAME=message style="height:100px;"></TEXTAREA>
</FORM>

<font size=-2>
  <a href="#" onclick="return alter_box_height('message', 100)">Increase Size</a>
  <a href="#" onclick="return alter_box_height('message', -100)">Decrease Size</a>
</font>

<script type="text/javascript">
function alter_box_height(objname, inc) {
  var obj = document.all[objname];
  obj.style.height = parseInt(obj.style.height) + inc + "px";
}
</script>


Best regards.

Frank
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Member passwords
Next Topic: Merge Topic Control Panel
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Jul 03 13:32:15 GMT 2024

Total time taken to generate the page: 0.05369 seconds