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

📄 仿“影音传送带”界面_界面-窗口_vc源码下载_vc源动力.htm

📁 窗体分割文档
💻 HTM
📖 第 1 页 / 共 4 页
字号:
}
function content_mouseout() {
if (!animating) {
parentMenuSet.hideMenu(_this);
}
}
function child_mouseover() {
if (!animating) {
parentMenuSet.showMenu(_this);
}
}
function child_deactivate() {
for (var i = 0; i < childMenus.length; i++) {
if (childMenus[i] == this) {
dehighlight(elmCache["item"][i]);
break;
}
}
}
function child_queue() {
parentMenuSet.hideMenu(_this);
}
function toString() {
var aHtml = [];
var sClassName = "mtDropdownMenu" + (oActuator.constructor != mtDropDownItem ? " top" : "");
for (var i = 0, item = null; item = this.items[i]; i++) {
aHtml[i] = item.toString(childMenus[i]);
}
return '<div id="' + id + '" class="' + sClassName + '">' + 
'<div class="content"><table class="items" cellpadding="0" cellspacing="0" border="0">' + 
'<tr><td colspan="2"><img src="' + mtDropDown.spacerGif + '" width="1" height="' + mtDropDown.menuPadding + '"></td></tr>' + 
aHtml.join('') + 
'<tr><td colspan="2"><img src="' + mtDropDown.spacerGif + '" width="1" height="' + mtDropDown.menuPadding + '"></td></tr></table>' + 
'<div class="shadowBottom"><img src="' + mtDropDown.spacerGif + '" width="1" height="1"></div>' + 
'<div class="shadowRight"><img src="' + mtDropDown.spacerGif + '" width="1" height="1"></div>' + 
'<div class="background"><img src="' + mtDropDown.spacerGif + '" width="1" height="1"></div>' + 
'</div></div>';
}
}

mtDropDownSet.registry = [];
function mtDropDownSet(iDirection, iLeft, iTop, iReferencePoint) {

this.addMenu = addMenu;
this.showMenu = showMenu;
this.hideMenu = hideMenu;
this.hide = hide;

var menus = [];
var _this = this;
var current = null;
this.index = mtDropDownSet.registry.length;
mtDropDownSet.registry[this.index] = this;

function addMenu(oActuator) {
var m = new mtDropDown(oActuator, iDirection, iLeft, iTop, iReferencePoint, this);
menus[menus.length] = m;
return m;
}
function showMenu(oMenu) {
if (oMenu != current) {

if (current != null) hide(current); 

current = oMenu;

oMenu.show();
}
else {

cancelHide(oMenu);
}
}
function hideMenu(oMenu) {

if (current == oMenu && oMenu.isOpen) {

if (!oMenu.hideTimer) scheduleHide(oMenu);
}
}
function scheduleHide(oMenu) {

oMenu.onqueue();
oMenu.hideTimer = window.setTimeout("mtDropDownSet.registry[" + _this.index + "].hide(mtDropDown.registry[" + oMenu.index + "])", mtDropDown.hideDelay);
}
function cancelHide(oMenu) {

if (oMenu.hideTimer) {
window.clearTimeout(oMenu.hideTimer);
oMenu.hideTimer = null;
}
}
function hide(oMenu) { 
if (!oMenu && current) oMenu = current;
if (oMenu && current == oMenu && oMenu.isOpen) {

cancelHide(oMenu);
current = null;
oMenu.hideTimer = null;
oMenu.hide();
}
}
}

function mtDropDownItem(sText, sUrl, oParent) {
this.toString = toString;
this.text = sText;
this.url = sUrl;
this.parentMenu = oParent;
function toString(bDingbat) {
var sDingbat = bDingbat ? mtDropDown.dingbatOff : mtDropDown.spacerGif;
var iEdgePadding = mtDropDown.itemPadding + mtDropDown.menuPadding;
var sPaddingLeft = "padding:" + mtDropDown.itemPadding + "px; padding-left:" + iEdgePadding + "px;"
var sPaddingRight = "padding:" + mtDropDown.itemPadding + "px; padding-right:" + iEdgePadding + "px;"
return '<tr class="item"><td nowrap style="' + sPaddingLeft + '">' + 
sText + '</td><td width="14" style="' + sPaddingRight + '">' + 
'<img src="' + sDingbat + '" width="14" height="14"></td></tr>';
}
}

