Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use jqTouch native buttons for rocks/sucks

  • Loading branch information...
commit b08506211c55df6deb6856bf09a1a1f8f9022771 1 parent 1c5c4dc
@indeyets indeyets authored
Showing with 10 additions and 11 deletions.
  1. +5 −3 code.js
  2. +4 −5 index.html
  3. +1 −3 tmradio.manifest
View
8 code.js
@@ -111,9 +111,11 @@ tmradio.iphone = {
);
if (info.download != null) {
- results_ul.append(
- '<span id="download">↓DL</span> '
- );
+ results_ul.append('<span id="download">↓DL</span> ');
+ }
+
+ if (info.image != null) {
+ results_ul.prepend('<img src="' + info.image + '" align="left" width="32" height="32" style="margin-right: 2px;">');
}
},
formatTime: function(time) {
View
9 index.html
@@ -38,11 +38,10 @@
</li>
</ul>
- <div id="vote" style="display:none;">
- <div class="center">
- <img id="rocks" src="rocks.png" /><img id="sucks" src="sucks.png" />
- </div>
- </div>
+ <ul class="individual" style="display: none;" id="vote">
+ <li><a id="rocks" class="greenButton">Rocks</a></li>
+ <li><a id="sucks" class="redButton">Sucks</a></li>
+ </ul>
<div id="player" style="display:none;">
<!-- place for player -->
View
4 tmradio.manifest
@@ -1,6 +1,6 @@
CACHE MANIFEST
#
-# Cache manifest version 15
+# Cache manifest version 16
#
code.js
icon.png
@@ -10,9 +10,7 @@ jqtouch/jqtouch-jquery.min.js
phone_startup.png
Play_Button.png
reload.png
-rocks.png
Stop_Button.png
-sucks.png
themes/css/jqtouch.css
themes/img/jqt/loading.gif
themes/img/jqt/on_off.png
Please sign in to comment.
Something went wrong with that request. Please try again.