vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: [F] Forum Smilies IN Another Row - View Topic
Topic Rating: *****
Printable View
This topic was locked 10th Jul 08 at 7:11pm by Michael
dog199200
Guest
[F] Forum Smilies IN Another Row (9th Jul 08 at 9:15pm UTC)
Resolved
umm can i please get a code so thatr when i use the Forum Smilies feature it puts the added smilies in a row under the original smilies.
Michael
Moderator
*****

[Avatar]
Recoding the future

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

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Forum Smilies IN Another Row (10th Jul 08 at 9:20am UTC)
try this:

<script>
/*Exrtra Smilies on New Line
Created By Wrighty
Do Not Rip,. Repost or Claim*/

var s = {
     d: get('img','tag'),
     i: function(){
          if(location.href.match(/\/(post|modify)/)){
               this.a();
          }
     },
     a: function(){
          for(i = 0; i < this.d.length; i++){
               if(this.d[i].alt == 'Laugh'){
                    this.d[i].parentNode.parentNode.removeChild(this.d[i].parentNode.nextSibling);
                    this.d[i].parentNode.parentNode.insertBefore(document.createElement('br'), this.d[i].parentNode.nextSibling)
                    this.d[i].parentNode.parentNode.insertBefore(document.createElement('br'), this.d[i].parentNode.nextSibling)
                    break;
               }
          }
     }
};
s.i();
</script>


Global Footer
dog199200
Guest
Re: Forum Smilies IN Another Row (10th Jul 08 at 7:00pm UTC)
ty it works great
Michael
Moderator
*****

[Avatar]
Recoding the future

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

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Forum Smilies IN Another Row (10th Jul 08 at 7:11pm UTC)
{Smile}
 Printable View

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