HOW TO INSERT DSE WIDGETS INTO YOUR WEBSITE

1. Copy and paste the following snippet into your HTML head section of the page you wish to display the widget :-

<script type="text/javascript" src="http://dse.co.tz/widget/widget.js"></script>
2. Depending on the widget you wish to display, insert the required div element with the required id on the page element the widget will appear. See below table for further instructions :-

Widget Name Div Id
Trading Statistics dse-trading-stats
Gainers and Losers dse-gainers-losers
Exchange Rates dse-exchange-rates
Marquee dse-marquee
Market Summary dse-market-summary

This example shows how the widget for Trading Statistics will look like :-
<div id="dse-trading-stats"></div>

3. Done! That’s all you need to do to get the widgets directly from the DSE website by now.

NOTE:

- The div element SHOULD be empty.
- Depending on your Internet speed, these widgets will sometime take 3-10 seconds to load. Try refreshing the page incase the widgets could not load completely.
- The width of the widgets is 100% of its parent container.