> There is a minor problem in Konqueror though (the result 
> layer's x coordinate is 0, otherwise it appears perfectly).

Well, I don't have Konqueror. Anyone knows how to get an element's left
position?

> It would be nice to add some auto completion char to the code, so if 
> there is only one match, I would not need to type in the whole function 
> name.

Added:
- If there's more than 30 matching functions, the user can click on ... to
see all of them
- If there's only one match, it gets expanded on onblur and onsubmit
- If the function name is written in full, the single-item list isn't
displayed


Mitja


-----Original Message-----
From: Gabor Hojtsy [mailto:[EMAIL PROTECTED] 
Sent: 29. september 2003 14:28
To: Mitja Slenc
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP-DOC] Re: Idea: quickref.swf


> I think attachments are not allowed. Anyway, I completed the stuff.
> 
> You can see it work at
> http://www.xs0.com/php/index.html
> 
> The function list is
> http://www.xs0.com/php/funclist.txt
> which is basically the one from cvs.php.net with added echo and print
> 
> The JavaScript is at
> http://www.xs0.com/php/functions.js
> It's cryptic, because I wanted the file size as small as possible; still,
> the HTML output is on separate lines so it can be updated more easily.
It's
> currently 19463 bytes. gzipped funclist.txt is 12648, so I guess this is a
> pretty good result.
> 
> You can generate a new one with
> http://www.xs0.com/php/funclist.zip
> Just update funclist.txt and run make.
> 
> I tested with IE6 and Mozilla/FireBird. Seems to work...
> The nice thing is that it can be included just before </body>, so
everything
> else works without any additional waiting...

Hm, this is way too cool to be true :) It works for me perfectly under 
Linux/Mozilla :) There is a minor problem in Konqueror though (the 
result layer's x coordinate is 0, otherwise it appears perfectly). It 
would be nice to add some auto completion char to the code, so if there 
is only one match, I would not need to type in the whole function name.

So I would only need to enter "xml_set_p" and press the hotkey, instead 
of typing "xml_set_processing_instruction_handler" :) I guess you can 
get it.

Nice work!!!

Goba

Reply via email to