|
Jordan7
|
 |
« Reply #30 on: December 23, 2007, 09:10:22 pm » |
|
Here, this is what I have... <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+"</td></tr></table></div></div>") };}; smf_page_v1("chatbox","Chatbox","<script type="text/javascript" src="http://www.geesee.com/sys/geeseejs.ashx?chatid=14735"></script>") It directs me back to home page..
|
|
|
|
|
Logged
|
 ^Click^
|
|
|
|
Agent Moose
|
 |
« Reply #31 on: December 24, 2007, 08:04:20 pm » |
|
Try this: <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+"</td></tr></table></div></div>") };}; smf_page_v1("chatbox","Chatbox","<script src='http://www.geesee.com/sys/geeseejs.ashx?chatid=14735'><\/script>") </script>
|
|
|
|
|
Logged
|
Eternal Flame Coming SoonSMC Code Index - The best Code Index for all your Needs! Includes a bunch of codes not on Support.
|
|
|
nativejim
SMF For Free Newbie
Offline
Posts: 10
|
 |
« Reply #32 on: December 24, 2007, 10:22:37 pm » |
|
Thats what I use.. whats it supposed to look like? can you post a picture? <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+"</td></tr></table></div></div>") };}; smf_page_v1("http://smfpage.smfforfree3.com/index.php?action=smfpage","Rune Revealers","Welcome to Rune Revealers") </script>
|
|
|
|
|
Logged
|
|
|
|
|
Agent Moose
|
 |
« Reply #33 on: December 25, 2007, 07:49:32 am » |
|
In your code, try changing this: smf_page_v1("http://smfpage.smfforfree3.com/index.php?action=smfpage","Rune Revealers","Welcome to Rune Revealers") To this: smf_page_v1("smfpage","Rune Revealers","Welcome to Rune Revealers") Then, you would get to it something like this: http://FORUM_NAME.smfforfreeX.com/index.php?action=smfpageYou will need to change FORUM_NAME to your forum name, and the X to your server number. If you have a server 1, you will not have a number.
|
|
|
|
|
Logged
|
Eternal Flame Coming SoonSMC Code Index - The best Code Index for all your Needs! Includes a bunch of codes not on Support.
|
|
|
Pancakes
SMF For Free Sr. Member
Offline
Posts: 457
sǝʞɐɔuɐd ǝɯ lol
|
 |
« Reply #34 on: March 06, 2008, 12:13:02 pm » |
|
Hmm it worked but then it didnt work heres my 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+"</td></tr></table></div></div>") };}; smf_page_v1("sponser","Sponser the Tortoise Forum!","Hello and welcome to the sponser page this page will walk you through ways on how you can help us so lets get started
<H3>1.Affilate</H3> You <U>CAN</U> affilate with us all you have to do is fill out this form") </script>
And the link to the page: http://tortoiseforum.smfforfree4.com/index.php?action=sponser
|
|
|
|
|
Logged
|
|
|
|
|
Agent Moose
|
 |
« Reply #35 on: March 06, 2008, 07:03:11 pm » |
|
You can't have any enters in there: <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+"</td></tr></table></div></div>") };}; smf_page_v1("sponser","Sponser the Tortoise Forum!","Hello and welcome to the sponser page this page will walk you through ways on how you can help us so lets get started<br><br><H3>1.Affilate</H3><br>You <U>CAN</U> affilate with us all you have to do is fill out this form"); </script>
|
|
|
|
|
Logged
|
Eternal Flame Coming SoonSMC Code Index - The best Code Index for all your Needs! Includes a bunch of codes not on Support.
|
|
|
Pancakes
SMF For Free Sr. Member
Offline
Posts: 457
sǝʞɐɔuɐd ǝɯ lol
|
 |
« Reply #36 on: March 07, 2008, 11:24:04 am » |
|
WOW Thanks it worked! 
|
|
|
|
|
Logged
|
|
|
|
Pancakes
SMF For Free Sr. Member
Offline
Posts: 457
sǝʞɐɔuɐd ǝɯ lol
|
 |
« Reply #37 on: March 12, 2008, 02:52:59 pm » |
|
May you fix my code and tell me whats wrong i have alot of pages to make  so i need to know exacly whats wrong if i do the mistake heres my code <script> function addlinks(){ //Created by Agent Moose (smcodes.smfforfree3.com) $(function() { var links = new Array() links[links.length] = ["SimplЭ RPG","http://smfrevisted.smfforfree4.com/index.php?action=rpgmain"]
for(m=0;m<links.length;m++){ $(".maintab_last").before("<td valign='top' class='maintab_back'><a href='"+links[m][1]+"'>"+links[m][0]+"</a></td>"); };});} addlinks(); </script>
<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+"</td></tr></table></div></div>") };}; smf_page_v1("rpgmain","The SimplЭ RPG Home","<form action="<a href="http://smfrevisted.smfforfree4/"target="_blank">"><input type="button" value="Play"> </form>") </script> [The top bit is the tab in which will take me to my SMF page
|
|
|
|
|
Logged
|
|
|
|
|
Agent Moose
|
 |
« Reply #38 on: March 12, 2008, 04:22:59 pm » |
|
You can't use " inside of Content part. You need to change it to '
|
|
|
|
|
Logged
|
Eternal Flame Coming SoonSMC Code Index - The best Code Index for all your Needs! Includes a bunch of codes not on Support.
|
|
|
petrol head
SMF For Free Sponsors
Offline
Posts: 115
|
 |
« Reply #39 on: March 12, 2008, 04:54:46 pm » |
|
Can you tell me where I'm going wrong with this code... In footers have .. <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+"</td></tr></table></div></div>") };}; smf_page_v1(" http://irishbikers.smfforfree.com/index.php?action=smfpage","Test","for testing") </script> and headers I have <script src=" http://209.85.48.12/9581/134/upload/p4217340.ibf">//Jquery code</script>
|
|
|
|
|
Logged
|
|
|
|
lich_king2
SMF For Free Member
Offline
Posts: 28
|
 |
« Reply #40 on: March 22, 2008, 07:56:20 am » |
|
I ned help here is my 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+"</td></tr></table></div></div>") };}; smf_page_v1("http://wrathofsargeras.smfforfree4.com/index.php?action=smfpage","W3 ladder","Warcraft 3 ladder") </script>[code] [/code]
|
|
|
|
|
Logged
|
|
|
|
|
Agent Moose
|
 |
