1
General Support / Re: Problem with Rank Image Change Script
« on: October 02, 2013, 03:43:35 pm »
Please explain it further.
Create A Forum Installed
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
<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/staradmin.gif" , "http://i.imgur.com/iHfHZxk.png"]
img_b[img_b.length++] = ["http://images.smfboards.com/ranks/stargmod.gif" , "http://i.imgur.com/edYJ4w1.png"]
img_b[img_b.length++] = ["http://images.smfboards.com/ranks/starmod.gif" , http://i.imgur.com/edYJ4w1.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[i].src == img_b[j][0]){
all_images[i].src = img_b[j][1];
}}}
</script>