vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Database of Codes/Hacks/Mods :: [Flash] UBBC Icon - 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
[Flash] UBBC Icon (17th Mar 08 at 10:32pm UTC)
This will add a flash UBBC Icon

Image
Will Be shown.

Simply Modify: var icon = 'http://i25.tinypic.com/2mouuyf.gif' to change the icon.

<script type="text/javascript">
/*Flash UBBC Icon
Created By Wrighty - vForums Support
Don't RIP, Repost or Claim! */

var icon = 'http://i25.tinypic.com/2mouuyf.gif'

function build(){
    var _i = document.createElement('img');
    _i.src = icon;
    _i.style.border='0';
    _a = document.createElement('a');
    _a.onclick = function(){add_ubbc('','');};
    _a.style.cssText = "cursor: pointer;";
    _a.appendChild(_i);
}

if(get('ubbc_buttons','id')){
    build();
    get('ubbc_buttons','id').firstChild.insertBefore(_a, get('ubbc_buttons','id').firstChild.lastChild);
}
if(get('quick_reply_ubbc','id')){
    build();
    get('quick_reply_ubbc','id').childNodes[1].appendChild(_a);
}
</script>


Global Footer
 Printable View

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