1. Adding widget with default header
Just add following lines to your page or side bar
<script language="javascript" src="http://www.ushanka.us/TopRated.ashx" type="text/javascript"></script>
It will add articles with "Top rated articles from Ushanka.us" as header
2. Adding widget with customized header
Just add following lines to your page or side bar
<script language="javascript" type="text/javascript">
var ushanka_header = 'My own header';
</script>
<script language="javascript" src="http://www.ushanka.us/TopRated.ashx" type="text/javascript"></script>
3. Customizing look and feel of the widget
Widget will render standard html with div tags. There are three sections with three different div class.
- UshankaTopRated - This is container for the entire widget.
- UshankaHeader - This is container for header section.
- UshankaArticles - This is container for article links section.
You can customize look and feel by adding above three classes to your CSS and modifying it.