Re: new IE sidebar [please test]
| From: | Toni Viemero | Date: | Sun, 27 Oct 2002 17:15:42 +0000 |
| Subject: | Re: new IE sidebar [please test] | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-13248@lists.php.net to get a copy of this message | ||
Gabor Hojtsy wrote:
> <a
>
> href="javascript:void(open('http://php.net/searchbar.php','_search'))">PHP.n
> et
> Search Bar</a>
>
> You can add this to your own favorites or links toolbar, so
> it is easily accessible. Theoretically the same HTML output
> can be used to provide a Mozilla sidebar. Mozilla supports
> something like window.sidebar.addPanel() which can add the
> same file as a Mozilla sidebar. However I have no Mozilla setup
> here to test, so if someone can be so kind and test it then
> we can add the IE and Mozilla sidebar features the same time,
> which would be quite nice ;)
I tested it on Mozilla 1.2b and it looks something like this:
http://selfdestruct.net/misc/phpnet_searchbar_mozilla.jpg
My sidebar is a little bigger than the default one. (Netscape developer docs
indicates sidebar is 162px wide by default (144px with scrollbar))
http://wp.netscape.com/sidebar/how.html
To add search into sidebar I use a javascript from www.mozillapl.org
http://www.mozillapl.org/javascript/sidebar.js
<a href="javascript:addSidebar(this, 'PHP.net Search Bar',
'http://mirror.site/searchbar.php');">PHP.net
Search Bar</a>
--
Toni Viemerö | http://selfdestruct.net
"The ones who dont do anything are always the ones who try to pull you
down."