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

0 Members and 0 Guests are viewing this topic.

Offline simply sibyl

  • Full Member
  • ***
  • Posts: 189
  • Karma: 35
    • View Profile
Re: [GUIDE] Using Your Own Rank Images
« on: July 07, 2011, 02:56:46 am »
The page for the Generator was made by a member (from SMF for Free) and his page must be down.

If the Generator URL is not working:

(The code goes in the Footer)

Code: [Select]
<script type='text/javascript'>
/*
Change Any Image On Page
Created by iFusion
*/
var img_b = new Array();

img_b[img_b.length++] = ["OLD IMAGE URL" , "NEW IMAGE URL"]

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>


Replace OLD IMAGE URL with the url of the image you want to replace
Replace NEW IMAGE URL with the url of the new image you want to use

Add more of these lines if you have several images to swap:

img_b[img_b.length++] = ["OLD IMAGE URL" , "NEW IMAGE URL"]

 

Related Topics

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