1
SMF For Free Codes and Support / Re: Some BIG buttons for others to use... if you want.
« on: October 24, 2006, 12:59:50 pm »
Cool! What are the codes? How do we put them on the site as buttons?
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://url.com/image1.gif" , "http://newurl.com/image1.gif" ];
img_b[img_b.length++] = [ "http://url.com/image2.gif" , "http://newurl.com/image2.gif" ];
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>
img_b[img_b.length++] = [ "http://url.com/image1.gif" , "http://newurl.com/image1.gif" ];
img_b[img_b.length++] = [ "[i]Current Image URL[/i]" , "[i]New URL of Image[/i]" ];
img_b[img_b.length++] = [ "http://www.smfboards.com/Themes/default/images/english/newsbox.gif" , "http://www.google.com/logos/Logo_25wht.gif" ];