April 18, 2024, 02:29:44 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to Revolution X, where Coding meets Graphics.
 
  Home Help Search Arcade Affiliates Staff List Calendar Members Login Register  

Default Signature

Pages: [1]   Go Down
  Print  
Author Topic: Default Signature  (Read 322 times)
0 Members and 2 Guests are viewing this topic.
Agent Moose
Administrator
Adminitrator
Offline Offline

Gender: Male
Posts: 1,470



View Profile WWW
Badges: (View All)
Tenth year Anniversary Nineth year Anniversary Search
« on: July 03, 2009, 10:06:32 pm »

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 Smiley

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

Enjoy Smiley
Report Spam   Logged


Share on Facebook Share on Twitter

Mojobojo82
MVP
MVP
Offline Offline

Gender: Male
Posts: 838


View Profile
Badges: (View All)
« Reply #1 on: July 04, 2009, 02:42:40 am »

Ahh yay!
Glad Andrew requested it, and thx for the code Moose!
Report Spam   Logged






Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy