© The Financial Times Ltd 2014 FT and 'Financial Times' are trademarks of The Financial Times Ltd.
Add the Lexicon search widget to your blog or website and enable your readers to search for financial terms and definitions. The Lexicon is a glossary of more than 10,000 financial terms, with content being added by FT journalists on a daily basis
The widget is easy to implement and customise. To integrate with your web page, just follow the steps listed below:
To add the widget to a webpage, copy and paste the following section of code:
into a <div> tag or other appropriate section of code (as shown below).
The background colour of the widget is editable. Select a colour from the options below and set as the value for lexiconBGColor. The colour may also be set to one in your websites style sheets.
Colour options include the following:
The height of the lexicon widget is hardcoded to 285 pixels. The width of the widget automatically adjusts to the width of the column set in the Cascading Style Sheet. In the example of a CSS below, the width of the column is set to 220pixels. In the HTML example that follows, the width of the widget is set to 100% of the width of the column.CSS Example
The LexiconWidth value may be edited to <X>; of the column width, or it may be set to a specific pixel width which will override the CSS.
Are there any missing configuration options or would you like to request a feature? Let us know