x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
imgchg.js - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\kahsuen\网站\music\imgchg.js
旋转
特效
属性
历史版本
toggleKey =new Object(); toggleKey[0] = "_off"; toggleKey[1] = "_on"; toggleKey[2] = "_ovr"; toggleKey[3] = "_out"; toggleKey[4] = "_mdn"; toggleKey[5] = "_mup"; function imgChange(id , act){ if(document.images){ document.images[id].src = eval("img."+ id + toggleKey[act] + ".src");} } // �̹��� ������ imgChange('img �ױ� name' , 0) �϶� off �̹���, imgChange('img �ױ� name' , 1) �̸� on �̹��� // �� �̹��� ��ư�� �ѿ��� �̹����� �߰� �����Ϸ��� �Ʒ� ����ó�� on,off �̹��� ������ �� �Լ��������� ȣ�� if(document.images){ img = new Object(); // mute ��ư �̹��� ��� img.vmute_off = new Image(); img.vmute_off.src = "./img/btn_mute_off.gif"; img.vmute_on = new Image(); img.vmute_on.src = "./img/btn_mute_on.gif"; // �÷��̸�� (����.����) �̹��� ��� img.pmode_off = new Image(); img.pmode_off.src = "./img/btn_rndmode_off.gif"; img.pmode_on = new Image(); img.pmode_on.src = "./img/btn_rndmode_on.gif"; // loop ��ư �̹��� ��� img.rept_off = new Image(); img.rept_off.src = "./img/btn_rept_off.gif"; img.rept_on = new Image(); img.rept_on.src = "./img/btn_rept_on.gif"; // Play ��ư �̹��� ��� img.playt_off = new Image(); img.playt_off.src = "./img/btn_play.gif"; img.playt_on = new Image(); img.playt_on.src = "./img/btn_play_on.gif"; img.playt_ovr = new Image(); img.playt_ovr.src = "./img/btn_play_ovr.gif"; // Pause & Play ��ư �̹��� ��� img.pauzt_off = new Image(); img.pauzt_off.src = "./img/btn_pauz_off.gif"; img.pauzt_on = new Image(); img.pauzt_on.src = "./img/btn_pauz_on.gif"; img.pauzt_ovr = new Image(); img.pauzt_ovr.src = "./img/btn_pauz_ovr.gif"; // Stop ��ư �̹��� ��� img.stopt_off = new Image(); img.stopt_off.src = "./img/btn_stop.gif"; img.stopt_on = new Image(); img.stopt_on.src = "./img/btn_stop_on.gif"; img.stopt_ovr = new Image(); img.stopt_ovr.src = "./img/btn_stop_ovr.gif"; //Scope �̹��� ��� img.scope_off=new Image(); img.scope_off.src="./img/scope_off.gif"; img.scope_on=new Image(); img.scope_on.src="./img/scope_on.gif"; //Prev Ʈ�� ��� img.prevt_out = new Image(); img.prevt_out.src = "./img/btn_prev.gif"; img.prevt_ovr = new Image(); img.prevt_ovr.src = "./img/btn_prev_ovr.gif"; //Next Ʈ�� ��� img.nextt_out = new Image(); img.nextt_out.src = "./img/btn_next.gif"; img.nextt_ovr = new Image(); img.nextt_ovr.src = "./img/btn_next_ovr.gif"; //���� UP ��� img.vup_out = new Image(); img.vup_out.src = "./img/btn_vup.gif"; img.vup_ovr = new Image(); img.vup_ovr.src = "./img/btn_vup_ovr.gif"; //���� Down ��� img.vdn_out = new Image(); img.vdn_out.src = "./img/btn_vdn.gif"; img.vdn_ovr = new Image(); img.vdn_ovr.src = "./img/btn_vdn_ovr.gif"; //�÷��̸���Ʈ ��� img.plist_out = new Image(); img.plist_out.src = "./img/btn_plist.gif"; img.plist_ovr = new Image(); img.plist_ovr.src = "./img/btn_plist_ovr.gif"; } function imgtog(tg , act){ if(tg=="vmute"){ if(act=="2"){ imgChange("vmute", 1);} else{imgmute("vmute",0);} } if(tg=="vdn"){ if(act=="2"){ imgChange("vdn", 2);} else{imgChange("vdn",3);} } if(tg=="vup"){ if(act=="2"){ imgChange("vup", 2);} else{imgChange("vup",3);} } if(tg=="pmode"){ if(act=="2"){ imgChange("pmode", 1);} else{imgrnd();} } if(tg=="rept"){ if(act=="2"){ imgChange("rept", 1);} else{imgrept();} } if(tg=="nextt"){ if(act=="2"){ imgChange("nextt", 2);} else{imgChange("nextt",3);} } if(tg=="prevt"){ if(act=="2"){ imgChange("prevt", 2);} else{imgChange("prevt",3);} } if(tg=="pauzt"){ if(act=="2"){ imgpauz(2);} else{imgpauz();} } if(tg=="playt"){ if(act=="2"){ imgplay(2);} else{imgplay();} } if(tg=="stopt"){ if(act=="2"){ imgstop(2);} else{imgstop();} } if(tg=="plist"){ if(act=="2"){ imgChange("plist", 2);} else{imgChange("plist",3);} } } function imgmute(){ var ps=Exobud.settings; if(ps.mute){ imgChange("vmute",1);} else{imgChange("vmute",0);} } function imgrnd(){ if(blnRndPlay){imgChange("pmode", 1);} else{imgChange("pmode", 0);} } function imgrept(){ if(blnRept){imgChange("rept", 1);} else{imgChange("rept", 0);} } function imgpauz(f){ var wmps=Exobud.playState; if(f==2){imgChange("pauzt",2);} else{ if(wmps==2){imgChange("pauzt",1);} else{imgChange("pauzt",0);} } } function imgplay(f){ var wmps=Exobud.playState; if(f==2){ imgChange("playt",2);} else{ if(wmps==3){imgChange("playt",1);} else{imgChange("playt",0);} } } function imgstop(f){ var wmps=Exobud.playState; if(f==2){ imgChange("stopt",2);} else{ if(wmps==2 || wmps==3){imgChange("stopt",0);} else{imgChange("stopt",1);} } }
imgchg.js
网页地址
文件地址
上一页
8/12
下一页
下载
( 4 KB )
Comments
Total ratings:
0
Average rating:
无评论
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.