Billy Abbott wrote:
On Fri, 8 Apr 2005, Dave Arquati wrote:
I've done a bit of digging and uncovered how to put a link on the Openguides site which users can click on to add the OG London search tool to Firefox/Mozilla: http://mycroft.mozdev.org/no_wrap/deepdocs/installing.html
So... the following code should work:
<snip>
I can't seem to get it to work locally though (replacing the URL with my own one). I wonder if anyone else might have any luck.
I've got one of these up at http://www.cowfish.org.uk/random/addoglsearch.html which works - code is pretty much the same as yours, only really differing on paths and the A tag (i use onclick, you have javascript:).
I can't get http://openguides.org/london/oglondon.src or http://openguides.org/london/oglondon.png though, which your javascript is trying to grab, which would break it.
billy
That was meant to be an example... I don't think anyone at OGL has put up the files yet! I was trying to grab it from a local directory (the same one as my test page), but the Javascript console kept telling me there weren't enough arguments (although that error was coming from Firefox's JS sidebar code, so my code must have reached the innards of the browser).
Dave