Second Affiliate table out of a series that will be arriving!
<script>
/*Lvl 2 Affiliate Table
Created By Wrighty
Don't: Rip, Repost or Claim!*/
var affiliates = [
["http://support.vforums.co.uk", "http://virtualforums.co.uk/images/home.gif"],
["http://support.vforums.co.uk", "http://virtualforums.co.uk/images/home.gif"],
["http://support.vforums.co.uk", "http://virtualforums.co.uk/images/home.gif"],
["http://support.vforums.co.uk", "http://virtualforums.co.uk/images/home.gif"]
];
document.write('<table border="0" cellSpacing="1" cellPadding="3" class="border" width="500px">');
document.write('<tr><td class="title1">' + document.title.split(/ -/)[0] + '\'s Affiliates');
document.write('</td></tr><tr><td class="window1">');
for(i=0;i<affiliates.length; i++){
document.write('<a href="' + affiliates[i][0] + '"><img src="' + affiliates[i][1] + '" border="0"></a>');
}
document.write('</td></tr></table>');
</script>
Simply edit this part:
var affiliates = [
["http://support.vforums.co.uk", "http://virtualforums.co.uk/images/home.gif"],
["http://support.vforums.co.uk", "http://virtualforums.co.uk/images/home.gif"],
["http://support.vforums.co.uk", "http://virtualforums.co.uk/images/home.gif"],
["http://support.vforums.co.uk", "http://virtualforums.co.uk/images/home.gif"]
];
repeating the lines for more and more affiliates. Remember, there is no comma on the last line.
Place this code anywhere. Where it is placed, it will appear!
Wrighty, hi the <;/tr><tr> in this code makes the forum go wacky. If you remove it, its fine. Also when adding this code, it makes the forum go to the left and not stay centered.
For some reason vF added that semi colon. Post in code support if there's a problem!
Wasn't a problem when this was coded.
For some reason vF added that semi colon. Post in code support if there's a problem!
Wasn't a problem when this was coded.
Semicolon's there again.
Seems we needs a bug report posted.
There wasn't? I tried this code and it always happens to me. But when i use v1 it works fine!
v1 is nothing like v2.
I know!
Preview please
Does it actually take long to try it on a forum to try it yourself?
Preview please
http://wimg.co.uk/AYNj5p.gif
Thank you Ash!