Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Resources
  • Other Forum Systems
  • [smf] Default Signature
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] Default Signature
Topic Started: Jul 3 2009, 10:08 PM (121 Views)
Agent Moose Jul 3 2009, 10:08 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 type="text/javascript">
var defaultSig = "SIGNATURE";

var ta = document.getElementsByTagName("td");
//Created by Agent Moose (revolutionx.smfforfree3.com)
for(x=0;x<ta.length;x++){
if(ta[x].width == "85%" && ta[x].className == "smalltext" && !ta[x].getElementsByTagName("div")[0]){
ta[x].innerHTML += "<hr class='hrcolor' width='100%' size='1'><div class='signature'>" + defaultSig + "</div>"
};
};
</script>

Original Request: http://revolutionx.smfforfree3.com/index.php/topic,804.0.html

This will add a signature to whom ever doesn't have a signature :)

SIGNATURE = The Signature you want it to be. You may use HTML.

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: 5:00 PM Sep 3
Hosted for free by ZetaBoards