function Accelimation(from, to, time, zip) {
if (typeof zip == "undefined") zip = 0;
if (typeof unit == "undefined") unit = "px";
this.x0 = from;
this.x1 = to;
this.dt = time;
this.zip = -zip;
this.unit = unit;
this.timer = null;
this.onend = new Function();
this.onframe = new Function();
}

Accelimation.prototype.start = function() {
this.t0 = new Date().getTime();
this.t1 = this.t0 + this.dt;
var dx = this.x1 - this.x0;
this.c1 = this.x0 + ((1 + this.zip) * dx / 3);
this.c2 = this.x0 + ((2 + this.zip) * dx / 3);
Accelimation._add(this);
}

Accelimation.prototype.stop = function() {
Accelimation._remove(this);
}

Accelimation.prototype._paint = function(time) {
if (time < this.t1) {
var elapsed = time - this.t0;
this.onframe(Accelimation._getBezier(elapsed/this.dt,this.x0,this.x1,this.c1,this.c2));
}
else this._end();
}

Accelimation.prototype._end = function() {
Accelimation._remove(this);
this.onframe(this.x1);
this.onend();
}

Accelimation._add = function(o) {
var index = this.instances.length;
this.instances[index] = o;

if (this.instances.length == 1) {
this.timerID = window.setInterval("Accelimation._paintAll()", this.targetRes);
}
}

Accelimation._remove = function(o) {
for (var i = 0; i < this.instances.length; i++) {
if (o == this.instances[i]) {
this.instances = this.instances.slice(0,i).concat( this.instances.slice(i+1) );
break;
}
}

if (this.instances.length == 0) {
window.clearInterval(this.timerID);
this.timerID = null;
}
}

Accelimation._paintAll = function() {
var now = new Date().getTime();
for (var i = 0; i < this.instances.length; i++) {
this.instances[i]._paint(now);
}
}

Accelimation._B1 = function(t) { return t*t*t }
Accelimation._B2 = function(t) { return 3*t*t*(1-t) }
Accelimation._B3 = function(t) { return 3*t*(1-t)*(1-t) }
Accelimation._B4 = function(t) { return (1-t)*(1-t)*(1-t) }

Accelimation._getBezier = function(percent,startPos,endPos,control1,control2) {
return endPos * this._B1(percent) + control2 * this._B2(percent) + control1 * this._B3(percent) + startPos * this._B4(percent);
}

Accelimation.instances = [];
Accelimation.targetRes = 10;
Accelimation.timerID = null;

</SCRIPT>

            <SCRIPT language=javascript>
//原 mt_dropdown_initialize.js
		var preloaded = [];

		// here is a lame preloading script i am putting in just for demonstration
		for (var i = 1; i <= 8; i++) {
			preloaded[i] = [loadImage(i + "-0.gif"), loadImage(i + "-1.gif")];
		}

		function init() {
			if (mtDropDown.isSupported()) {
				mtDropDown.initialize();
			}
		}

		// this is a crappy example preloader. Use whichever one you want.
		function loadImage(sFilename) {
			var img = new Image();
			img.src ="images/" + sFilename;
			return img;
		}
