Simple Machine Codes
March 19, 2010, 07:25:02 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to SMC, the best place for your SMF For Free Codes
 
  Home Help Search Arcade Affiliates Code Index Staff List Calendar Members Login Register  

Add Custom Message V1


Pages: 1 [2]   Go Down
  Print  
Author Topic: Add Custom Message V1  (Read 4658 times)
0 Members and 1 Guest are viewing this topic.
GodGurl25
xXGodGurl25Xx
Members

Offline Offline

Gender: Female
Posts: 32



View Profile WWW
« Reply #15 on: May 04, 2008, 01:35:38 am »

The 1st code. The one in the 1st post. T_T
Code:
<script>
function custom_message(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var message = new Array();
message[message.length] = ["USERNAME","CUSTOM MESSAGE"]

if(location.href.match(/topic/i)){
for(f=0;f<message.length;f++){
$("a").each(function(){
if(this.innerHTML == message[f][0] && $(this).parent("b").parent("td").html()){
$(this).after("<div class='windowbg2'><span class='smalltext'><b>Custom Message:</b><br>" + message[f][1] + "</span></div>");
};});};};};
custom_message();
</script>

That one... hm
« Last Edit: May 04, 2008, 03:59:02 am by GodGurl25 » Report Spam   Logged

Hope I'm welcum here guys.
from:
xXGodGurl25Xx
Pages: 1 [2]   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 © 2006-2009, Simple Machines LLC
Hostgator Hosting