SMF For Free Support Forum
Signup For Free Forum
March 21, 2010, 10:19:40 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: [Code] Default Signature  (Read 396 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Moderator
*****
Offline Offline

Posts: 806


Do not PM me for Code Support or Request


View Profile
« on: July 03, 2009, 10:07:36 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
Logged

Check out Revolution X's Brand new Code Index!
Jish
SMF For Free Member
*
Offline Offline

Posts: 71


View Profile
« Reply #1 on: July 03, 2009, 10:09:31 pm »

Wow! Nice moosie:) Tongue
I'm using this on my next smfforfree site
Logged



www.rakdra.com Join today! New growing rsps
Andrew
SMF For Free Sponsors
*
Offline Offline

Posts: 1574


Andrew At Your Service!


View Profile WWW
« Reply #2 on: July 03, 2009, 10:10:17 pm »

Whoa! Just as I was about to head out for bed...Ah ill do this tomorrow Tongue

Great job Agent! Smiley
Logged

Support Page


Click the banner to join me on Club Cooee!
Jish
SMF For Free Member
*
Offline Offline

Posts: 71


View Profile
« Reply #3 on: July 03, 2009, 10:55:05 pm »

I tried this, but it didnt work moosie..
Forums URL = www.rakdra.smfforfree.com
It doesnt show.
I got this in headers:
Code:
<script src="/jquery.js"></script>
and footers

Code:
<script type="text/javascript">
var defaultSig = "Rakdra Player.";

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>


EDIT: I got it to work:) thank you
« Last Edit: July 04, 2009, 03:25:05 am by Jish » Logged



www.rakdra.com Join today! New growing rsps
Games
SMF For Free Member
*
Offline Offline

Posts: 43


View Profile WWW
« Reply #4 on: July 04, 2009, 04:52:35 pm »

Very cool. Kind of like a sig version of the default avatar Tongue
Logged


www.everygame.smfforfree.com
If you even remotely like games, join today!


Pages: [1]
  Print  
 
Jump to:  



Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
ServerBeach Coupon
Page created in 0.305 seconds with 15 queries. (Pretty URLs adds 0.105s, 2q)