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 :-
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 :-
|Gainers and Losers
This example shows how the widget for Trading Statistics will look like :-
3. Done! That’s all you need to do to get the widgets directly from the DSE website by now.
- 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.