Advertisement
Guest User

Untitled

a guest
Mar 29th, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. <head>
  2. <link rel="stylesheet" type="text/css" href="jq-player/css/miniplayer.css" title="style" media="screen" />
  3. <link rel="stylesheet" type="text/css" href="jq-player/css/audioplayer.css" title="style" media="screen" />
  4. <script type="text/JavaScript" src="jquery-1.11.0.js"></script>
  5. <script type="text/javascript" src="jq-player/inc/jquery.jplayer.min.js"></script>
  6. <script type="text/javascript" src="jq-player/inc/jquery.mb.miniPlayer.js</script>
  7. <script type="text/javascript">
  8. $(function () {
  9. $('a.audio').mb_miniPlayer({
  10. width: 300,
  11. inLine: false,
  12. id3: false,
  13. addShadow: false,
  14. pauseOnWindowBlur: false,
  15. downloadPage: null
  16. // downloadPage:"map_download.php"
  17. });
  18. });
  19. </script>
  20. </head>
  21.  
  22. url = ('<a class="audio" href="' + it.dwurl + ">test</a>");
  23.  
  24. $.each(data, function (ind, it) {
  25. url = ('<a class="audio" href="' + it.dwurl + ">test</a>");
  26. indexes = $.map(olddata, function (obj, index) {
  27. if (obj.sname == it.sname) {
  28. return index;
  29. }
  30. });
  31.  
  32. x = parseInt(indexes[0], 10);
  33. y = x - ind;
  34.  
  35. if (y <= 0) {
  36. if (y < 0) {
  37. y = y * (1 - 2);
  38. li = ('<li class="dw"><h2><table><tr><td class="pos">');
  39. else {
  40. y = ("");
  41. li = ('<li class="eq"><h2><table><tr><td class="pos">');
  42. }
  43. }
  44. else {
  45. li = ('<li class="up"><h2><table><tr><td class="pos">');
  46. }
  47. if (ind <= 9) {
  48. $('#tops').append(li + y + podw + it.downl + dwti + it.sname + tipl + url + end);
  49. }
  50. else {
  51. $('#asp').append(li + y + podw + it.downl + dwti + it.sname + tipl + url + end);
  52. }
  53. });
  54.  
  55. <ol class="tops10" id="asp">
  56. <li class="dw"><h2><table><tr><td class="pos"></td><td class="down"></td><td class="tit"></td><td class="pla"><a class="audio" href="url_of/song.mp3">manual test</a></td></tr></table></h2></li>
  57. </ol>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement