Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Resources
  • Other Forum Systems
  • [smf] Affiliate Box
Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ;)

Interested in joining? Click here.


If you are already a member of ZBCode, feel free to login right here:

Username:   Password:
Add Reply
[smf] Affiliate Box
Topic Started: Jul 9 2008, 10:27 PM (180 Views)
Agent Moose Jul 9 2008, 10:27 PM Post #1
Member Avatar
SMF for Free Moderator

Posts:
837
Group:
Former Staff
Member
#14
Joined:
Jul 9, 2008
Coding language
JavaScript
Footers:
Code:
 
<script>
function affiliates(){
//Create by Agent Moose (smcodes.smfforfree3.com)
title = "TITLE"
yourboard = "YOUR BOARD URL"
yourimage = "YOUR AFFILIATE"
affiliates = "<a href='URL'><img src='IMAGE'/></a> "
affiliates += "<a href='URL'><img src='IMAGE'/></a> "

$("table:contains(Most On"+"line Today:)").after("<table border='0' width='100%' cellspacing='1' cellpadding='4' class='bordercolor'><tr><td class='titlebg' colspan='2'>"+title+"</td></tr><tr><td class='windowbg' width='70%'><marquee scrollamount='3' onMouseover='this.scrollAmount=0' onMouseout='this.scrollAmount=3'>"+affiliates+"</a></marquee></td><td class='windowbg2' width='30%'><img src='"+yourimage+"'/><br><text"+"area><a href='"+yourboard+"'><img src='"+yourimage+"'/></a></texta"+"rea></td></tr></table>");
};
affiliates();
</script>


Original Request: http://smcodes.smfforfree3.com/index.php/topic,366.0.html

TITLE = The Title of the Box
YOUR BOARD URL = Your Board URL
YOUR IMAGE = "Your Affiliate Image"

Just change the URL to the URL that you want it to be, and same with the IMAGE part.

If you want more, just add more of these lines:
Code:
 
affiliates += "<a href='URL'><img src='IMAGE'/></a> "


Enjoy :)
You could call me Troy :P | The World of Moosey | Newest Blog: SMF for Free Spam Code

Current Project: Zetaboard Javascript Tester (click on the link in the Submenu)

ZetaBoard Javascript Tester Features:
- Code Test box
- Counts how many open brackets/parentheses and closed brackets/parentheses you have in your code to make sure that your code will work.
- New: Inspect Element
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Other Forum Systems · Next Topic »
Add Reply

Track Topic · E-mail Topic Time: 3:23 PM Sep 3
Hosted for free by ZetaBoards