View Full Version: SMF Page V1

iFusion v5.1 > SMFForFree Codes > SMF Page V1


Title: SMF Page V1


Agent Moose - September 8, 2007 04:09 AM (GMT)
Add this to your headers if you don't have it:
CODE
<script src="http://209.85.48.12/9581/134/upload/p4217340.ibf">//Jquery code</script>


Footers
CODE
<script>
function smf_page_v1(link,title,content){
//Created by Agent Moose (smcodes.smfforfree3.com)
if(location.href.match("action="+link)){
document.title=""+title+"";
$("#bodyarea").hide()
$("#bodyarea").before("<div class='tborder'><div class='catbg' style='padding: 6px; vertical-align: middle; text-align: center; '>"+title+"</div><div id='upshrinkHeaderIC'><table border='0' width='100%' cellspacing='1' cellpadding='4' class='bordercolor'><tr><td class='windowbg2' width='100%'>"+content)
$("#bodyarea").after("</td></tr></table></div></div>")
};};
smf_page_v1("LINK","TITLE","CONTENT")
</script>

This code lets you add more pages to your board. Just follow the easy...sorta easy instructions :)

LINK = How you get to the page. (http://fakesite.com/index.php?ACTION=LINK)
TITLE = What the title of the page will be.
CONTENT = What text will be on the page.

If you want to add more pages, just add more of these lines:
CODE
smf_page_v1("LINK","TITLE","CONTENT")


There ya go! If you have any questions, just ask me for help!




Hosted for free by InvisionFree