Author |
Topic  |
|
SeasonedMKTR
Junior Member
 
United States
107 Posts |
Posted - 21 May 2008 : 21:50:46
|
I have made all the changes on the post.asp file but when I go to reply to a topic or start one, the page is gone/MIA. No googie spell check. Here is the username = test and password = test ... to go check out what I mean if you can. Thanks. Just thought I could handle it myself. The forum is at http://www.forumdotcom.com/sub.html or in my sig link if you can assist. Thanks again, I suck at programming still I see.
This was the first change I made in bold here. =================================================================== %> <!--#INCLUDE FILE="googiespell/inc_googie.asp" --> <!--#INCLUDE FILE="config.asp"--> <% ===================================================================
This was the second change I made in bold here. ===================================================================
<td bgColor=""" & strPopUpTableColor & """><textarea id=""ta1"" class=""textarea"" cols=""" & intCols & """ name=""Message"
===================================================================
This was the third and final change I made in bold here. ===================================================================
" </form><script type=""text/javascript""> var googie1 = new GoogieSpell(""googiespell/"", ""./googiespell/googie.asp?lang=""); googie1.decorateTextarea(""ta1"");</script>" & vbNewLine & _ ===================================================================
Was this done right?
< |
CLICK>> CLICK>> CLICK>> |
Edited by - SeasonedMKTR on 21 May 2008 22:34:57 |
|
Andy Humm
Average Member
  
United Kingdom
908 Posts |
Posted - 22 May 2008 : 02:45:30
|
Have you put all the googiespell files in the same forum directory if so, you need to remove the sub directory setting change " </form><script type=""text/javascript""> var googie1 = new GoogieSpell(""googiespell/"", ""./googiespell/googie.asp?lang=""); googie1.decorateTextarea(""ta1"");</script>" & vbNewLine & _
to:
" </form><script type=""text/javascript""> var googie1 = new GoogieSpell("""", ""googie.asp?lang=""); googie1.decorateTextarea(""ta1"");</script>" & vbNewLine & _
from %> <!--#INCLUDE FILE="googiespell/inc_googie.asp" --> <!--#INCLUDE FILE="config.asp"--> <%
to: %> <!--#INCLUDE FILE="inc_googie.asp" --> <!--#INCLUDE FILE="config.asp"--> <%< |
 |
|
Andy Humm
Average Member
  
United Kingdom
908 Posts |
Posted - 22 May 2008 : 03:43:51
|
This is what code I have in post.asp lines may vary due to mod standard
lines 35-38 %> <!--#INCLUDE FILE="inc_googie.asp" --> <!--#INCLUDE file="config.asp"--> <%
line 833 " <td bgColor=""" & strPopUpTableColor & """><textarea id=""ta1"" class=""textarea"" cols=""" & intCols & """ name=""Message"" rows=""" & intRows & """ wrap=""VIRTUAL"" onselect=""storeCaret(this);"" onclick=""storeCaret(this);"" onkeyup=""storeCaret(this);"" onchange=""storeCaret(this);"">" & Trim(CleanCode(TxtMsg)) & "</textarea><br /></td>" & vbNewLine & _
line 1349 Response.Write " <input name=""Preview"" type=""button"" value="" Preview "" onclick=""OpenPreview()""> <span id=""spell_container""></span><SCRIPT type=""text/javascript""> var googie1 = new GoogieSpell("""",""./googie.asp?lang=""); googie1.setSpellContainer(""spell_container""); googie1.decorateTextarea(""ta1"");</SCRIPT>"
check inc_googie.asp to ensure all subdirectories are removed, this what I have:...
<script type="text/javascript" src="./AJS.js"></script> <script type="text/javascript" src="./googiespell.js"></script> <script type="text/javascript" src="./cookiesupport.js"></script> <link href="./googiespell.css" rel="stylesheet" type="text/css" />< |
Edited by - Andy Humm on 22 May 2008 03:46:20 |
 |
|
leatherlips
Senior Member
   
USA
1838 Posts |
|
SeasonedMKTR
Junior Member
 
United States
107 Posts |
Posted - 22 May 2008 : 13:20:18
|
TY you guys, almost there. This is what I get now...
error message
Microsoft VBScript compilation error '800a03ea'
Syntax error
/forum/post.asp, line 1350
" </form><script type=""text/javascript""> var googie1 = new GoogieSpell("""", ""googie.asp?lang=""); googie1.decorateTextarea(""ta1"");</script>" & ----------------------------------------------------------------------------------------------------------------------------------------------------^ < |
CLICK>> CLICK>> CLICK>> |
Edited by - SeasonedMKTR on 22 May 2008 13:20:40 |
 |
|
Andy Humm
Average Member
  
United Kingdom
908 Posts |
Posted - 22 May 2008 : 13:22:31
|
The error you are receiving Microsoft VBScript compilation error '800a03ea' Syntax error /forum/post.asp, line 1350 " </form><script type=""text/javascript""> var googie1 = new GoogieSpell("""", ""googie.asp?lang=""); googie1.decorateTextarea(""ta1"");</script>" &
Try this: (assuming your directory structure is as stated above)
Response.Write " <input name=""Preview"" type=""button"" value="" Preview "" onclick=""OpenPreview()""> <span id=""spell_container""></span><SCRIPT type=""text/javascript""> var googie1 = new GoogieSpell("""",""./googie.asp?lang=""); googie1.setSpellContainer(""spell_container""); googie1.decorateTextarea(""ta1"");</SCRIPT>"< |
 |
|
SeasonedMKTR
Junior Member
 
United States
107 Posts |
Posted - 22 May 2008 : 13:32:31
|
So if my code looks like this... ================================================================
Response.Write " <input name=""Preview"" type=""button"" value="" Preview "" onclick=""OpenPreview()"">" end if end if 'Response.Write " <input name=""Reset"" type=""reset"" value=""Reset Fields"" tabindex=""-1""></td>" & vbNewline & _ Response.Write "</td>" & vbNewline & _ " </tr>" & vbNewline & _ " </form><SCRIPT type=""text/javascript""> var googie1 = new GoogieSpell("""",""./googie.asp?lang=""); googie1.setSpellContainer(""spell_container""); googie1.decorateTextarea(""ta1"");</SCRIPT>" & vbNewLine & _ ================================================================
Can you highlight where it gets inserted? It looks a little different than yours due to extra codes... ty.< |
CLICK>> CLICK>> CLICK>> |
Edited by - SeasonedMKTR on 22 May 2008 14:45:18 |
 |
|
SeasonedMKTR
Junior Member
 
United States
107 Posts |
Posted - 23 May 2008 : 00:53:40
|
Great! Got everything resolved here now! Thanks you guys and Leatherips for the final instructions... :)< |
CLICK>> CLICK>> CLICK>> |
 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 23 May 2008 : 07:45:36
|
Looks like you're starting to get the hang of this. < |
 |
|
|
Topic  |
|