Elephpant images are pulled from flickr via the php-master server hourly.
The web site now provides a simple PHP script to serve a random sampling
of these images in JSON format.
The web browser now loads the elephpant images via JavaScript, requesting
only the number of images that are required to fill the viewport. Images
are inserted into the page using the data URI scheme. This ensures that
only one http request is needed to load all of the required images.
If the browser window resizes, the JavaScript will fetch additional images
as required to fill out the viewport again. There is a slight delay built
in (250ms) to avoid excessive requests while the window is being resized.
Some browsers (e.g. older versions of MSIE) do not support the data URI
scheme. For these browsers we may wish to provide a fallback mechanism of
aggregating the images (e.g. MHTML, aka MIME HTML).
If the images fail to load, the elephant banner is hidden automatically.
background hack out to a separate workarounds stylesheet, and use Remy Sharp's
HTML5 shim to enable IE support for HTML5 elements rather than declaring them
ad hoc in the header.
an experimental design and not the actual live site. Barring major changes to
the structure of header.inc, with any luck this commit should be able to be
reverted whole to get rid of this before deploying to live.
(auto-expanded) mega drop-down as per mock-up sent to the mailing list.
The top-portion of the mock-up was generally well received. The lower-portion
needs additional work. This change only commits the top portion. Some minor
changes were made to incorporate feedback and tidy things up.
two clicks to switch the current menu when the current menu has no sub-menu.
Also, fixed an issue where repeatedly clicking the same link could break the
dom (we now ignore clicks while animating).
- Add descriptions into the search results
- Only sort possible matches, rather then the entire index everytime
- Use "poor-mans-categorization" - with the 'proper categorization' code
commented out. Maybe provide an my.php option in the future for it?
discrepancies between how webkit and moz browsers display this field. For
example, webkit browsers have some left padding that can't be removed.
Removed manual placeholder text handling from common.js
This should provide a better (more solid) user experience and allows us to
remove the hover intent plugin. All third-party JS is now loaded via CDN.
Previously the menu faded in/out, now it slides up/down pushing page content
out of the way. Additionally, restyled the menu container so that it spans
the full width of the page (menu contents are still constrained to ~960px).
The menu now has a high-impact dark-grey background with off-white text.
Split the community menu into four columns of links instead of three.
Removed some inline styles from header.inc. Tweaked news_toc() to support
an optional $sections argument that allows the caller to specify which
sections it wants rendered.
Removed shade.png as it is no longer used. The only graphic used by the new
layout is now sprites.png.
to jQuery 1.4.4 and the inclusion of jQuery UI 1.8.7 (both linked to Google's
Ajax APIs CDN) as the auto-complete plugin has been rolled into the standard
jQuery UI library.
We now supply a source callback function to the auto-complete plugin (instead
of a JS array). This callback mimics the quick-ref logic for ranking manual
pages based on where the user's search term appears in the name of the doc
entry. However, it lacks the similar_text() component since that function is
not available in JS (doesn't seem like a significant loss).
Tweaked auto-complete related CSS rules to accommodate different markup
produced by the new version of the auto-complete plugin.