Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Resizing of the TextArea on border or scrollbar

Reply
Thread Tools

Resizing of the TextArea on border or scrollbar

 
 
Nick
Guest
Posts: n/a
 
      05-01-2008
Hi,

I have created a html page from Java and I have added a .js file which
can resize a TextArea inside the html on mousedown event.

<script src="C:\temp\resize.js"> </script>
<table> <tr><td onmousedown="javascript:resize('trinput',event)">
<TEXTAREA NAME="input" id="trinput" COLS=40 ROWS=60>
my textarea here
</TEXTAREA>
</td>
</tr>
</table>

But now when I click on amny of the area of tes TextArea the textarea
starts resizing.

Can I do something like only when the mouse is down over the borders
of the <td> or scrollbars of the textareas only then resize script
should get called ?

Please help !

Cheers
Nick
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resizing of the TextArea on border or scrollbar Nick ASP .Net 1 05-01-2008 10:45 PM
Resizing of the TextArea on border or scrollbar Nick Javascript 1 05-01-2008 04:49 PM
Resizing of the TextArea on border or scrollbar Nick HTML 0 05-01-2008 12:40 PM
Resizing of the TextArea on border or scrollbar Nick Javascript 0 05-01-2008 12:38 PM
1) textarea firefox scrollbar 2) input check border 3) datagrid si =?Utf-8?B?cGF0cmlja2RyZA==?= ASP .Net 0 05-14-2007 12:02 AM



Advertisments