⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.asp

📁 结合了某度和AH的个人主页 功能比较完整
💻 ASP
📖 第 1 页 / 共 2 页
字号:
			newx=event.x
			disx=newx-orix
			newleft=orileft+disx
			if(newleft>-1&&newleft<movelen) mblock.style.left=newleft
		}
	}
	
	function setpos()
	{
		SetPosStart=false
		newleft=mblock.style.pixelLeft
		rcp=Math.floor((newleft/movelen)*rm_tollen)
		SetPosition(rcp)
		setTimeout('moveshow()',timelen)
		DoPlay()
	}
	function getlen()
	{
		PlayState=GetPState();
		if(PlayState==2||PlayState==1||PlayState==0||PlayState==-1) {reget=setTimeout('getlen()',1000);GetLenStart=true}
		else 
		{
			CanSetPos=true;
			rm_tollen=GetLength()
			if(GetLenStart) clearTimeout(reget)
			//timelen=Math.floor(rm_tollen/timesnum)
	//		alert("totaltime:"+rm_tollen+"   timelen:" + timelen);
			
			moveshow()
		}
	}

	function GetFullScreen()
	{
		if(eval(Real+'GetFullScreen()'))
			return true;
		else
			return false;
	}
	
function moveshow()
{
	rm_curpos=GetPosition()
	rm_tollen=GetLength()
	if(!GetFullScreen()&&!fullscreen)
	{
		resttime=rm_tollen-rm_curpos
		if(resttime<timelen) 
		{
			mblock.style.left=movelen;
			setTimeout('MM_Down(3, CanStop, stopimg, st_stop02); ClickStop(); MM_Up(3, CanStop, stopimg, st_stop01, st_stop03)', resttime);
			moveon=false;
			ClickStop();
		}
		else if(rm_curpos<rm_tollen)
		{
			blockpos=Math.floor((movelen/rm_tollen)*rm_curpos)
			mblock.style.left=blockpos
			moveon=true
			mfollow=setTimeout('moveshow()',timelen)
			
		}

		fullscreen=false;
	}
}










function vols()
	{
		if(event.button!=2)
		{
		orix=event.x
		orileft=vblock.style.pixelLeft
		SetVolStart=true
		}
	}
	function volgo()
	{
		if(SetVolStart)
		{
			newx=event.x
			disx=newx-orix
			newleft=orileft+disx
			if(newleft>-1&&newleft<volumlen) vblock.style.left=newleft
		}
	}

	
	
	function setvol(plusnum)
	{
		if(plusnum == 10)
		{
			if(SVolume != 100)
			{
				SVolume += plusnum;
				SetVolume(SVolume);
				
			}
		}
		if(plusnum == -10)
		{
			if(SVolume != 0)
			{
				SVolume += plusnum;
				SetVolume(SVolume);
				
			}
		}
	}
	
	function SetBigWin(srcfile)
	{
		divtvsmall.style.visibility='hidden';
		divtvbig.style.visibility='visible';
		SetWH(240,180);
		divreal.style.top=23;
		bigwin=true;
		if (CanStop)	{M_Down(3,CanStop,stopimg,st_stop02);ClickStop();M_Up(3,CanStop,stopimg,st_stop01,st_stop03) }
		SetSource(srcfile);
		if (AutoPlay)	
		setTimeout('MM_Down(1,1,playimg,st_play02);ClickPlay();MM_Up(1,1,playimg,st_play01,st_play03)',100);
	}
	function SetSmallWin(srcfile)
	{
		divtvbig.style.visibility='hidden';
		divtvsmall.style.visibility='visible';
		SetWH(250,222);
		divreal.style.top=61;
		bigwin=false;
		if (CanStop)	{M_Down(3,CanStop,stopimg,st_stop02);ClickStop();M_Up(3,CanStop,stopimg,st_stop01,st_stop03) }
		SetSource(srcfile);
		if (AutoPlay)	setTimeout('MM_Down(1,1,playimg,st_play02);ClickPlay();MM_Up(1,1,playimg,st_play01,st_play03)',100);
	}
	
	function ChangeSize()
	{
	if(!CanPlay)
		{
		if(bigwin)
			{
				divtvsmall.style.visibility='visible';
				divtvbig.style.visibility='hidden';
				divreal.style.top=40;
				divreal.style.left=13;
				SetWH(232,186);
				bigwin=false;
			}
		else
			{
				divtvsmall.style.visibility='hidden';
				divtvbig.style.visibility='visible';
				divreal.style.top=21;
				divreal.style.left=13;
				SetWH(340,250);
				bigwin=true;
			}
		}
	}
	
	function WinOpen(fileurl)
	{
		var popup = null;
		popup = window.open('', 'popupnav', 'width=320,height=390,left=0,top=0,alwaysraised=1,dependent=1,resizable=0,scrollbars=1');
		if (popup != null) popup.location.href = fileurl;
		popup.focus();
	}
	
</SCRIPT>

<STYLE type=text/css>TD {
	FONT-SIZE: 12px; COLOR: #e4c59a
}
A {
	COLOR: #cccccc; TEXT-DECORATION: none
}
</STYLE>

<SCRIPT language=JavaScript>
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</SCRIPT>

