the smile widget
Include resources from the SMILE NSDL pathway on your web site.
Current Version is 1.3.2
(what's changed in this version)Table of contents
links
- Documentation, API reference, and widget code is available to download for non-profit organizations. Email porcello@berkeley.edu for more info.
Changes in version 1.3.2
- New search parameter "preloadRecords"
Changes in version 1.3.1.3
- Add span wrapper tags around pagination prev and next links for added flexibility with custom user-defined css
Changes in version 1.3.1.2
- Fix for an issue with the list container element being resized incorrectly on page refresh in webkit browsers
Changes in version 1.3.1.1
- Updated CSS to fix a z-index issue in older versions of IE.
Changes in version 1.3.1
- New configuration option successCallback to execute a callback function when a non-empty search result set is successfully loaded. Thanks due to James Kassemi
Changes in version 1.3
- New configuration option startHidden to hide the widget when first loaded, and only become visible if search results are found.
- New configuration option headerUrl to specify an optional header graphic to use instead of the default graphic. (Header image size is 200x66 pixels when using the stock SMILE CSS file).
- New default header graphic, and CSS bottom border on graphic instead of border as part of the image itself.
- CSS changes so search bar will fit better in widgets that don't use the default 200px width.
Server side changes
- Added support for search parameter "keyword"
- Added support for search parameter "grantnumber"
- Added support for search parameter "fundingsource"
Changes in version 1.2
- New skin to better match howtosmile.org website
- Optional persistent search bar to allow users to enter a term to refine search beyond pre-defined search parameters
- Deprecated method setConfig(). (Doesn't seem to be a need for configuration after initialization, so configure the widget when calling initWidget() instead.)
Changes in version 1.1.1
- Updated search URL to access new smile url (without "beta.")
- Changed header graphic
Changes in version 1.1
- Updated URLs to SMILE page with node-id instead of dds id
- API Incompatibility with previous versions (1.0.x): initWidget now takes a configuration object as it's 3rd parameter instead of the boolean 'deferSearch'. (deferSearch is now a member of the configurable options).
Server side changes
- Added support for search parameter "collection"
Changes in version 1.0.1
- Updated for new backend handling of images