Mercurial > code > home > repos > light9
changeset 1007:9b1df7c06ec2
asco bigger numbers so 3 year old users can find them
Ignore-this: 97feafa3ee4af3017ab3046be45b3d8
author | drewp@bigasterisk.com |
---|---|
date | Tue, 18 Jun 2013 02:18:52 +0000 |
parents | f7a0e26fbe7b |
children | f7de3c3c0e9a |
files | light9/ascoltami/index.html static/style.css |
diffstat | 2 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/ascoltami/index.html Mon Jun 17 02:06:56 2013 +0000 +++ b/light9/ascoltami/index.html Tue Jun 18 02:18:52 2013 +0000 @@ -94,7 +94,10 @@ $.each(data.songs, function (i, song) { var button = $("<button>"); // link is just for dragging, not clicking - var link = $("<a>").text(song.label).attr("href", song.uri); + var link = $("<a>"); + link.append($("<span>").addClass("num").text(song.label.slice(0,2))); + link.append($("<span>").text(song.label.slice(2))); + link.attr("href", song.uri); link.click(function () { button.click(); return false; }); button.append(link); button.data(song);