Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Googiespell MOD
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 8

garyrobar
New Member

Canada
90 Posts

Posted - 12 June 2007 :  12:14:52  Show Profile  Visit garyrobar's Homepage  Reply with Quote
Hello everyone, i've been implementing this in to my forum, and have only hit one snag.

When I spellcheck a string that is longer than one line in my textarea, the textarea stops wrapping. so if the string is two paragraphs, i get two LONG lines with horizontal scroll. I noticed that in some of your implementations, this does not happen...

Any suggestions?

Here is my textarea code:

<textarea id=""ta1"" class=""textarea"" cols=""" & intCols & """ name=""Message"" rows=""" & intRows & """ wrap=""virtual"" style=""width:100%"" onselect=""storeCaret(this);"" onclick=""storeCaret(this);"" onkeyup=""storeCaret(this);"" onchange=""storeCaret(this);"">


Here is the textarea css

textarea
{
font: 15px arial, verdana, sans-serif;
color: #555555;
background-color: #ffffff;
width: 95%;
overflow: scroll;
overflow-y: scroll;
overflow-x: hidden;
overflow:-moz-scrollbars-vertical;
}


When I pop back out of spellcheck mode, and back to edit mode, the string wraps properly again. This happens in both IE and MOZ

Any help is appreaciated.<

SEO For Snitz Forum
Go to Top of Page

garyrobar
New Member

Canada
90 Posts

Posted - 13 June 2007 :  00:27:13  Show Profile  Visit garyrobar's Homepage  Reply with Quote
i'll pay $20 for a correct solution :)<

SEO For Snitz Forum
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 13 June 2007 :  06:07:08  Show Profile  Visit AnonJr's Homepage  Reply with Quote
If someone had an answer, I think they would have given it... besides, sometimes it takes more than a day to come up with solutions to the odder problems. <
Go to Top of Page

garyrobar
New Member

Canada
90 Posts

Posted - 13 June 2007 :  11:17:56  Show Profile  Visit garyrobar's Homepage  Reply with Quote
actually got it...i just needed to add


	this.edit_layer.style.whiteSpace = "normal";	


...to googiespell.js

I've converted most of the forum to css, and I think that i was getting interference from another parent-level declaration. It was treating the whitespace as a "non-breaking" whitespace.<

SEO For Snitz Forum

Edited by - garyrobar on 13 June 2007 11:41:49
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 13 June 2007 :  11:52:08  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Good to know. Thanks for the tip. I wonder if it affects the SB2-type forums too.<
Go to Top of Page

garyrobar
New Member

Canada
90 Posts

Posted - 13 June 2007 :  20:28:02  Show Profile  Visit garyrobar's Homepage  Reply with Quote
quote:
I wonder if it affects the SB2-type forums too.


sorry to seem dense....what do you mean SB2-type forums?

I'll also introduce another bug that i've found, that probably needs some regex expertise to fix.

If I copy a string from somewhere else, say, a word document or another web page and post it in to the textarea, I sometimes pick up a comma that is RIGHT SINGLE QUOTE instead of #39;, which is a normal html comma that would be generated by typing the comma key in to a textarea manually.

It trips up the checker, and throws off all of the checking aftter this. (see the oxle screenshot earlier on in this post.)

<

SEO For Snitz Forum

Edited by - garyrobar on 13 June 2007 20:43:01
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 14 June 2007 :  07:41:41  Show Profile  Visit AnonJr's Homepage  Reply with Quote
I forget who (I think d3mon or something like that), someone had created a version of the forums that used CSS and he called it "Speed Ball" - it was last in its second release, and is usually abbreviated "SB2" (or something along those lines).

I've used it as the basis for most all of my projects lately.<
Go to Top of Page

garyrobar
New Member

Canada
90 Posts

Posted - 14 June 2007 :  15:54:38  Show Profile  Visit garyrobar's Homepage  Reply with Quote
yes, i've had a look at that in the past.

The nature of the issue that i;ve just mentioned though, isnt specific to a css forum or anything, it is a googiespell bug that has not been addressed.

i just can't figure out where/how to specify more special characters to convert to the html encoded unicode. I think it is in googiespell.js somewhere.<

SEO For Snitz Forum
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 13 May 2008 :  06:03:03  Show Profile  Reply with Quote
When using the Googiespell 'Check Spelling' button, once the text has been checked and spelling mistakes highlighted there are some changes in appearance to the message text area.
1. The font in the textarea displayed is different to the original textarea prior to spell check.
2. The whole message text area box is shrinking in size at this stage and returns to original size after 'resume editing' is pressed.

Investigating the symptoms etc, I notice the only time the resizing of the text area occurs is when mispelt words are having alternative suggestions also the animated icon is showing. Maybe we can remove the animated icon or put a dummy space in adjacent to the spell button, the same size as the animation to stop area size changing..

How do we match the text in the message area to the same as the spellcheck font?

It does spoil an overall brilliant mod!<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 13 May 2008 :  08:29:58  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Not sure as that's the way the spell check button in the Google toolbar behaves as well. Its probably something on google's end.<
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 13 May 2008 :  09:40:55  Show Profile  Reply with Quote
I don't know about googles end, but why should the message/text area change size when the spell check is in progress?<
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 13 May 2008 :  20:05:35  Show Profile  Reply with Quote
How do you get rid of the vertical scroll bar of a textarea? because, when the text is being spell checked the scroll bar is missing and when the spell has finished it reappears, changing the textarea size.<
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 27 May 2008 :  20:17:19  Show Profile  Reply with Quote
There's another issue I discovered in this mod. If you make the change as described in step 3; subsequent attempts to edit categories will result in error messages.

I put a fix for that on SnitzBitz.<
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 27 May 2008 :  21:20:43  Show Profile  Visit leatherlips's Homepage  Reply with Quote
I've never had an issue when editing my categories.
Nevertheless, I plan on updating the Googiespell mod soon anyway. The newer mod places the spell check button in the same place as the post and preview buttons.
It also makes it have the same style as those buttons too.
I'll probably do it in around a week or so.

It will also most likely have the option to spell check in the subject box too.<

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

Edited by - leatherlips on 27 May 2008 21:21:48
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 27 May 2008 :  21:52:59  Show Profile  Reply with Quote
The cause of the error lies in categories not having text areas. The fix bypasses that routine.<
Go to Top of Page
Page: of 8 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07