iFusion Code Index
iFusion Has Moved!!! - Visit the new site at http://forum.ifcode.com
invisionFusion @ iFCode.com | ZetaBoards Beta Code Index
 




  Reply to this topic Start new topic

> SMF Page V1
Agent Moose
Posted: Sep 8 2007, 04:09 AM


[Insert Custom Member Title Here]
*

Group: PostWhores
Posts: 1,072
Member No.: 7,799
Joined: 26-November 06



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!
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


Topic Options Reply to this topic Start new topic


Skin created by .Apotropaic of Graphical Aesthetics.


Been Helped by iFusion / iFCode's Index? | | Donate to iFusion!
| iFusion Topsites



Hosted for free by InvisionFree (Terms of Use: Updated 7/7/05) | Powered by Invision Power Board v1.3 Final © 2003 IPS, Inc.
Archive