Adding an icon

Html5 icon

1var newTag = '';
2var iconFile = 'empty.png';
3if (!this.html4 && this.html5)
4{
5  newTag = "<p class='ui-li-count'>html5</p>";
6  iconFile = 'html5.png';
7}

The result:

Listview 7

What’s next? We’re going to take a look at “Divider”.

overlaied image when clicked on thumbnail

Makzan | Mobile web app dev with phonegap | Table of Content