JS

For this code, you need to get an api from last fm. Just fill out the form thingy, and copy the api. The html you need is a div id called Listening. This code was inspired by Max Pixel's last fm widget.

the code looks like this:


This code is for my "minutes old" widget on the homepage.


This code is for the online/offline widget on my site. It updates every ten minutes meaning if you haven't updated your site in the past ten minutes, you'll be counted as offline. You can change the time interval if you want!

To get online/offline graphics, I recommend checking out MySpaceGens or any other MySpace graphic sites as they usually have a section just for online/offline badges.

By the way! This widget only tracks updates made to the page it's placed on. For example, if the widget is on about.html and you update home.html, the widget won't count that update!