Fetch and Display Lastfm Recent Tracks Plugin for jQuery - lastfm

Fetch and Display Lastfm Recent Tracks Plugin for jQuery - lastfm
File Size: Unknown
Views Total: 580
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

lastfm is a jQuery plugin that allows you to fetch recent tracks from any Lastfm user and then display the track list on your web page.

Basic Usage:

1. Include jQuery library and lastfm.js in the head section of your web page

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="jquery.lastfm.min.js"></script>

2. Include jQuery lastfm CSS

<link href="jquery.lastfm.css" rel="stylesheet" type="text/css">

3. Markup Html structure

<div id="demo"></div>

4. Initialize the plugin

<script>
$(document).ready(function(){ 

     $('#demo').lastfm({username: 'LASTFM USER NAME'});

}); 
</script>

This awesome jQuery plugin is developed by thinkphp. For more Advanced Usages, please check the demo page or visit the official website.