您现在的位置是:jQuer麻将胡了模拟器pg下载-麻将胡了模拟器pg下载2025最新版y粉破解版pg赏金女王色个性侧边悬浮音乐播放器插件 >>正文
jQuer麻将胡了模拟器pg下载-麻将胡了模拟器pg下载2025最新版y粉破解版pg赏金女王色个性侧边悬浮音乐播放器插件
贫困潦倒网26416人已围观
简介或运动回去$("#btnfold").mouseover(function(){if(fold){$(".jp-video").animate({left:"-480px"},350,function...
网站侧边mp3音乐播放器插件代码,展开---------------------------------------------- var fold=true;//标识 //页面加载时,收缩--------------------------------------------------- var iOpen=false; $("#listClose").click(function(){ if(iOpen){ $(".jp-playlist-box").animate({height:0},100); $("#btnfold").css({top:"5px"}); $("#listRemove").css({display:"none"}); $(".scrollBar").css({display:"none"}); $(".jp-video").animate({height:"94px",bottom:"20px"},100); iOpen=false; }else{ $(".jp-playlist-box").animate({height:"80px"},100); $("#btnfold").css({top:"52px"}); $("#listRemove").css({display:"block"}); $(".scrollBar").css({display:"block"}); $(".jp-video").animate({height:"175px",bottom:"20px"},100); iOpen=true; } });
下一曲 $("#playlist-next").click(function() { myPlaylist.next(); }); $("#playlist-previous").click(function() { myPlaylist.previous(); }); // 播放 $("#playlist-play").click(function() { myPlaylist.play(); }); $("#playlist-play--2").click麻将胡了模拟器pg下载-麻将胡了模拟器pg下载2025最新版(function() { myPlaylist.play(-2); }); $("#playlist-play--1").click(function() { myPlaylist.play(-1); }); $("#playlist-play-0").click(function() { myPlaylist.play(0); }); $("#playlist-play-1").click(function() { myPlaylist.play(1); }); $("#playlist-play-2").click(function() { myPlaylist.play(2); }); // 暂停 $("#playlist-pause").click(function() { myPlaylist.pause(); }); //是否自动播放 $("#playlist-option-autoPlay-true").click(function() { myPlaylist.option("autoPlay", true); }); $("#playlist-option-autoPlay-false").click(function() { myPlaylist.option("autoPlay", false); }); //播放器列表滚动条js-----------------------------------------------------------------------------------------------破解版pg赏金女王- var $bar=$(".bar"); var $scrollBar=$(".scrollBar"); var $maxH = $scrollBar.innerHeight() - $bar.outerHeight(); var $ul=$(".jp-playlist ul"); var $li=$(".jp-playlist ul li"); var disY=0; var iScale=0; var iSpeed = 0; $ul.height(1000); //设置ul的高度 $bar.mousedown(function (event){ var event = event || window.event; disY = event.clientY - $(this).position().top; $(document).bind("mousemove",function (event){ var event = event || window.event; var iH = event.clientY - disY; iH <= 0 && (iH = 0); iH >= $maxH && (iH = $maxH); $bar.css({top : iH + "px"}); iScale = - iH/$maxH; $ul.css({top:iScale*($ul.height()-$(".jp-playlist-box").height())+"px"}); return false; }); $(document).bind("mouseup",function (){ $(document).unbind("mousemove"); $(document).unbind("mouseup"); }); return false; }); //当鼠标移入,可自行修改代码添加自己的歌曲---在线演示
// MP3播放器及歌曲库jsvar myPlaylist = new jPlayerPlaylist({ jPlayer: "#jquery_jplayer_N", cssSelectorAncestor: "#jp_container_N" }, [ { title: "最近", artist: "李圣杰", mp3:"http://img.bokequ.com/music/zuijin.mp3", poster: "http://www.bokequ.com/show/yinyue/9/images/zuijin.jpg"}, { title: "当你孤单你会想起谁", artist: "张栋梁", mp3:"http://www.bokequ.com/show/yinyue/10/audio/gundan.mp3", poster: "http://www.bokequ.com/show/yinyue/10/img/gundan.jpg"}, { title: "黄昏", artist: "周传雄", mp3:"http://www.bokequ.com/show/yinyue/10/audio/huanghun.mp3", poster: "http://www.bokequ.com/show/yinyue/10/img/huanghun.jpg"}, { title: "十指紧扣", artist: "张智霖", mp3: "http://www.bokequ.com/show/yinyue/10/audio/shizhijikou.mp3", poster:"http://www.bokequ.com/show/yinyue/10/img/shizhi.jpg"}, { title: "笔记", artist: "周笔畅", mp3: "http://www.bokequ.com/blog/2/images/biji.mp3", poster:"http://www.bokequ.com/blog/2/images/07.jpg"} ], {playlistOptions:{enableRemoveControls: true}, swfPath: "js/", supplied: "webmv, ogv, m4v, oga, mp3", useStateClassSkin: true, autoBlur: false, smoothPlayBar: true, keyEnabled: true, audioFullScreen: true }); //添加播放歌曲 $("#latest li").find("a.playIcon").click(function() { var k=$(this).parent("li").index(); myPlaylist.add({ title:latest[k].title, artist:latest[k].artist, //free:true, mp3:latest[k].mp3, //oga:"", poster:latest[k].poster }); myPlaylist.play(-1); }); $("#popular li").find("a.playIcon").click(function() { var k=$(this).parent("li").index(); myPlaylist.add({ title:popular[k].title, artist:popular[k].artist, //free:true, mp3:popular[k].mp3, //oga:"", poster:popular[k].poster }); myPlaylist.play(-1); }); $("#rank li").find("a.playIcon").click(function() { var k=$(this).parent("li").index(); myPlaylist.add({ title:rank[k].title, artist:rank[k].artist, //free:true, mp3:rank[k].mp3, //oga:"", poster:rank[k].poster }); myPlaylist.play(-1); }); $("#main li").find("a.playIcon").click(function () { var k = $(this).parent("li").index(); myPlaylist.add({ title: main[k].title, artist: main[k].artist, //free:true, mp3: main[k].mp3, //oga:"", poster: main[k].poster }); myPlaylist.play(-1);}); $("#spirit li").find("a.playIcon").click(function () { var k = $(this).parent("li").index(); myPlaylist.add({ title: spirit[k].title, artist: spirit[k].artist, //free:true, mp3: spirit[k].mp3, //oga:"", poster: spirit[k].poster }); myPlaylist.play(-1);});$("#magic li").find("a.playIcon").click(function () { var m = $(this).parent("li").index(); myPlaylist.add({ title: magic[m].title, artist: magic[m].artist, //free:true, mp3: magic[m].mp3, //oga:"", poster: magic[m].poster }); myPlaylist.play(-1);}); //添加歌曲结束 //移除 $("#playlist-remove").click(function() { myPlaylist.remove(); //(0 1 2 ... -2 -1) }); $("#listRemove").click(function() { myPlaylist.remove(); }); // 上一曲、运动回去 $(".jp-video").animate({left:0},"slow",function(){ slideOut($(this)); }).delay(2000).animate({left:"-480px"},350,function(){ slideIn($(this)); }); //点击按钮运动出来,
Tags:
相关文章
wordpress网站标题文章如何批量修改
jQuer麻将胡了模拟器pg下载-麻将胡了模拟器pg下载2025最新版y粉破解版pg赏金女王色个性侧边悬浮音乐播放器插件当大家wordpress更换域名时,要对wordpress文章内容的某个关键词修改、锚文本链接的修改,标题的修改等。对于上千篇文章的网站来说,一个个打开修改不但麻烦还费时间,这时就要用到批量修改。可以...
阅读更多
SEO优化文章内容的9个技巧
jQuer麻将胡了模拟器pg下载-麻将胡了模拟器pg下载2025最新版y粉破解版pg赏金女王色个性侧边悬浮音乐播放器插件1.确保你的内容全面地回答了用户的问题当用户在搜索引擎中输入一个问题时, 他希望找到一个清晰, 准确, 和完整的答案。如果你的内容不能满足他的需求, 他就会很快地离开你的网站, 去寻找其他的资源。这种...
阅读更多
利用excel分析IIS服务器日志
jQuer麻将胡了模拟器pg下载-麻将胡了模拟器pg下载2025最新版y粉破解版pg赏金女王色个性侧边悬浮音乐播放器插件网站日志分析是SEO一个很重要的工作,在网站常规SEO期间,要定期观测一次,并且进行统计记录分析。一个合格的站长或者seoer必须要能看懂网站的服务器日志文件,这个日志记录了网站被搜索引擎爬取的痕迹等...
阅读更多