</HEAD>
<BODY text=#000000 oncontextmenu="event.returnValue=false" bgColor=#86540c leftMargin=0 topMargin=0 onload=playy(srcc) onkeydown="KeyDown()">
<script language="Javascript"><!--
function KeyDown(){ 
if ((window.event.altKey)&&
((window.event.keyCode==37)|| //屏蔽 Alt+ 方向键 ←
(window.event.keyCode==39))){ //屏蔽 Alt+ 方向键 →
alert("不准你使用ALT+方向键前进或后退网页!");
event.returnValue=false;
}
if ((event.keyCode==8) || //屏蔽退格删除键
(event.keyCode==116)|| //屏蔽 F5 刷新键
(event.ctrlKey && event.keyCode==82)){ //Ctrl + R
event.keyCode=0;
event.returnValue=false;
}
if ((event.ctrlKey)&&(event.keyCode==78)) //屏蔽 Ctrl+n
event.returnValue=false;
if ((event.shiftKey)&&(event.keyCode==121)) //屏蔽 shift+F10
event.returnValue=false;
if (window.event.srcElement.tagName == "A" && window.event.shiftKey) 
window.event.returnValue = false; //屏蔽 shift 加鼠标左键新开一网页
if ((window.event.altKey)&&(window.event.keyCode==115)){ //屏蔽Alt+F4
window.showModelessDialog("about:blank","","dialogWidth:1px;dialogheight:1px");
return false;}
}
// --></script>
<TABLE height=61 cellSpacing=0 cellPadding=0 width=335 
border=0>
  <TBODY>
  <TR>
    <TD height="61">
      <OBJECT id=RPOCX height=237 width=340 
      classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA bgcolor="#000000">
        <param name="_ExtentX" value="8996">
        <param name="_ExtentY" value="6271">
        <param name="AUTOSTART" value="-1">
        <param name="SHUFFLE" value="0">
        <param name="PREFETCH" value="0">
        <param name="NOLABELS" value="0">
        <param name="CONTROLS" value="Imagewindow">
        <param name="CONSOLE" value="clip1">
        <param name="LOOP" value="0">
        <param name="NUMLOOP" value="0">
        <param name="CENTER" value="0">
        <param name="MAINTAINASPECT" value="0">
        <param name="BACKGROUNDCOLOR" value="#000000"></OBJECT></TD></TR></TBODY></TABLE>

<TABLE height=1 cellSpacing=0 cellPadding=0 width=335 
  border=0><TBODY>
  <TR>
    <TD height="1">
      <TABLE cellSpacing=0 cellPadding=0 width=335 border=0 height="1">
        <TBODY>
        <TR>
          <TD width=7 height="1">&nbsp;</TD>
          <TD width=37 height="1"><IMG 
            onmouseup=M_Up(1,CanPlay,playimg,st_play01,st_play03) 
            onmousedown=M_Down(1,CanPlay,playimg,st_play03) style="CURSOR: hand" 
            onclick=ClickPlay() height=11 src="images/play_b.gif" width=37 
            name=playimg></TD>
          <TD width=6 height="1">&nbsp;</TD>
          <TD width=37 height="1"><IMG 
            onmouseup=M_Up(3,CanStop,stopimg,st_stop01,st_stop03) 
            onmousedown=M_Down(3,CanStop,stopimg,st_stop03) style="CURSOR: hand" 
            onclick=ClickStop() height=11 src="images/stop.gif" width=37 
            name=stopimg></TD>
          <TD width=6 height="1">&nbsp;</TD>
          <TD width=37 height="1"><IMG 
            onmouseup=M_Up(2,CanPause,pauseimg,st_pause01,st_pause03) 
            onmousedown=M_Down(2,CanPause,pauseimg,st_pause03) 
            style="CURSOR: hand" onclick=ClickPause() height=11 
            src="images/pause.gif" width=37 name=pauseimg></TD>
          <TD width=6 height="1">&nbsp;</TD>
          <TD width=93 height="1"><IMG height=11 src="images/course.gif" width=93></TD>
          <TD width=6 height="1">&nbsp;</TD>
          <TD width=11 height="1"><A onclick=ClickSound()><IMG height=11 
            src="images/sound.gif" width=11 border=0 name=soundimg></A></TD>
          <TD width=6 height="1">&nbsp;</TD>
          <TD width=52 height="1"><IMG height=11 src="images/volume2.gif" width=37 
            align=bottom useMap=#Map border=0></TD>
          <TD width=6 height="1">&nbsp;</TD>
          <TD height="1"><IMG style="CURSOR: hand" onclick=SetFullScreen() height=11 
            src="images/full.gif" width=11></TD>
          <TD width=7 height="1">&nbsp;</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE height=48 cellSpacing=0 cellPadding=0 width=335 
  border=0><tr><td></td></tr>
      </TABLE><DIV id=Layer1 
style="Z-INDEX: 1; WIDTH: 200px; POSITION: absolute; HEIGHT: 115px">
<DIV id=buttons 
style="Z-INDEX: 10; LEFT: 44px; WIDTH: 20px; POSITION: absolute; TOP: 4px; HEIGHT: 17px; TEXT-ALIGN: left">
<DIV onmouseup=Total_Up() onmousemove=movego() id=movie 
style="LEFT: 91px; WIDTH: 15px; POSITION: relative; TOP: -85px; HEIGHT: 25px">
<DIV id=mblock 
style="FONT-WEIGHT: normal; FONT-SIZE: 12px; LEFT: 0px; WIDTH: 15px; LINE-HEIGHT: normal; FONT-STYLE: normal; POSITION: absolute; TOP: 20px; HEIGHT: 12px; FONT-VARIANT: normal"><IMG 
onmousedown=moves() style="CURSOR: hand" onclick=moves() height=11 alt=position 
src="images/course_button.gif" width=15 border=0> 
</DIV></DIV></DIV></DIV><MAP name=Map><AREA shape=RECT coords=20,0,37,13 
  href="javascript:setvol(10)"><AREA shape=RECT coords=0,0,16,13 
  href="javascript:setvol(-10)"></MAP></BODY><TD width="25%" height=20><A 
            href="http://www.moudu.com/123" 
            target=_blank><FONT color=red>>>>>推荐一个免费点歌的网站玩玩<<<<</FONT></A></TD>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -