📄 在液晶上画斜线的程序.htm
字号:
<html>
<head>
<title>在液晶上画斜线的程序</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.style1 {color: #0099cc}
-->
</style>
<link href='/Skin/Skin3.css' rel='stylesheet' type='text/css'> <script language='JavaScript' type='text/JavaScript' src='/js/menu.js'></script>
<script type='text/javascript' language='JavaScript1.2' src='/js/stm31.js'></script>
<script language="JavaScript" type="text/JavaScript">
//改变图片大小
function resizepic(thispic)
{
if(thispic.width>700){thispic.height=thispic.height*700/thispic.width;thispic.width=700;}
}
//无级缩放图片大小
function bbimg(o)
{
var zoom=parseInt(o.style.zoom, 10)||100;
zoom+=event.wheelDelta/12;
if (zoom>0) o.style.zoom=zoom+'%';
return false;
}
//双击鼠标滚动屏幕的代码
var currentpos,timer;
function initialize()
{
timer=setInterval ("scrollwindow ()",30);
}
function sc()
{
clearInterval(timer);
}
function scrollwindow()
{
currentpos=document.body.scrollTop;
window.scroll(0,++currentpos);
if (currentpos !=document.body.scrollTop)
sc();
}
document.onmousedown=sc
document.ondblclick=initialize
//更改字体大小
var status0='';
var curfontsize=10;
var curlineheight=18;
function fontZoomA(){
if(curfontsize>8){
document.getElementById('fontzoom').style.fontSize=(--curfontsize)+'pt';
document.getElementById('fontzoom').style.lineHeight=(--curlineheight)+'pt';
}
}
function fontZoomB(){
if(curfontsize<64){
document.getElementById('fontzoom').style.fontSize=(++curfontsize)+'pt';
document.getElementById('fontzoom').style.lineHeight=(++curlineheight)+'pt';
}
}
</script>
</head>
<body oncontextmenu='return false' ondragstart='return false' onselectstart ='return false' onselect='document.selection.empty()' oncopy='document.selection.empty()' onbeforecopy='return false' onmouseup='document.selection.empty()'>
<div id=menuDiv style="Z-INDEX: 1000; VISIBILITY: hidden; WIDTH: 1px; POSITION: absolute; HEIGHT: 1px; BACKGROUND-COLOR: #9cc5f8">
</div>
<table height=114 cellSpacing=0 cellPadding=0 width=778 align=center background=/Skin/Ocean/top_bg.jpg border=0>
<tr>
<td width=213><a href='http://www.61ic.com' title='61IC中国电子在线' target='_blank'><img src='http://www.61ic.com/images/logo.gif' width='213' height='114' border='0'></a></td>
<td>
<table cellSpacing=0 cellPadding=0 width="100%" border=0>
<tr>
<td colSpan=2 align="right">
<table cellSpacing=0 cellPadding=0 align=right border=0>
<tr>
<td><a href="/Announcelist.asp"><IMG height=25 src="/Skin/Ocean/Announce_01.jpg" border="0" alt="网站公告列表"></a></td>
<td class=showa width=280 background=/Skin/Ocean/Announce_02.jpg><MARQUEE onmouseover=this.stop() onmouseout=this.start() scrollAmount=1 scrollDelay=4 width=430 align="left"><p> 没有公告</p>
</MARQUEE></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="83%" height=80><a href='http://www.61ic.com' title='61IC中国电子在线'><img src='http://www.61ic.com/images/banner.gif' width='468' height='60' border='0'></a></td>
<td width="17%">
<table height=89 cellSpacing=0 cellPadding=0 width=94 background=/Skin/Ocean/topr.gif border=0>
<tr>
<td align=middle colSpan=2>
<table height=56 cellSpacing=0 cellPadding=0 width=79 border=0>
<tr>
<td align=middle width=26><IMG height=13 src="/Skin/Ocean/arrows.gif" width=13></td>
<td width=68><A class=Bottom href="javascript:window.external.addFavorite('http://www.61ic.com','61IC中国电子在线');">加入收藏</A></td>
</tr>
<tr>
<td align=middle><IMG height=13 src="/Skin/Ocean/arrows.gif" width=13></td>
<td><A class=Bottom onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.61ic.com');" href="#">设为首页</A></td>
</tr>
<tr>
<td align=middle><IMG height=13 src="/Skin/Ocean/arrows.gif" width=13></td>
<td><A class=Bottom href="mailto:web@61ic.com">联系站长</A></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellSpacing=0 cellPadding=0 width=778 align=center border=0>
<tr>
<td class=menu_s align=middle> | <a class='Channel' href='/Index.html'>网站首页</a> | <a class='Channel' href='/news/Index.html' target='_blank'>新闻</a> | <a class='Channel' href='/Article/Index.html' target='_blank'>DSP文章</a> | <a class='Channel' href='/Supply/Index.asp' target='_blank'>IC</a> | <a class='Channel2' href='/MCU/Index.html' target='_blank'>单片机</a> | <a class='Channel' href='/CPLD/Index.html' target='_blank'>FPGA</a> | <a class='Channel' href='/boards/Index.html' target='_blank'>开发板</a> | <a class='Channel' href='/dspic/Index.html' target='_blank'>芯片</a> | <a class='Channel' href='/Photo/Index.html' target='_blank'>电路</a> | <a class='Channel' href='/Soft/Index.html' target='_blank'>下载</a> | <a class='Channel' href='/Shop/Index.html' target='_blank'>商城</a> | <a class='Channel' href='/news/zndt/serve/200503/958.html' target='_blank'>邮购须知</a> | <a class='Channel' href='/GuestBook/Index.asp' target='_blank'>留言</a> | <a class='Channel' href='http://www.61ic.com/club/bbs' target='_blank'>社区</a> | </td>
</tr>
<tr>
<td class=top_nav_menu><script language='JavaScript1.2' type='text/JavaScript' src='/MCU/JS/ShowClass_Menu.js'></script>
</td>
</tr>
<tr>
<td><IMG height=7 src="/Skin/Ocean/menu_bg2.jpg" width=778></td>
</tr>
<tr>
<td background=/Skin/Ocean/addr.jpg height=21>
<table cellSpacing=0 cellPadding=0 width="100%" border=0>
<tr>
<td align=middle width="5%"><IMG height=17 src="/Skin/Ocean/arrows2.gif" width=16></td>
<td width="95%">您现在的位置: <a class='LinkPath' href='http://www.61ic.com'>61IC中国电子在线</a> >> <a class='LinkPath' href='/MCU/Index.html'>单片机</a> >> 文章正文</td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -