Show Posts
|
Pages: [1] 2 3
|
5
|
Forum Coding / SMF For Free Codes / Re: SMF Page V2
|
on: May 24, 2008, 03:10:31 pm
|
You can't have any line breaks <script> function SMFpageV2(Link,Title,Tab,Content){ //Created by Agent Moose (smcodes.smfforfree3.com) var loc = window.location.href.split("/index.php")[0]; if(location.href == loc + "/index.php?action=" + Link){ document.title = Title; $("#bodyarea").hide(); $("#bodyarea").before("<div id='SMFpageV2'><div class='tborder'><div class='catbg' style='padding: 6px; vertical-align: middle; text-align: center; '>" + Title + "</div><table border='0' width='100%' cellspacing='1' cellpadding='4' class='bordercolor'><tr><td class='windowbg2' width='100%'>" + Content + "</td></tr></table></div></div>"); }; $(".maintab_back:contains(Logout) , .maintab_back:contains(Register)").before("<td valign='top' class='maintab_back'><a href='" + loc + "/index.php?action=" + Link + "'>" + Tab + "</a></td>"); }; SMFpageV2("Chatbox","Chatbox","Graphic Geeks Offical Chatbox","<center><embed src='http://www.xatech.com/web_gear/chat/chat.swf' quality='high' width='640' height='480' name='chat' FlashVars='id=29847069' 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=29847069'>Go Large!</a></small><br></center><img style='visibility:hidden;width:0px;height:0px;' border='0' width='0' height'=0' src='http://counters.gigya.com/wildfire/CIMP/bT*xJmx*PTEyMTE2MTcwNjUwMDkmcHQ9MTIxMTYxNzA2NzgxMiZwPTUzMTUxJmQ9Jm49Jmc9MQ==.jpg'/>'); </script> What you mean by lines?
|
|
|
7
|
Forum Coding / SMF For Free Codes / Re: SMF Page V2
|
on: May 24, 2008, 03:28:10 am
|
Planned To Put One Of These Pages On My Forum. But The Code Dosent Seems To Work Tough... <script> function SMFpageV2(Link,Title,Tab,Content){ //Created by Agent Moose (smcodes.smfforfree3.com) var loc = window.location.href.split("/index.php")[0]; if(location.href == loc + "/index.php?action=" + Link){ document.title = Title; $("#bodyarea").hide(); $("#bodyarea").before("<div id='SMFpageV2'><div class='tborder'><div class='catbg' style='padding: 6px; vertical-align: middle; text-align: center; '>" + Title + "</div><table border='0' width='100%' cellspacing='1' cellpadding='4' class='bordercolor'><tr><td class='windowbg2' width='100%'>" + Content + "</td></tr></table></div></div>"); }; $(".maintab_back:contains(Logout) , .maintab_back:contains(Register)").before("<td valign='top' class='maintab_back'><a href='" + loc + "/index.php?action=" + Link + "'>" + Tab + "</a></td>"); }; SMFpageV2("Chatbox","Chatbox","Graphic Geeks Offical Chatbox",<center>"<embed src=`http://www.xatech.com/web_gear/chat/chat.swf` quality=`high` width=`640` height=`480` name=`chat` FlashVars=`id=29847069` 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=29847069`>Go Large!</a></small><br></center>
<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/CIMP/bT*xJmx*PTEyMTE2MTcwNjUwMDkmcHQ9MTIxMTYxNzA2NzgxMiZwPTUzMTUxJmQ9Jm49Jmc9MQ==.jpg" />`); </script>
|
|
|
|
|