1
0
mirror of https://github.com/php/web-php.git synced 2026-04-28 09:23:14 +02:00
Commit Graph

7 Commits

Author SHA1 Message Date
Hannes Magnusson 128891c3ee Make the current doc page stick out in the sidebar 2010-12-26 13:37:13 +00:00
Jordi Boggiano 707b3c091d Add footer to the prototype page 2010-03-14 18:37:26 +00:00
Jordi Boggiano cbe6904312 Making the content area fluid up between 600 and 1400px 2010-03-02 23:27:25 +00:00
Jordi Boggiano 3ea5e2aabc Adding border-radius without prefix for forward compatibility and Opera 10.5 2010-03-02 22:51:46 +00:00
Stewart Lord 50af37d938 Aesthetic changes to the megadropdown. Moved it down the page a bit
to hang it off of the horizontal rule. Adjusted corners to better 
match the autocomplete drop-down. 

Also, increased font-size of section titles and adjusted margins
in doc.css.
2009-12-22 17:02:35 +00:00
Stewart Lord 30cbcc6e60 Implemented search auto-complete.
The auto-completing search feature uses the popular
jquery.autocomplete plugin:

 http://docs.jquery.com/Plugins/Autocomplete

The auto-complete data set is held client-side. This
incurs one http request to load the search index when
the page is loaded (via jQuery.getScript()), thereby 
avoiding additional requests as the user types in the
search field. This makes the auto-complete feature 
very responsive.

The search index file defines a 'searchIndex' array 
containing the name and page (filename) of each entry 
in the manual. The file is 382 KB uncompressed. Gzip
compression (via the cli) reduces this to 53 KB. Proper
configuration of server-side compression and expire 
headers should make this download relatively painless.

The search index file resides under the js folder 
and is named: 'search-index-<lang>.js'. There is only
one index file at this time ('en') and it was manually
generated.

The auto-complete feature has one major short-coming;
the results are not sorted/ranked by relevance. This
will required modification of the auto-complete 
plugin or a server-side suggest script to overcome.
2009-12-19 19:57:58 +00:00
Stewart Lord 93e587f765 Initial add of redesigned look for php.net.
HTML and CSS are primarily the work of Daniel Burka.
Appearance is the result of a series of mock-ups and
discussions on the php-webmasters mailing list.
2009-12-18 17:58:24 +00:00