?? 基于vhdl的交通燈控制器設計.htm
字號:
<html>
<head>
<title>基于VHDL的交通燈控制器設計</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
A{TEXT-DECORATION: none;}
A:hover{COLOR: #FF6600;}
A:link {color: #333333;}
A:visited {color: #333333;}
BODY
{
FONT-SIZE: 9pt;background:#ffffff;
text-decoration: none;
SCROLLBAR-FACE-COLOR: #f6f6f6;
SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; SCROLLBAR-SHADOW-COLOR: #cccccc; SCROLLBAR-3DLIGHT-COLOR: #cccccc; SCROLLBAR-ARROW-COLOR: #330000; SCROLLBAR-TRACK-COLOR: #f6f6f6; SCROLLBAR-DARKSHADOW-COLOR: #ffffff;
}
TD
{
FONT-FAMILY:宋體;FONT-SIZE: 9pt;line-height: 150%;
}
Input
{
BACKGROUND-COLOR: #ffffff;
BORDER-BOTTOM: #333333 1px solid;
BORDER-LEFT: #333333 1px solid;
BORDER-RIGHT: #333333 1px solid;
BORDER-TOP: #333333 1px solid;
COLOR: #333333;
HEIGHT: 18px;
border-color: #666666 #666666 #666666 #666666; font-size: 9pt
}
Button
{
FONT-SIZE: 9pt;HEIGHT: 20px;
}
Select
{
FONT-SIZE: 9pt;HEIGHT: 20px;
}
.border
{
BORDER-bottom: #666666 1px solid #999999;BORDER-top: #666666 1px solid #999999;background:url(Skin/01/border.gif);
}
.border2
{
BORDER-bottom: #cc0000 2px solid; border-right: 1px solid #000000;border-left: 1px solid #000000;background:#ffffff
}
.title_txt
{
background:url(Skin/01/topBar_bg_20.gif);
}
.title
{
background:#cccccc;height: 20;
}
.tdbg
{
border-right: 1px solid #000000;border-left: 1px solid #000000;background:#ffffff;line-height: 150%;
}
.txt_css
{
border-right: 1px solid #666666;border-left: 1px solid #666666;background:url(Skin/01/txt_css.gif);height: 36;
}
.title_lefttxt
{
filter:Glow(Color=#ffffff, Strength=5)
}
.title_left
{
background:url(Skin/01/title_left.gif);height: 26;
}
.tdbg_left
{
background:url(Skin/01/tdbg_left.gif);line-height: 150%;
}
.title_left2
{
background:url(Skin/01/title_left2.gif);height: 10;
}
.tdbg_left2
{
background:url(Skin/01/tdbg_left2.gif);height: 13;
}
.tdbg_leftall
{
background:#f6f6f6;
}
.title_maintxt
{
filter:DropShadow(Color=#ffffff, OffX=1, OffY=1, Positive=1)
}
.title_main
{
background:url(Skin/01/title_main.gif);height: 22;
}
.tdbg_main
{
background:url(Skin/01/tdbg_main2.GIF);line-height: 100%;
}
.title_main2
{
background:url(Skin/01/maintop.gif);height: 202;
}
.tdbg_main2
{
background:url(Skin/01/tdbg_main3.GIF);height: 27;
}
.tdbg_mainall
{
background:url(Skin/01/kt01-p1.GIF);
}
.title_righttxt
{
filter:Glow(Color=#ffffff, Strength=5)
}
.title_right
{
background:url(Skin/01/title_right.gif);height: 26;
}
.tdbg_right
{
background:url(Skin/01/tdbg_right.gif);line-height: 150%;
}
.title_right2
{
background:url(Skin/01/title_right2.gif);height: 23;
}
.tdbg_right2
{
background:url(Skin/01/tdbg_right2.gif);height: 23;
}
.tdbg_rightall
{
background:#f6f6f6;border-: 1px solid #A1A1A1;
}
.topborder
{
border-right: 1px solid #000000;border-left: 1px solid #000000;background-image: url(Skin/01/topborder.gif);
}
.nav_top
{
background:url(Skin/01/nav_top.gif);height: 25;
}
.nav_main
{
background:url(Skin/01/nav_main.gif);
line-height: 150%;height: 134;
}
.nav_bottom
{
border-right: 1px solid #000000;border-left: 1px solid #000000;background-image: url(Skin/01/nav_bottom.gif);height: 5;
}
.nav_menu
{
background:url(Skin/01/nav_menu.gif);height: 24;
}
.menu
{
background-color: #cccccc;width:97%;border: 1px;
}
td.MenuBody
{
background-color: #ffffff;
}
</style>
<script language="JavaScript" type="text/JavaScript">
//下拉菜單相關代碼
var h;
var w;
var l;
var t;
var topMar = 1;
var leftMar = -2;
var space = 1;
var isvisible;
var MENU_SHADOW_COLOR='#cccccc';//定義下拉菜單陰影色
var global = window.document
global.fo_currentMenu = null
global.fo_shadows = new Array
function HideMenu()
{
var mX;
var mY;
var vDiv;
var mDiv;
if (isvisible == true)
{
vDiv = document.all("menuDiv");
mX = window.event.clientX + document.body.scrollLeft;
mY = window.event.clientY + document.body.scrollTop;
if ((mX < parseInt(vDiv.style.left)) || (mX > parseInt(vDiv.style.left)+vDiv.offsetWidth) || (mY < parseInt(vDiv.style.top)-h) || (mY > parseInt(vDiv.style.top)+vDiv.offsetHeight)){
vDiv.style.visibility = "hidden";
isvisible = false;
}
}
}
function ShowMenu(vMnuCode,tWidth) {
vSrc = window.event.srcElement;
vMnuCode = "<table id='submenu' cellspacing=1 cellpadding=3 style='width:"+tWidth+"' class=menu onmouseout='HideMenu()'><tr height=23><td nowrap align=left class=MenuBody>" + vMnuCode + "</td></tr></table>";
h = vSrc.offsetHeight;
w = vSrc.offsetWidth;
l = vSrc.offsetLeft + leftMar+4;
t = vSrc.offsetTop + topMar + h + space-2;
vParent = vSrc.offsetParent;
while (vParent.tagName.toUpperCase() != "BODY")
{
l += vParent.offsetLeft;
t += vParent.offsetTop;
vParent = vParent.offsetParent;
}
menuDiv.innerHTML = vMnuCode;
menuDiv.style.top = t;
menuDiv.style.left = l;
menuDiv.style.visibility = "visible";
isvisible = true;
makeRectangularDropShadow(submenu, MENU_SHADOW_COLOR, 4)
}
function makeRectangularDropShadow(el, color, size)
{
var i;
for (i=size; i>0; i--)
{
var rect = document.createElement('div');
var rs = rect.style
rs.position = 'absolute';
rs.left = (el.style.posLeft + i) + 'px';
rs.top = (el.style.posTop + i) + 'px';
rs.width = el.offsetWidth + 'px';
rs.height = el.offsetHeight + 'px';
rs.zIndex = el.style.zIndex - i;
rs.backgroundColor = color;
var opacity = 1 - i / (i + 1);
rs.filter = 'alpha(opacity=' + (100 * opacity) + ')';
el.insertAdjacentElement('afterEnd', rect);
global.fo_shadows[global.fo_shadows.length] = rect;
}
}
</script>
<script language='JavaScript' type='text/JavaScript'>
//菜單列表
var menu_skin=" <a style=font-size:9pt;line-height:14pt; href='SetCookie.asp?Action=SetSkin&ClassID=77&SkinID=9'>E網樂園</a><br>";
</script>
<script type='text/javascript' language='JavaScript1.2' src='stm31.js'></script>
<script language="JavaScript" type="text/JavaScript">
//樹形導航的JS代碼
document.write("<style type=text/css>#master {LEFT: -200px; POSITION: absolute; TOP: 25px; VISIBILITY: visible; Z-INDEX: 999}</style>")
document.write("<table id=master width='218' border='0' cellspacing='0' cellpadding='0'><tr><td><img border=0 height=6 src=images/menutop.gif width=200></td><td rowspan='2' valign='top'><img id=menu onMouseOver=javascript:expand() border=0 height=70 name=menutop src=images/menuo.gif width=18></td></tr>");
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -