xml code:<Window Id="WndSearch" Version="1">
<Position Width="400" Height="150"/>
<ChildTmpl>
This is just after your commented out original search window. You don't close <ChildTmpl>. After changing this to <ChildTmpl/> the script works for me.
Just out of curiosity, are you sure you want a child window and not a modal one? A child window gets placed on the parent form, whereas a modal window is a seperate window that has to be closed before you can do anything further on the parent window. The way your code and xml currently works (as a child window) is that the search textbox & label get hidden behind the browser object and are thus inaccessible (see attached pic)
Attachment:searchhidden.png (105.26 KB) This file has been downloaded 112 time(s). This post was edited on 02-25-2009 at 05:49 PM by pollolibredegrasa.
A child window is a seperate window like in the Plus! Preferences. The section that changes when you click a different tab... is a child window. A modal window is a seperate window. Instead why not make it like IE and FF and have the search box beside the address bar?
Well, I was actually thinking of having it like a chat window, in the sense that you could type something like "!search <google/yahoo/etc> <query>". This could then be used for other purposes, like "!send <contact email>", to send the current page address to a Messenger contact. I'll give it a go...