Req #51728 [Com]: Website feedback: Tooltips for functions in the php.net function reference

From: Date: Wed, 05 May 2010 19:20:50 +0000
Subject: Req #51728 [Com]: Website feedback: Tooltips for functions in the php.net function reference
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4317@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51728&edit=1 ID: 51728 Comment by: bjori@php.net Reported by: xandrani at googlemail dot com Summary: Website feedback: Tooltips for functions in the php.net function reference Status: Open Type: Feature/Change Request Package: Doc Build problem Operating System: All PHP Version: Irrelevant New Comment: I don't think adding the protoline into to tooltip would be such a good idea. It will probably just be constantly in your way when mousing over items (plus, its a bit complicated to extract and order that info.. :). Having the tooltip for the TOC and seealso would be awesome however. Unsure if we can do it with _every_ instance of the function names.. well, except if we pre-load a function information like we are planning on for the new search feature... Previous Comments: ------------------------------------------------------------------------ [2010-05-03 20:56:01] xandrani at googlemail dot com Actually just had another thought on this. There are actually two bits of information I want to know when hovering over a function (this would happen on ANY function that happens to be a link). 1) A short summary of what the function does (as previous comment)... i.e. 'array_fill' would give the tooltip: "array_fill — Fill an array with values" 2) The function definition, i.e. "bool in_array ( mixed $needle , array $haystack [, bool $strict ] )" I'm sure you are aware that you can get large tooltips WITHOUT using javascript. Just in case you wanted to make a non-javascript based tooltip for maximum compatibility. i.e. I don't think the HTML 'title' tag will be a solution for us. The whole tooltip for in_array() therefore, might be: " SUMMARY: array_fill — Fill an array with values DEFINITION: bool in_array ( mixed $needle, array $haystack [,bool $strict] ) " I think I would faint with excitement if this was ever implemented... sorry for being so geeky lol ;) ------------------------------------------------------------------------ [2010-05-03 20:19:46] xandrani at googlemail dot com Description: ------------ The functions are listed on the lefthand side of the web page in the php.net function reference. For example at (http://php.net/manual/en/function.in-array.php) you will see a list of functions on the left. It would be superb if when hovering over one of these function names a tooltip would appear showing the short description of the function. e.g. hovering over 'array_fill' would give the tooltip: "array_fill — Fill an array with values" Thanks :D ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51728&edit=1

« previous php.doc.bugs (#4317) next »