Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head>
- <link rel="stylesheet" type="text/css" href="jq-player/css/miniplayer.css" title="style" media="screen" />
- <link rel="stylesheet" type="text/css" href="jq-player/css/audioplayer.css" title="style" media="screen" />
- <script type="text/JavaScript" src="jquery-1.11.0.js"></script>
- <script type="text/javascript" src="jq-player/inc/jquery.jplayer.min.js"></script>
- <script type="text/javascript" src="jq-player/inc/jquery.mb.miniPlayer.js</script>
- <script type="text/javascript">
- $(function () {
- $('a.audio').mb_miniPlayer({
- width: 300,
- inLine: false,
- id3: false,
- addShadow: false,
- pauseOnWindowBlur: false,
- downloadPage: null
- // downloadPage:"map_download.php"
- });
- });
- </script>
- </head>
- url = ('<a class="audio" href="' + it.dwurl + ">test</a>");
- $.each(data, function (ind, it) {
- url = ('<a class="audio" href="' + it.dwurl + ">test</a>");
- indexes = $.map(olddata, function (obj, index) {
- if (obj.sname == it.sname) {
- return index;
- }
- });
- x = parseInt(indexes[0], 10);
- y = x - ind;
- if (y <= 0) {
- if (y < 0) {
- y = y * (1 - 2);
- li = ('<li class="dw"><h2><table><tr><td class="pos">');
- else {
- y = ("");
- li = ('<li class="eq"><h2><table><tr><td class="pos">');
- }
- }
- else {
- li = ('<li class="up"><h2><table><tr><td class="pos">');
- }
- if (ind <= 9) {
- $('#tops').append(li + y + podw + it.downl + dwti + it.sname + tipl + url + end);
- }
- else {
- $('#asp').append(li + y + podw + it.downl + dwti + it.sname + tipl + url + end);
- }
- });
- <ol class="tops10" id="asp">
- <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>
- </ol>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement