Hi Wrighty or Marc would it be possible for you to fix this code to work on vforums please .I do have it up on my forum http://tropolis.virtualforums.Code:
- <script type="text/javascript">
- <!--
- //Focus's Welcome table v1
- //aka Derek
- var ttitle="My Table Name"; // Table title
- var awidth="500px"; //Table Width
- //Your Affiliates Below
- var addAff = [
- ['http://ubdepot.proboards77.com/','http://i57.photobucket.com/albums/g208/ubdepot/udmini.gif'],
- ['http://bepcanadamaster.proboards105.com', 'http://i26.photobucket.com/albums/c140/BEP2003/New%20UBBC%202007a/bepcmini02fq5.gif'],
- ['http://sdsn.proboards55.com/index.cgi?', 'http://h1.ripway.com/chaoshawk/BrSw/Misc/minibanner.png'],
- ['http://www.tvforumonline.com/index.cgi?', 'http://img467.imageshack.us/img467/7997/tfominijw5.gif'],
- ['http://casualflock.proboards53.com', 'http://i31.photobucket.com/albums/c395/cameronhero/CFlogo.gif'],
- ['http://wrcreations.vforums.co.uk', 'http://i32.tinypic.com/5kmzns.jpg'],
- ['http://legstudios.vforums.co.uk/', 'http://i28.tinypic.com/2rfpllc.png'],
- ['http://capecoral.virtualforums.co.uk/', 'http://i265.photobucket.com/albums/ii203/poke_cool/minibanner.jpg']
- ];
- //Your Moderators Below
- var mods = [
- ['admin', 'B03060', 'Legend'],
- ['beccagranger', 'B03060', 'Becca'],
- ['chaos', '800080', 'Çђǻø§.128™'],
- ['rakesh198', 'B03060', 'Rakesh'],
- ['mgm', '800080', 'ManGoneMad']
- ];
- // Your MOTM Winner here
- var motm = [
- ['username', 'Display Name', 'Avatar URL']
- ];
- //\/\/\/\/\/\/\/\/\/\/\\/\/\/\\/\/\\/\/\/\/\/\/\\
- //Edit only red below\\
- //\/\/\/\/\/\/\/\/\/\/\\/\/\/\\/\/\\/\/\/\/\/\/\\
- document.write('<table width="'+awidth+'" cellpadding="4" cellspacing="1" align="center" class="bordercolor"><tr><td class="titlebg" width="100%" colspan="3" align="center"><font size=2><b>'+ttitle+'</b></font></td></tr><tr><td width="20%" class="windowbg2" valign="top" align="center"><b>Staff:</b><br/>');
- for(a=0; a<mods.length; a++) {
- document.write('<a href="/index.cgi?action=viewprofile&user='+mods[a][0]+'"><font color="'+mods[a][1]+'">'+mods[a][2]+'</font></a><br/>');
- }
- document.write('</td><td width="60%" class="windowbg" valign="top" align="center"><font size=2>MAIN INFO GOES HERE</font></td><td width="20%" class="windowbg2" valign="top" align="center"><b>MOTM:</b><br/>');
- for(c=0;c<motm.length; c++) {
- document.write('<a href="/index.cgi?action=viewprofile&user='+motm[c][0]+'"><img src="'+motm[c][2]+'" border="0" /></a><br/>'+motm[c][1]+'');
- }
- document.write('<br/></td></tr><tr><td class="titlebg" width="100%" colspan="3" align="center"><font size=2><b>Affiliates</b></font></td></tr><tr><td class="windowbg" width="100%" colspan="3" height="25px" align="center"><marquee behavior="slide" onMouseover=this.stop() onMouseout=this.start()>');
- for(b=0; b<addAff.length; b++) {
- document.write('<a href="'+addAff[b][0]+'"><img src="'+addAff[b][1]+'" border="0" /></a> ');
- }
- document.write('</marquee></td></tr></table>');
- //-->
- </script>
co.uk/
as you will see the color's for staff don't work , or clicking on the name, and i will also need the MOTM to work on vforum .
Try this:
Code:
- <script type="text/javascript">
- <!--
- //Focus's Welcome table v1
- //aka Derek
- var ttitle="My Table Name"; // Table title
- var awidth="500px"; //Table Width
- //Your Affiliates Below
- var addAff = [
- ['http://ubdepot.proboards77.com/','http://i57.photobucket.com/albums/g208/ubdepot/udmini.gif'],
- ['http://bepcanadamaster.proboards105.com', 'http://i26.photobucket.com/albums/c140/BEP2003/New%20UBBC%202007a/bepcmini02fq5.gif'],
- ['http://sdsn.proboards55.com/index.cgi?', 'http://h1.ripway.com/chaoshawk/BrSw/Misc/minibanner.png'],
- ['http://www.tvforumonline.com/index.cgi?', 'http://img467.imageshack.us/img467/7997/tfominijw5.gif'],
- ['http://casualflock.proboards53.com', 'http://i31.photobucket.com/albums/c395/cameronhero/CFlogo.gif'],
- ['http://wrcreations.vforums.co.uk', 'http://i32.tinypic.com/5kmzns.jpg'],
- ['http://legstudios.vforums.co.uk/', 'http://i28.tinypic.com/2rfpllc.png'],
- ['http://capecoral.virtualforums.co.uk/', 'http://i265.photobucket.com/albums/ii203/poke_cool/minibanner.jpg']
- ];
- //Your Moderators Below
- var mods = [
- ['admin', 'B03060', 'Legend'],
- ['beccagranger', 'B03060', 'Becca'],
- ['chaos', '800080', 'Çђǻø§.128™'],
- ['rakesh198', 'B03060', 'Rakesh'],
- ['mgm', '800080', 'ManGoneMad']
- ];
- // Your MOTM Winner here
- var motm = [
- ['username', 'Display Name', 'Avatar URL']
- ];
- //\/\/\/\/\/\/\/\/\/\/\\/\/\/\\/\/\\/\/\/\/\/\/\\
- //Edit only red below\\
- //\/\/\/\/\/\/\/\/\/\/\\/\/\/\\/\/\\/\/\/\/\/\/\\
- document.write('<table width="'+awidth+'" cellpadding="4" cellspacing="1" align="center" class="bordercolor"><tr><td class="titlebg" width="100%" colspan="3" align="center"><font size=2><b>'+ttitle+'</b></font></td></tr><tr><td width="20%" class="windowbg2" valign="top" align="center"><b>Staff:</b><br/>');
- for(a=0; a<mods.length; a++) {
- document.write('<a href="/action/view_profile/user/'+mods[a][0]+'"><font color="'+mods[a][1]+'">'+mods[a][2]+'</font></a><br/>');
- }
- document.write('</td><td width="60%" class="windowbg" valign="top" align="center"><font size=2>MAIN INFO GOES HERE</font></td><td width="20%" class="windowbg2" valign="top" align="center"><b>MOTM:</b><br/>');
- for(c=0;c<motm.length; c++) {
- document.write('<a href="/action/view_profile/user/'+motm[c][0]+'"><img src="'+motm[c][2]+'" border="0" /></a><br/>'+motm[c][1]+'');
- }
- document.write('<br/></td></tr><tr><td class="titlebg" width="100%" colspan="3" align="center"><font size=2><b>Affiliates</b></font></td></tr><tr><td class="windowbg" width="100%" colspan="3" height="25px" align="center"><marquee behavior="slide" onMouseover=this.stop() onMouseout=this.start()>');
- for(b=0; b<addAff.length; b++) {
- document.write('<a href="'+addAff[b][0]+'"><img src="'+addAff[b][1]+'" border="0" /></a> ');
- }
- document.write('</marquee></td></tr></table>');
- //-->
- </script>
Make sure you put a # before the colour!![]()
Thank you Wrighty it is working fine.