vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Database of Codes/Hacks/Mods :: Constant 'Expand Message Area' - View Topic
Topic Rating: *****
Printable View
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Constant 'Expand Message Area' (24th Mar 08 at 11:22pm UTC)
This will make it so that you can continue to Expand the posting area as many times as you want, instead of the default of just once.

It will expand by the same about all of the time! {Smile}


<script>
/*Consistant 'Expand Message Area'*/

if(get('message_field','id')){
    get('message_field','id').getElementsByTagName('div')[0].onclick = function(){
        document.post_form.message.rows = parseInt(document.post_form.message.rows + 8);
    };
}
</script>


Global Footer
 Printable View

All times are GMT+0 :: The current time is 3:50pm
Page generated in 0.2743 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums