SpellingCow.com Forum Index SpellingCow.com
Improving forum spelling since... well not very long
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your PM'sLog in to check your PM's   Log inLog in 
Forums | Home

IE Disable bug?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    SpellingCow.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
jesus_army



Joined: 15 Mar 2006
Posts: 7

PostPosted: Fri Nov 10, 2006 9:50 am    Post subject: Reply with quote

If it solves my problem, it won't solve the problem of other visitors who are using MSIE
Back to top
View user's profile Send private message
Meatwad15



Joined: 09 Nov 2006
Posts: 14
Location: United States

PostPosted: Fri Nov 10, 2006 11:36 am    Post subject: Reply with quote

That's true.

You think it may have to do something with your firewall?
_________________
PHP Tuts and Templates
{sk5software} COO
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
jesus_army



Joined: 15 Mar 2006
Posts: 7

PostPosted: Fri Nov 10, 2006 11:54 am    Post subject: Reply with quote

Who knows? But there are two of us with the same problem.

Actually, I doubt it, as Firefox is OK while MSIE 6 & 7 are not.
Back to top
View user's profile Send private message
tomboy



Joined: 14 Nov 2006
Posts: 2

PostPosted: Thu Nov 16, 2006 4:07 pm    Post subject: Reply with quote

I'm battling the same problem with the phpBB forum I administrate. One of the moderators is using IE 6.0 and he does not even get the checkbox option. I'm sure there are others since the majority of our users do use IE.

I did have the previous pop-up version installed, but it quit working suddenly so I added this version. I thought there might be a conflict so I've been going through and removing all of the old Spelling Cow code.

I had the mod refresh the page, empty his cache and nothing fixes the problem. He never gets the option to enable Spelling Cow.

Thanks in advance for any suggestions! Smile
Back to top
View user's profile Send private message
owens4



Joined: 30 Nov 2006
Posts: 1

PostPosted: Thu Nov 30, 2006 10:17 pm    Post subject: Reply with quote

nuttzy99 wrote:
Hrmmmm.... I'll be sure to look through the code even though I can't replicate it.

Thanks,
-Craig


I have the same problem with IE6.
I have tracked it down to the cookie that is set when you turn off (uncheck) spell check.
When you reload the page you get this javascript error: 'this.q.style' is null or not an object.

I have to delete that cookie then when I reload the page it shows up again like it should.
This should tell you where to look.

Still, you have done a good thing here,
John
Back to top
View user's profile Send private message
nuttzy99
Site Admin


Joined: 23 May 2004
Posts: 1068

PostPosted: Tue Dec 05, 2006 10:03 am    Post subject: Reply with quote

Thanks owens4, I'll check it out!

-Nuttzy Cool
_________________
<?php echo "something wicked awesome for my sig"; ?>
Back to top
View user's profile Send private message
Sandguy



Joined: 23 May 2007
Posts: 3
Location: Kissimmee, FL

PostPosted: Wed May 23, 2007 12:23 pm    Post subject: IE6 Still a problem? Reply with quote

I just put this into a beta site i am developing and it works great in IE6 until disable then I still get to error as mentioned previously.
Interesting thing is that the disable function works fine here on your phpBB.
Did you find a fix? - I did not see one posted.

Thanks,
Rob
Back to top
View user's profile Send private message
kaser
Site Admin


Joined: 26 Sep 2004
Posts: 468

PostPosted: Wed May 23, 2007 5:09 pm    Post subject: Reply with quote

The code we use here on www.spellingcow.com is the exact same code you use on your website.

That is definitely strange to say the least.

I'll let Craig know asap.

thanks for the input.
Back to top
View user's profile Send private message AIM Address
Sandguy



Joined: 23 May 2007
Posts: 3
Location: Kissimmee, FL

PostPosted: Wed May 23, 2007 5:21 pm    Post subject: Reply with quote

Kaser,

I am getting the same error as Owens4 explained.
Looking at the source code on your phpBB2 - I'm thinking you are adding some hidden fields to recognize the cookie that we are not instructed to put in our forms.

Thanks again,
Rob
Back to top
View user's profile Send private message
kaser
Site Admin


Joined: 26 Sep 2004
Posts: 468

PostPosted: Wed May 23, 2007 7:01 pm    Post subject: Reply with quote

Nice find. Although the only code I see different is the additional
Code:
<script type="text/javascript">
<!--

function handle_sc_ayt_incompatiable(msg)
{
   show_spellcheck_button();
}

function handle_sc_ayt_disable()
{
   show_spellcheck_button();
}


function hide_spellcheck_button()
{
   // run the original onload
   if (window.pre_button_hide_onload)
   {
      pre_button_hide_onload() ;
   }

   // hide the button
   var sc_button = document.getElementsByName("spellcheck") ;
   if (sc_button.length > 0)
   {
      sc_button[0].style.display = 'none' ;
      // hide the trailing BR
      sc_button[0].nextSibling.style.display = 'none'
   }

   // disable auto_spell_check if set
   var auto_spell_check = document.getElementsByName("auto_spell_check") ;
   if (sc_button.length > 0)
   {
      auto_spell_check[0].value = 0 ;
   }
}

function show_spellcheck_button()
{
   var sc_button = document.getElementsByName("spellcheck");

   if (sc_button.length > 0)
   {
      sc_button[0].style.display = '' ;
      // show the trailing BR
      sc_button[0].nextSibling.style.display = ''
   }
}

var pre_button_hide_onload = window.onload ;
window.onload = hide_spellcheck_button ;

// -->
</script>


But that is only handling the "show spellcheck button, or not" part.

I don't see how that would help you out by adding that to your forums.
Back to top
View user's profile Send private message AIM Address
Sandguy



Joined: 23 May 2007
Posts: 3
Location: Kissimmee, FL

PostPosted: Sat May 26, 2007 4:02 am    Post subject: Reply with quote

Kaser,

I experimented a ton with this and I think i nailed it to the script not handling the ASP.NET textbox properly.
I set up a couple demo pages where I can recreate the error.

First page SC works fine with a HTML textarea field first.

Second page breaks SC (won't reload SC after turning it off) with a .NET textbox first.
only way to get SC back is to delete the cookie or go back to HTML and turn SC cookie back on.

See Sample pages:
http://www.dailysaver.com/SC1.aspx

Hope this helps debug process
Rob
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SpellingCow.com Forum Index -> Support All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group :: Spelling by SpellingCow.

SpellingCow.com Privacy Policy | blueGray theme by Nuttzy

Sponsors:
Identity Theft Protection - Compare identity theft protection services
Structured Settlements - cash for structured settlements, sell annuity, lottery winnings, and more.
Barcode Scanner Manufacturer - taiwan manufacturer of scanners, swipe card reader, serial-ethernet converter, cash drawer, and other pos devices.
Advice, help & demonstrations for sign makers - Europe's leading sign makers website
Tattoo - we are a group of tattoo enthusiasts