Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Resources
  • Zetaboards Modifications
  • myAffiliates v1.0 BETA
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:
Locked Topic
myAffiliates v1.0 BETA
Tweet Topic Started: Jul 31 2009, 09:58 PM (725 Views)
boyo1991 Jul 31 2009, 09:58 PM Post #1
Member Avatar
the man without a plan!

Posts:
21
Group:
Member
Member
#3,376
Joined:
Jul 31, 2009
this is far from completed.. i just wanted to show you guys the beginings...

preview:

http://s1.zetaboards.com/boyos_affiliate_code/index/

go to themes>board template>javascript:
Quote:
 


<script language="javascript">
function enlarge()
{
document.getElementById("img_1").width *= 1.5;
document.getElementById("img_1").height *= 1.5;
document.getElementById("img_2").width *= 1.5;
document.getElementById("img_2").height *= 1.5;
document.getElementById("img_3").width *= 1.5;
document.getElementById("img_3").height *= 1.5;
}

function reg()
{
document.getElementById("img_1").width /= 1.5;
document.getElementById("img_1").height /= 1.5;
document.getElementById("img_2").width /= 1.5;
document.getElementById("img_2").height /= 1.5;
document.getElementById("img_3").width /= 1.5;
document.getElementById("img_3").height /= 1.5;
}
</script>



then, go to>themes>board template>above the board (or below..)

and insert this:

Quote:
 


<table width="100%">
<tr>
<td><h2>affiliates</h2></td>
</tr>
<tr>
<td><center>
<a href="AFFILIATE 1 URL"><img id="img_1" src="IMG URL" onmouseover="enlarge()" onmouseout="reg()"></a>

<a href="AFFILIATE 2 URL"><img id="img_2" src="IMG URL" onmouseover="enlarge()" onmouseout="reg()"></a>

<a href="AFFILIATE 3 URL"><img id="img_3" src="IMG URL" onmouseover="enlarge()" onmouseout="reg()"></a></center></td>
</tr>
</table>




as i said.. its FAR from done.. i plan on having the same background thingy as the other headings for the forums (checked the doc and siad its.... h2 but when i do that this is what i get....) if someone wants to give a few ideas on how i can make this code better, let me know, i would like to hear it :)
Posted Image
Offline Profile Goto Top
 
Direct advertiser Jun 10 2010, 10:53 AM Post #2


Posts:
7
Group:
Member
Member
#2,542
Joined:
Mar 9, 2009
Very nice I really like the code,
Posted Image
Posted Image
Posted Image
"One man should never judged anyone, except unto himself. Nor should he feel bound to the judgments of other men onto him. Instead, he should vast in the glory of knowledge that is accomplished by understanding what is behind the judgments passed onto him. So do not criticize those who judge, for to do so is no better..." -Direct advertiser
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
ZetaBoards - Free Forum Hosting
Join the millions that use us for their forum communities. Create your own forum today.
Learn More · Register Now
« Previous Topic · Zetaboards Modifications · Next Topic »
Locked Topic

Track Topic · E-mail Topic Time: 7:49 PM Jul 10
Hosted for free by ZetaBoards · Privacy Policy