Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Resources
  • Code Requests
  • [ZB] 2 codes
Hey, welcome to ZBCode, the new coding forum for ZB. 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've already experienced the wonders of becoming a part of this illustrious community, just enter your details and log in here:

Username:   Password:
Add Reply
  • Pages:
  • 1
  • 2
[ZB] 2 codes
Topic Started: Feb 4 2010, 07:39 PM (116 Views)
screamscream Feb 4 2010, 07:39 PM Post #1


Posts:
15
Group:
Members
Member
#3,674
Joined:
Feb 4, 2010
Coding language
HTML/CSS
I was wondering if you could make me the code that you used for the [zb] thing at the top.. Also my main request is a 'leaderboard code' something where someone who knows the basics of CSS and HTML can edit it.. Like I can make it so it shows which members have won which contests and things.. I don't know XD Do you think something like this is possible?
Offline Profile Quote Post Goto Top
 
Inadequacy Feb 4 2010, 08:52 PM Post #2
Member Avatar
The Inadequacy

Posts:
644
Group:
Dedicated Member
Member
#2,773
Joined:
Apr 9, 2009
Coding language
JavaScript
The 1st code is for Dedicated Members.

If you can elaborate I might be able to do the 2nd
Click Me!!!

Yes they do Gor, yes they do
Offline Profile Quote Post Goto Top
 
Dorith Feb 4 2010, 08:54 PM Post #3
Member Avatar
Why so serious?

Posts:
1,308
Group:
Global Moderators
Member
#1,854
Joined:
Dec 23, 2008
Coding language
JavaScript
The first code is for Dedicated Members only as Inadequacy stated.

The second should be pure HTML and CSS. If you say that you are able to edit it and such, then do you need just the root of the code itself to work? Would tables suffice?
Posted Image
Offline Profile Quote Post Goto Top
 
screamscream Feb 4 2010, 10:09 PM Post #4


Posts:
15
Group:
Members
Member
#3,674
Joined:
Feb 4, 2010
Coding language
HTML/CSS
Dorith
Feb 4 2010, 08:54 PM
The first code is for Dedicated Members only as Inadequacy stated.

The second should be pure HTML and CSS. If you say that you are able to edit it and such, then do you need just the root of the code itself to work? Would tables suffice?
Indeed, as long as it's good looking..
Offline Profile Quote Post Goto Top
 
HolySavior Feb 5 2010, 07:10 PM Post #5
Member Avatar
Modifying The World Around You

Posts:
2,449
Group:
Former Staff
Member
#7
Joined:
Jul 2, 2008
Coding language
Everything
http://resources.zetaboards.com/topic/5066918/

look there :P
Want to see my Exclusive codes? come to ZNR you can find all of them there!
Offline Profile Quote Post Goto Top
 
screamscream Feb 6 2010, 10:07 PM Post #6


Posts:
15
Group:
Members
Member
#3,674
Joined:
Feb 4, 2010
Coding language
HTML/CSS
Any help with the second one?
Offline Profile Quote Post Goto Top
 
Inadequacy Feb 7 2010, 10:13 AM Post #7
Member Avatar
The Inadequacy

Posts:
644
Group:
Dedicated Member
Member
#2,773
Joined:
Apr 9, 2009
Coding language
JavaScript
First step: Create a new webpage (the ID and Title don't matter)
Second Step: Add the code to the body of the page
Third Step: Edit any information you want


Code
 
<html>
<head>
<script src="http://209.85.62.24/28018/73/0/p285885/hidebuttons.txt.js" type="text/javascript"></script>
<script src="http://209.85.62.24/28018/73/0/p285904/hidebutton2.txt.js" type="text/javascript"></script>
</head>
<body>
<a href="#" id="hide_l">Hide Leader Boards!</a>
<a href="#" id="show_l">Show Leader Boards</a>
<div id="leader">
<center><h1>[Forum Name] Leader boards!</h2></center>
<table>
<tr>
<th>Username</th>
<th>Total Contests Won (Points)</th>
<th>Latest Contest Won</th>

</tr>
<tr>
<td>'Nother Tester</td>
<td>31</td>
<td>The Avatar Competition</td>
</tr>
<tr>
<td>Swordslam46</td>
<td>1</td>
<td>HTML Tables Creation contest</td>
</tr>
<tr>
<td>Test Account</td>
<td>3</td>
<td>Design and Ideas Competition</td>
</table>
</div>
<a href="#" id="hide_a">Hide Contests</a>
<a href="#" id="show_a">Show Contests</a>
<div id="all">
<center><h1>All Contests Won</h1></center>
<table>
<tr>
<th>Contest Winner</th>
<th>Contest Name</th>
</tr>
<tr>
<td>'Nother Tester</td>
<td>The Avatar Competition</td>
</tr>
<tr>
<td>'Nother Tester</td>
<td>Noob Competition</td>
</tr>
</table>
</div>
</body>
</html>


Purple: Your forum name
Orange: What the tops will say
Red: The Username
Green: Number of Contests Won
Blue: The most recent competition won

The second table is a bit easier to manage:

Basically, you add the contest that was one and the user who won it. If you need help setting anything up ask me.

Also, DO NOT EDIT THE ID'S!!! This will screw up the Javascript that allows you to hide and show the tables.
Edited by Inadequacy, Feb 7 2010, 12:30 PM.
Click Me!!!

Yes they do Gor, yes they do
Offline Profile Quote Post Goto Top
 
Dorith Feb 7 2010, 03:11 PM Post #8
Member Avatar
Why so serious?

Posts:
1,308
Group:
Global Moderators
Member
#1,854
Joined:
Dec 23, 2008
Coding language
JavaScript
Shouldn't the script be after all of that Inadequacy?
Posted Image
Offline Profile Quote Post Goto Top
 
Inadequacy Feb 7 2010, 03:30 PM Post #9
Member Avatar
The Inadequacy

Posts:
644
Group:
Dedicated Member
Member
#2,773
Joined:
Apr 9, 2009
Coding language
JavaScript
According to what HS told me, yes. But you also said if it had $(document).ready I could put it anywhere, which I did, and it works 100% fine :D
Edited by Inadequacy, Feb 7 2010, 03:30 PM.
Click Me!!!

Yes they do Gor, yes they do
Offline Profile Quote Post Goto Top
 
Dorith Feb 7 2010, 03:43 PM Post #10
Member Avatar
Why so serious?

Posts:
1,308
Group:
Global Moderators
Member
#1,854
Joined:
Dec 23, 2008
Coding language
JavaScript
:glare: Yes, but that isn't in that code either :P
Posted Image
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Code Requests · Next Topic »
Add Reply
  • Pages:
  • 1
  • 2

Track Topic · E-mail Topic Time: 10:10 PM Mar 11
Hosted for free by ZetaBoards