« Reply #41 on: March 22, 2008, 09:00:17 am » |
|
You need to make the link part only part of the accuall link. So instead of the whole URL, it would be just "smfpage".
|
|
|
|
|
Logged
|
Eternal Flame Coming SoonSMC Code Index - The best Code Index for all your Needs! Includes a bunch of codes not on Support.
|
|
|
•Patrick•
SMF For Free Member
Online
Posts: 68
|
 |
« Reply #42 on: March 28, 2008, 07:58:39 pm » |
|
Whats wrong with my code? Headers: <script src="http://209.85.48.12/9581/134/upload/p4217340.ibf">//Jquery code</script> Footers: <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+"</td></tr></table></div></div>") };}; smf_page_v1("chat","CHAT","<embed src='http://www.xatech.com/web_gear/chat/chat.swf' quality='high' width='540' height='405' name='chat' FlashVars='id=25845967' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://xat.com/update_flash.shtml' /><br><small><a target='_BLANK' href='http://xat.com/web_gear/?cb'></a> <a target='_BLANK' href='http://xat.com/web_gear/chat/go_large.php?id=25845967'></a></small><br>
<img style='visibility:hidden;width:0px;height:0px;' border=0 width=0 height=0 src='http://counters.gigya.com/wildfire/CIMP/Jmx*PTEyMDYxMDAyOTM4MjgmcHQ9MTIwNjEwMDMwOTg3NSZwPTUzMTUxJmQ9Jm49.jpg' />") </script>
|
|
|
|
|
Logged
|
|
|
|
|
sweet_candygirl23
|
 |
« Reply #43 on: April 13, 2008, 10:21:17 pm » |
|
Question: Did I did anything wrong in this 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+"</td></tr></table></div></div>") };}; smf_page_v1("www.highschoollife.smfforfree2.com/index.php?action=chat","Chat","Chat
<embed src="http://www.xatech.com/web_gear/chat/chat.swf" quality="high" width="540" height="405" name="chat" FlashVars="id=27377859" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://xat.com/update_flash.shtml" /><br><small><a target="_BLANK" href="http://xat.com/web_gear/?cb">Get your own Chat Box!</a> <a target="_BLANK" href="http://xat.com/web_gear/chat/go_large.php?id=27377859">Go Large!</a></small><br>
<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/CIMP/Jmx*PTEyMDgxNDI3NjM5MjEmcHQ9MTIwODE*MzA5NjQ4NCZwPTUzMTUxJmQ9Jm49.jpg" />") </script> Pls. reply.
|
|
|
|
|
Logged
|
Click the graphic above and join my forum! BUDSTERS ONLINE COMMUNITY FORUM 
|
|
|
Soul Fly
SMF For Free Hero
Offline
Posts: 708
|
 |
« Reply #44 on: April 14, 2008, 10:55:53 am » |
|
<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+"</td></tr></table></div></div>") };}; smf_page_v1("www.highschoollife.smfforfree2.com/index.php?action=chat","Chat","<embed src="http://www.xatech.com/web_gear/chat/chat.swf" quality="high" width="540" height="405" name="chat" FlashVars="id=27377859" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://xat.com/update_flash.shtml" /><br><small><a target="_BLANK" href="http://xat.com/web_gear/?cb">Get your own Chat Box!</a> <a target="_BLANK" href="http://xat.com/web_gear/chat/go_large.php?id=27377859">Go Large!</a></small><br> <img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/CIMP/Jmx*PTEyMDgxNDI3NjM5MjEmcHQ9MTIwODE*MzA5NjQ4NCZwPTUzMTUxJmQ9Jm49.jpg") </script> It maybe works now. Not sure -.-'' Answer plz
|
|
|
|
|
Logged
|
|
|
|
|
|
|