</SCRIPT>

            <TABLE cellSpacing=0 cellPadding=0 width="100%" align=left 
              border=0><TBODY>
              <TR>
                <TD class=top noWrap><SPAN 
                  style="COLOR: #ffffff; HEIGHT: 9px">|</SPAN> <SPAN 
                  style="COLOR: #ffffff; HEIGHT: 9px"><A class=MenuType id=menu1 
                  title=C/C++技术文章 
                  href="http://www.xiaozhou.net/Type.asp?TypeId=17">C/C++技术文章</A>&nbsp;|</SPAN> 
                  <SPAN style="COLOR: #ffffff; HEIGHT: 9px"><A class=MenuType 
                  id=menu2 title=VC技术文章 
                  href="http://www.xiaozhou.net/Type.asp?TypeId=14">VC技术文章</A>&nbsp;|</SPAN> 
                  <SPAN style="COLOR: #ffffff; HEIGHT: 9px"><A class=MenuType 
                  id=menu3 title=VC源码下载 
                  href="http://www.xiaozhou.net/Type.asp?TypeId=15">VC源码下载</A>&nbsp;|</SPAN> 
                  <SPAN style="COLOR: #ffffff; HEIGHT: 9px"><A class=MenuType 
                  id=menu4 title=可重用类 
                  href="http://www.xiaozhou.net/Type.asp?TypeId=19">可重用类</A>&nbsp;|</SPAN> 
                  <SPAN style="COLOR: #ffffff; HEIGHT: 9px"><A class=MenuType 
                  id=menu5 title=教程下载 
                  href="http://www.xiaozhou.net/Type.asp?TypeId=16">教程下载</A>&nbsp;|</SPAN> 
                  <SPAN style="COLOR: #ffffff; HEIGHT: 9px"><A class=MenuType 
                  id=menu6 title=.NET技术 
                  href="http://www.xiaozhou.net/Type.asp?TypeId=21">.NET技术</A>&nbsp;|</SPAN> 
                  <SPAN style="COLOR: #ffffff; HEIGHT: 9px"><A class=MenuType 
                  id=menu7 title=软件下载 
                  href="http://www.xiaozhou.net/Type.asp?TypeId=20">软件下载</A>&nbsp;|</SPAN> 
                  <SPAN style="COLOR: #ffffff; HEIGHT: 9px"><A class=MenuType 
                  id=menu8 title=休闲一刻 
                  href="http://www.xiaozhou.net/Type.asp?TypeId=18">休闲一刻</A>&nbsp;|</SPAN>
                  <SCRIPT language=javascript>if (mtDropDown.isSupported()) {	var ms = new mtDropDownSet(mtDropDown.direction.down, 0, 0, mtDropDown.reference.bottomLeft);	var menu1 = ms.addMenu(document.getElementById('menu1'));	menu1.addItem('- 基本算法','BigClass.asp?TypeId=17&BigClassId=38'); 	menu1.addItem('- 加密解密','BigClass.asp?TypeId=17&BigClassId=39'); 	menu1.addItem('- 其他','BigClass.asp?TypeId=17&BigClassId=40'); 	var menu2 = ms.addMenu(document.getElementById('menu2'));	menu2.addItem('- 平台/系统','BigClass.asp?TypeId=14&BigClassId=31'); 	menu2.addItem('- 界面/窗口','BigClass.asp?TypeId=14&BigClassId=32'); 	menu2.addItem('- 数据库','BigClass.asp?TypeId=14&BigClassId=33'); 	menu2.addItem('- 网络/通信','BigClass.asp?TypeId=14&BigClassId=34'); 	menu2.addItem('- 文件','BigClass.asp?TypeId=14&BigClassId=54'); 	menu2.addItem('- DLL编程','BigClass.asp?TypeId=14&BigClassId=55'); 	menu2.addItem('- 多线程','BigClass.asp?TypeId=14&BigClassId=57'); 	menu2.addItem('- 多媒体/游戏','BigClass.asp?TypeId=14&BigClassId=35'); 	menu2.addItem('- 图形编程','BigClass.asp?TypeId=14&BigClassId=56'); 	menu2.addItem('- 组件','BigClass.asp?TypeId=14&BigClassId=36'); 	menu2.addItem('- 其他','BigClass.asp?TypeId=14&BigClassId=37'); 	var menu3 = ms.addMenu(document.getElementById('menu3'));	menu3.addItem('- 平台/系统','BigClass.asp?TypeId=15&BigClassId=41'); 	menu3.addItem('- 界面/窗口','BigClass.asp?TypeId=15&BigClassId=42'); 	menu3.addItem('- 数据库','BigClass.asp?TypeId=15&BigClassId=43'); 	menu3.addItem('- 网络/通信','BigClass.asp?TypeId=15&BigClassId=44'); 	menu3.addItem('- 多媒体/游戏','BigClass.asp?TypeId=15&BigClassId=45'); 	menu3.addItem('- 组件','BigClass.asp?TypeId=15&BigClassId=46'); 	menu3.addItem('- 其他','BigClass.asp?TypeId=15&BigClassId=47'); 	var menu4 = ms.addMenu(document.getElementById('menu4'));	menu4.addItem('- 界面控件','BigClass.asp?TypeId=19&BigClassId=58'); 	menu4.addItem('- 网络通信','BigClass.asp?TypeId=19&BigClassId=59'); 	menu4.addItem('- 系统平台','BigClass.asp?TypeId=19&BigClassId=60'); 	var menu5 = ms.addMenu(document.getElementById('menu5'));	menu5.addItem('- VC教程','BigClass.asp?TypeId=16&BigClassId=48'); 	menu5.addItem('- 汇编教程','BigClass.asp?TypeId=16&BigClassId=49'); 	menu5.addItem('- 其他','BigClass.asp?TypeId=16&BigClassId=50'); 	var menu6 = ms.addMenu(document.getElementById('menu6'));	menu6.addItem('- .NET技术与前瞻','BigClass.asp?TypeId=21&BigClassId=61'); 	menu6.addItem('- WebService','BigClass.asp?TypeId=21&BigClassId=62'); 	menu6.addItem('- .NET FrameWork','BigClass.asp?TypeId=21&BigClassId=63'); 	menu6.addItem('- C#开发','BigClass.asp?TypeId=21&BigClassId=64'); 	var menu7 = ms.addMenu(document.getElementById('menu7'));	menu7.addItem('- 常用软件','BigClass.asp?TypeId=20&BigClassId=65'); 	menu7.addItem('- CooldogSoft','BigClass.asp?TypeId=20&BigClassId=66'); 	var menu8 = ms.addMenu(document.getElementById('menu8'));	menu8.addItem('- 壁纸收藏','BigClass.asp?TypeId=18&BigClassId=51'); 	menu8.addItem('- 趣味小游戏','BigClass.asp?TypeId=18&BigClassId=52'); 	menu8.addItem('- 经典FLASH','BigClass.asp?TypeId=18&BigClassId=53'); 	mtDropDown.renderAll();	}	//==========================	//        菜单结束	//==========================</SCRIPT>
                   </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE width=760 align=center>
  <TBODY>
  <TR align=middle>
    <TD height=90><A href="http://www.3366.net.cn/" target=_blank><IMG 
      src="仿“影音传送带”界面_界面-窗口_VC源码下载_VC源动力.files/AD76090.gif"></A> 
