SMF For Free Support Forum
Signup For Free Forum
December 10, 2016, 08:08:38 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
   Home   Help Search Arcade Gallery Login Register Chat  

Pages: [1]
Author Topic: Where do I put this code?  (Read 1708 times)
0 Members and 1 Guest are viewing this topic.
SMF For Free Member
Offline Offline

Posts: 63

View Profile
Total Badges: 9
Badges: (View All)
Topic Starter Combination Level 2 Level 1 50 Posts
« on: September 28, 2010, 05:28:56 pm »

Where do I put this code:

<script type='text/javascript'>
/* Image Changes on Page
SMF For Free 2009 - WWX */
function swap_img(){
var img_b = new Array();
img_b[img_b.length++] = [ "christmas_stockings_ranks/rank_banned.gif " , "" ]

var a_i = document.getElementsByTagName('IMG');
for(i=a_i.length-1;i>=0;i--) for(j=0;j<img_b.length;j++) if(a_i[i].src == img_b[j][0]) a_i[i].src = img_b[j][1];

It's from:


EDIT: Nvm, goes in header/ footer.

Pages: [1]
Jump to:  

buy website traffic
Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
SMF and SimpleMachines are registered trademarks of Simple Machines. is not affiliated with nor endorsed by Simple Machines.