the smile widget
Include resources from the SMILE NSDL pathway on your web site.
Current Version is 1.3
(what's changed in this version)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). See documentation for information about configuration options.
Server side changes
- Added support for search parameter "collection"
Changes in version 1.0.1
- Updated for new backend handling of images