Skip to content Skip to sidebar Skip to footer

Disabling Ie8 Accelerators For An Entire Site

(Yes, I know there is a similar question on SO, but it's 8 months old -- since then IE8 RTM has come out -- and not very illuminating) Is it possible to disable IE8's 'Accelerators

Solution 1:

Sorry, this is deliberately not supported.

Please see http://blogs.msdn.com/ieinternals/archive/2009/06/03/slowing-down-disabling-accelerators.aspx for discussion on this topic.

Solution 2:

You can mark the parent element as either contentEditable (http://msdn.microsoft.com/en-us/library/ms537837(VS.85).aspx) or as unselectable (http://msdn.microsoft.com/en-us/library/ms537840(VS.85).aspx)

Either one should prevent the accelerator button from appearing.

Solution 3:

You could prevent highlighting on the section. Then wrap the selection that would have been highlighted in a span that has some CSS applied to it, mimicking the highlight. It might take a bit of work, but it would achieve your goals.

Solution 4:

As someone says, wrap around selection with some span (ex. span class='selected' - to retrive it latter), and delete the selection with:

if (document.selection)//ie -> prevent showing the accelerator menu
{
 document.selection.empty();
}

Post a Comment for "Disabling Ie8 Accelerators For An Entire Site"