</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center bgColor=#ffffff 
border=0>
  <TBODY>
  <TR vAlign=top>
    <TD>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD vAlign=top>
            <TABLE cellSpacing=0 cellPadding=0 width="102%" border=0>
              <TBODY>
              <TR bgColor=#ffffff>
                <TD bgColor=#ffffff height=3><IMG height=3 
                  src="仿“影音传送带”界面_界面-窗口_VC源码下载_VC源动力.files/kb.gif" 
width=9></TD></TR>
              <TR bgColor=#ffffff>
                <TD width="100%" 
                background=仿“影音传送带”界面_界面-窗口_VC源码下载_VC源动力.files/menu-guestbook.gif 
                height=25>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;栏目导航<A 
                  class=daohang 
                  href="http://www.xiaozhou.net/">&nbsp;</A><STRONG><A 
                  class=daohang 
                  href="http://www.xiaozhou.net/">网站首页</A>&gt;&gt;<A 
                  class=daohang 
                  href="http://www.xiaozhou.net/Type.asp?TypeId=15">VC源码下载</A>&gt;&gt;<A 
                  class=daohang 
                  href="http://www.xiaozhou.net/BigClass.asp?TypeId=15&amp;BigClassid=42">界面/窗口</A> 

⌨️ 快捷键说明

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