News:

Create A Forum Installed

Author Topic: [GUIDE] Using Your Own Rank Images  (Read 16780 times)

0 Members and 1 Guest are viewing this topic.

Offline danny12

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
    • View Profile

Badges: (View All)
Search Apple User Mobile User
Re: [GUIDE] Using Your Own Rank Images
« Reply #30 on: November 05, 2015, 07:59:23 pm »
<script type='text/javascript'>
/*
Change Any Image On Page
Created by iFusion
*/
var img_b = new Array();


img_b[img_b.length++] = ["http://images.smfboards.com/ranks/rank_flower.png" , "http://i.imgbox.com/saEH8013.png"]
img_b[img_b.length++] = ["http://images.smfboards.com/ranks/rank_gifted.png" , "http://i.imgbox.com/LgstQDsZ.png"]
img_b[img_b.length++] = ["http://images.smfboards.com/ranks/rank_gold.png" , "http://i.imgbox.com/AojGCB0Z.png"]
img_b[img_b.length++] = ["http://images.smfboards.com/ranks/rank_peace.png" , "http://i.imgbox.com/bonAaNNH.png"]
img_b[img_b.length++] = ["http://images.smfboards.com/ranks/rank_prof.png" ,"http://i.imgbox.com/On34fQ37.png"]
img_b[img_b.length++] = ["http://images.smfboards.com/ranks/rank_sweet.png" , "http://i.imgbox.com/MuGM3vFd.png"]




var all_images = document.getElementsByTagName('IMG');
for(i=0;i<all_images.length;i++){
for(j=0;j<img_b.length;j++){
   if(all_images.src == img_b[j][0]){
     all_images.src = img_b[j][1];
}}}
</script>
<script type='text/javascript'>
/*
Change Any Image On Page
Created by iFusion
*/
var img_b = new Array();

img_b[img_b.length++] = ['http://images.smfboards.com/ranks/rank_flower.png' , 'http://i.imgbox.com/LgstQDsZ.png']

var all_images = document.getElementsByTagName('IMG');
for(i=0;i<all_images.length;i++){
for(j=0;j<img_b.length;j++){
   if(all_images.src == img_b[j][0]){
     all_images.src = img_b[j][1];
}}}
</script>

does not work :(

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
487 Views
Last post August 12, 2012, 10:00:06 pm
by Tony
0 Replies
787 Views
Last post November 25, 2012, 03:56:29 am
by terrel8125
0 Replies
339 Views
Last post November 25, 2012, 04:59:15 am
by terrel8125
3 Replies
2011 Views
Last post July 17, 2013, 08:10:58 am
by aIURbliS
5 Replies
1084 Views
Last post July 04, 2015, 12:07:02 pm
by Griff Grof