|
|
|
|
|
josh555
|
 |
« Reply #1 on: May 19, 2008, 05:30:56 pm » |
|
post your code please
|
|
|
|
|
Logged
|
Life goes by so fast, you only do what you think is right.
|
|
|
mrthunder23
SMF For Free Member
Offline
Posts: 42
|
 |
« Reply #2 on: May 19, 2008, 10:50:13 pm » |
|
<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("GTSE","TAB SEARCH ENGINE","EVOLVING GUITAR TAB SEARCH ENGINE","<form method="get" action="http://www.google.com/search"> <div style="border:1px solid black;padding:4px;width:20em;"> <table border="0" cellpadding="0"> <tr><td> <input type="text" name="q" size="25" maxlength="255" value="" /> <input type="submit" value="Search" /></td></tr> <tr><td align="center" style="font-size:75%"> <input type="checkbox" name="sitesearch" value="http://eguitar.smfforfree2.com/index.php/board,5.0.html" checked /> Use Evolving Guitar's Tab Search Engine<br /> </td></tr></table> </div> </form>"); </script>
|
|
|
|
|
Logged
|
|
|
|
|
josh555
|
 |
« Reply #3 on: May 20, 2008, 01:37:28 am » |
|
ahh, i have the same problem when putting html in to that. Ask agent moose i know he will know.
|
|
|
|
|
Logged
|
Life goes by so fast, you only do what you think is right.
|
|
|
legend 1234
SMF For Free Full Member
Offline
Posts: 224
Legend 1234
|
 |
« Reply #4 on: May 20, 2008, 04:00:14 am » |
|
when using this code because your using html you must take out all " and add them with ' but only for the code and - SMFpageV2("<--not these one-->"," it should now work  legend 1234
|
|
|
|
|
Logged
|
|
|
|
|
josh555
|
 |
« Reply #5 on: May 20, 2008, 04:23:38 am » |
|
ahh thanks legend! My chat page finally works. I guess i should read entire posts from now on instead of just the codes 
|
|
|
|
|
Logged
|
Life goes by so fast, you only do what you think is right.
|
|
|
|
Agent Moose
|
 |
« Reply #6 on: May 20, 2008, 02:45:55 pm » |
|
Try this: <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("GTSE","TAB SEARCH ENGINE","EVOLVING GUITAR TAB SEARCH ENGINE",'<form method="get" action="http://www.google.com/search"> <div style="border:1px solid black;padding:4px;width:20em;"> <table border="0" cellpadding="0"> <tr><td> <input type="text" name="q" size="25" maxlength="255" value="" /> <input type="submit" value="Search" /></td></tr> <tr><td align="center" style="font-size:75%"> <input type="checkbox" name="sitesearch" value="http://eguitar.smfforfree2.com/index.php/board,5.0.html" checked /> Use Evolving Guitar's Tab Search Engine<br /> </td></tr></table> </div> </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.
|
|
|
mrthunder23
SMF For Free Member
Offline
Posts: 42
|
 |
« Reply #7 on: May 20, 2008, 04:05:11 pm » |
|
Nothing >_<
|
|
|
|
|
Logged
|
|
|
|
|
LaundryLady
|
 |
« Reply #8 on: May 20, 2008, 04:37:27 pm » |
|
Replace this <script src="jquery.js"></script> with this: <script src="/jquery.js"></script> In your header, and see if that helps.
|
|
|
|
|
Logged
|
|
|
|
mrthunder23
SMF For Free Member
Offline
Posts: 42
|
 |
« Reply #9 on: May 20, 2008, 05:00:53 pm » |
|
K. Nope, no change.
|
|
|
|
|
Logged
|
|
|
|
|
LaundryLady
|
 |
« Reply #10 on: May 20, 2008, 05:52:06 pm » |
|
Put the code in your footers not your headers. That's how Agent Moose wrote the directions.
|
|
|
|
|
Logged
|
|
|
|
mrthunder23
SMF For Free Member
Offline
Posts: 42
|
 |
« Reply #11 on: May 20, 2008, 05:56:59 pm » |
|
For real..I thought it said either location. I am sorry, I have a really bad concusion and neck injury, I am not into it today.
Still nothing.
|
|
|
|
« Last Edit: May 20, 2008, 06:00:19 pm by mrthunder23 »
|
Logged
|
|
|
|
|
josh555
|
 |
« Reply #12 on: May 20, 2008, 06:40:30 pm » |
|
<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("GTSE","TAB SEARCH ENGINE","EVOLVING GUITAR TAB SEARCH ENGINE","<form method="get" action='http://www.google.com/search'> <div style='border:1px solid black;padding:4px;width:20em;'> <table border='0' cellpadding='0'> <tr><td><input type='text' name='q' size='25' maxlength='255' value='' /> <input type='submit' value='Search' /></td></tr> <tr><td align='center' style='font-size:75%'> <input type='checkbox' name='sitesearch'value='http://eguitar.smfforfree2.com/index.php/board,5.0.html' checked /> Use Evolving Guitar's Tab Search Engine<br /> </td></tr></table> </div> </form>"); </script> try that in your footers.. instead of agent mooses
|
|
|
|
« Last Edit: May 20, 2008, 06:42:39 pm by josh555 »
|
Logged
|
Life goes by so fast, you only do what you think is right.
|
|
|
mrthunder23
SMF For Free Member
Offline
Posts: 42
|
 |
« Reply #13 on: May 20, 2008, 06:49:41 pm » |
|
MY SITE WILL NOT LET ME ACESS IT ANYMORE! IT SAYS PHP has encountered an Access Violation at 7C82CAA2 Edit: And nothing happened now that it works again.
|
|
|
|
« Last Edit: May 20, 2008, 06:58:32 pm by mrthunder23 »
|
Logged
|
|
|
|
|
josh555
|
 |
« Reply #14 on: May 20, 2008, 07:12:29 pm » |
|
<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("GTSE","TAB SEARCH ENGINE","EVOLVING GUITAR TAB SEARCH ENGINE","<form method='get' action='http://www.google.com/search'> <div style='border:1px solid black;padding:4px;width:20em;'> <table border='0' cellpadding='0'> <tr><td> <input type='text' name='q' size='25' maxlength='255' value='' /> <input type='submit' value='Search' /></td></tr> <tr><td align='center' style='font-size:75%'> <input type='checkbox' name='sitesearch' value='http://eguitar.smfforfree2.com/index.php/board,5.0.html' checked /> Use Evolving Guitar's Tab Search Engine<br /> </td></tr></table> </div> </form>"); </script> if that one doesn't work then idk. But try that one
|
|
|
|
|
Logged
|
Life goes by so fast, you only do what you think is right.
|
|
|
|
|
|