Since I was the one who originally reported this, I tried out the fix. I'm not exactly sure if it worked, though, cause I hadn't actually noticed this problem in a while. I thought maybe this was cause I'm using Firebird now instead of IE, so I switched back to test, but the original problem with pages not opening "maximized" wasn't happening, so I can't tell if the fix helped. I did however see that, after applying the fix, maximized.htm was being used whether I performed a search or not, which is what the fix was intended to do. So I've attached defer_tools.js with the fix included for someone to add to the next version, if that's OK. Thanks, Brent!

Sarah


>> Initial Comment: >> >> I couldn't figure out why pages I was opening were not opening >> "maximized" (or using the whole window, at least) even though I have >> pagetemplate="maximized.htm"; in my localprefs.js. After trying a >> few different searches, I realized that maximized.htm only gets used >> when I actually search for something - so if I enter "amaz" the >> window will be smaller, but if I enter "amaz the two towers", it >> will use maximized.htm.

----------------------------------------------------------------------

> Comment By: Brent Dai (anonymous2)
> Date: 2004-02-04 08:23
>
> Change defer_tools.js like this.
>
> // Open a search window in an existing frame
> function openNamedSearchWindow(url, name)
> {
>   var w = null;
>   if (useExternalBrowser && DQSDLauncher)
>     DQSDLauncher.OpenDocument(url);
>   else if (typeof windowOpenFeatures != "undefined") {
>     w = window.open(pagetemplate, name, windowOpenFeatures);
>     w.open(url, name, windowOpenFeatures);
>   } else {
>     w = window.open(pagetemplate, name);
>     w.open(url, name);
>   }
> }
>
> This only applies when useExternalBrowser is false.

Attachment: defer_tools.js
Description: JavaScript source



Reply via email to