vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Database of Codes/Hacks/Mods :: Posting Remodel - 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
Posting Remodel (30th Apr 08 at 6:46pm UTC)
This code merges the subject & description row. And then puts the UBBC icons to the right of those 2 input boxes. And then the smilies below all of that.

Also, expands the width of the message field. {Smile}

Preview

<script>
/*Posting Mod v1
Created By Wrighty
Do Not: Rip, Repost or Claim*/

var love = {
    kiss: function(){
        if(get('description_field','id')){
            this.hug();
        }
    },
    hug: function(){
        var lick = document.createElement('div');
        var finger = lick.cloneNode(true);
        var vag = finger.cloneNode(true);
        with(lick){
            appendChild(get('ubbc_buttons','id').firstChild);
            style.cssText = 'float: right';
        }
        with(finger){
            style.cssText = 'float: left';
            appendChild(get('subject_field','id').firstChild);
            appendChild(document.createElement('br'));
            appendChild(get('description_field','id').firstChild);
        }
        with(vag){
            appendChild(get('smilies_buttons','id').firstChild);
            style.cssText = 'text-align: center; clear: both; padding-bottom: 10px; padding-top: 5px;';
        }
        with(get('subject_title','id')){
            appendChild(document.createElement('br'));
            appendChild(document.createElement('br'));
            appendChild(get('description_title','id').firstChild);
            style.cssText = 'vertical-align: top';
        }
        with(get('subject_field','id')){
            appendChild(finger);
            appendChild(lick);
            appendChild(vag);
        }
        with(get('description_title','id').parentNode){
            style.display = 'none';
            nextSibling.style.display = 'none';
            nextSibling.nextSibling.style.display = 'none';
        }
        get('message','name')[0].style.width = '99%'
    }
};
love.kiss();
</script>


Global Footer
 Printable View

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