Widgets and API for jurnalnarasi.my.id
Three types of widget are available for jurnalnarasi.my.id - Top n, Almost Fully Committed and Almost Paid.
Instructions on how to add these widgets to your site can be found below.
iframes or the javascript widget are the simplest way to put a widget on your site, however using our API will give you the most branding options. Below you will find code that you can put on your site for using our widgets.
javascript widgets
You may add the parameter "&nocss=1" to prevent the css from loading
You may add the parameter "&tab=1" to load the widget as a tab. If you do this, you may utilize two further parameters - position (left or right, default is right) and top (css unit, default is 25%)
Enter the script tag in the head section of your html and the div where you want the widget to appear
iframes
You may wish to change the width and height of the iframe to suit your website and the suggestions listed.
API
All of the widgets above can be used in API form. Simply take the same URL and add either &json=1 or &phpserialze=1 to the URL to retrieve the results as JSON or as a serialized PHP array
The Co-Funded web pages uses the API to produce the widgets in all of the sidebars (top suggestions etc)