Simple Machine Codes
March 28, 2024, 08:49:45 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 Gallery Affiliates Code Index Staff List Calendar Members Login Register  

Quick Message V2

Pages: [1]   Go Down
  Print  
Author Topic: Quick Message V2  (Read 1170 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« on: September 15, 2007, 05:29:28 pm »

Footers:
Code:
<script>
if($('td.titlebg2 span b').not("td.titlebg2 span b:contains(News)").html()){
//Created by Agent Moose (smcodes.smfforfree3.com)
$($(".maintab_back").contains("Logout")).after('<td class="maintab_last"> </td><td class="maintab_first"></td><td valign="top" class="maintab_back"><a href="javascript:open_box()">Create Message</a></td>')
$(".maintab_back:contains(Create Message)").after('<div id="pm_box"><table class="bordercolor" width="200" height="200"><tbody><tr class="titlebg"> Quick Message</td></tr><tr><td class="windowbg"><form id="postmodify" onsubmit="submitonce(this);saveEntities();" name="postmodify" accept-charset="ISO-8859-1" method="post" action="'+location.pathname+'?action=pm;sa=send2"><table width="100%" cellpadding="3" border="0"><tr><td class="smalltext"><input id="to" type="text" size="40" tabindex="1" value="(Username)" name="to" autocomplete="off"/></td></tr><tr><td class="smalltext"><input type="text" maxlength="50" size="40" tabindex="3" value="(No subject)" name="subject"/></td></tr><tr><td><tex'+'tarea class="editor" tabindex="4" onchange="storeCaret(this);" onkeyup="storeCaret(this);" onclick="storeCaret(this);" onselect="storeCaret(this);" cols="10" rows="6" name="message"></text'+'area></td></tr><tr><td><input type="submit" accesskey="s" onclick="return submitThisOnce(this);" tabindex="5" value="Send"/><input type="button" onclick="javascript:open_box()" value="Close"/></td></tr></table><input type="hidden" value="991ea72a2059d82adc59a9fa321edc2a" name="sc"/><input type="hidden" value="0" name="replied_to"/><input type="hidden" value="inbox" name="f"/><input type="hidden" value="-1" name="l"/></form></td></tr></tbody></table></div>')
$("#pm_box").each(function(){$(this).hide();this.style.position = 'fixed';});
};
function open_box(){$("#pm_box").toggle();};
</script>

This is a very long code, but I know you all will like it.  I got the idea from another forum that basicly had the same code, but for InvisionFree.  Sorry, this is only for Firefox users.

V2 is no where near like Quick Message V1!  Why don't you see for yourself!  Just add the code to your board and once done that, there will be a tab that says Create Message!

If you don't feel like adding it to your board, just register a new account at this forum and try it out for yourself!
http://shoutbox.smfforfree3.com/index.php
« Last Edit: September 15, 2007, 05:56:32 pm by Agent Moose » Report Spam   Logged

Share on Facebook Share on Twitter



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