Advanced Quick Reply is a nice phpBB Mod by “Z3u5″. I’ve adopted it for many phpBB boards I developed. However, it got this tiney little problem with IE, where users are taken to the buttom of the page everytime they open a topic to read.

You may stop this by taking off:

1
textarea.focus();

To disable this function, open: styles/…/template/editor.js within your phpBB3 directory then add the PHP comment tag infront of it as you see bellow:

1
2
3
4
5
6
7
8
9
if (is_ie && typeof(baseHeight) != 'number')
 {
  //textarea.focus();
  baseHeight=doc.selection.createRange().duplicate().boundingHeight;
  if (!document.forms[form_name])
   {
   document.body.focus();
   }
  }

Leave a Reply

Haider’s WebSpace
Welcome to my technical blog. This is where I write, archive and share computer related articles. Subjects vary from posting technical solutions to researching particular topics. Feel free to comment and talk IT!
Sponsored Links
Posts Calendar
September 2010
M T W T F S S
« Feb    
 12345
6789101112
13141516171819
20212223242526
27282930