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

📄 photo_viewer.htm

📁 asp编写的图片处理程序
💻 HTM
📖 第 1 页 / 共 2 页
字号:
	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="&nbsp;<a style=font-size:9pt;line-height:14pt; href='SetCookie.asp?Action=SetSkin&ClassID=6&SkinID=1'>牧虫典雅</a><br>&nbsp;<a style=font-size:9pt;line-height:14pt; href='SetCookie.asp?Action=SetSkin&ClassID=6&SkinID=2'>雅虎秋梦</a><br>&nbsp;<a style=font-size:9pt;line-height:14pt; href='SetCookie.asp?Action=SetSkin&ClassID=6&SkinID=3'>灰色畅想</a><br>&nbsp;<a style=font-size:9pt;line-height:14pt; href='SetCookie.asp?Action=SetSkin&ClassID=6&SkinID=4'>绿雨飘香</a><br>&nbsp;<a style=font-size:9pt;line-height:14pt; href='SetCookie.asp?Action=SetSkin&ClassID=6&SkinID=5'>幽绿芭蕾</a><br>&nbsp;<a style=font-size:9pt;line-height:14pt; href='SetCookie.asp?Action=SetSkin&ClassID=6&SkinID=6'>晴空幽蓝</a><br>&nbsp;<a style=font-size:9pt;line-height:14pt; href='SetCookie.asp?Action=SetSkin&ClassID=6&SkinID=7'>书卷飘香</a><br>&nbsp;<a style=font-size:9pt;line-height:14pt; href='SetCookie.asp?Action=SetSkin&ClassID=6&SkinID=8'>蓝天动力</a><br>&nbsp;<a style=font-size:9pt;line-height:14pt; href='SetCookie.asp?Action=SetSkin&ClassID=6&SkinID=9'>动力空间</a><br>";
</script>
<script type='text/javascript' language='JavaScript1.2' src='stm31.js'></script>
<script language=JavaScript>
function smallit(){            
	var height1=PhotoViewer.images1.height;            
	var width1=PhotoViewer.images1.width;            
	PhotoViewer.images1.height=height1/1.2;            
	PhotoViewer.images1.width=width1/1.2;           
}             
          
function bigit(){            
	var height1=PhotoViewer.images1.height;            
	var width1=PhotoViewer.images1.width;            
	PhotoViewer.images1.height=height1*1.2;          
	PhotoViewer.images1.width=width1*1.2;           
}             
function fullit()
{
	var width_s=screen.width-10;
	var height_s=screen.height-30;
	window.open("Photo_View.asp?UrlID=1&PhotoID=32", "PhotoView", "width="+width_s+",height="+height_s+",left=0,top=0,location=no,toolbar=no,status=no,resizable=no,scrollbars=yes,menubar=no,directories=no");
}
function realsize()
{
	PhotoViewer.images1.height=PhotoViewer.images2.height;     
	PhotoViewer.images1.width=PhotoViewer.images2.width;
	PhotoViewer.block1.style.left = 0;
	PhotoViewer.block1.style.top = 0;
	
}
function featsize()
{
	var width1=PhotoViewer.images2.width;            
	var height1=PhotoViewer.images2.height;            
	var width2=760;            
	var height2=500;            
	var h=height1/height2;
	var w=width1/width2;
	if(height1<height2&&width1<width2)
	{
		PhotoViewer.images1.height=height1;            
		PhotoViewer.images1.width=width1;           
	}
	else
	{
		if(h>w)
		{
			PhotoViewer.images1.height=height2;          
			PhotoViewer.images1.width=width1*height2/height1;           
		}
		else
		{
			PhotoViewer.images1.width=width2;           
			PhotoViewer.images1.height=height1*width2/width1;          
		}
	}
	PhotoViewer.block1.style.left = 0;
	PhotoViewer.block1.style.top = 0;
}
</script>         
</head>
<body leftmargin=0 topmargin=0 onmousemove='HideMenu()'>
<style type="text/css">
<!--
.nav_bottom {	BORDER-RIGHT: #000000 1px solid; BACKGROUND-IMAGE:  url("image/nav_bottom.gif"); BORDER-LEFT: #000000 1px solid; HEIGHT: 5px
}
.nav_main {	BACKGROUND:  url("image/NAV_MAIN.gif"); LINE-HEIGHT: 150%; HEIGHT: 134px
}
.nav_top {	BACKGROUND:  url("image/NAV_TOP.GIF"); HEIGHT: 25px
}
.style1 {color: #FF0000}
.tdbg {	BORDER-RIGHT: #000000 1px solid; BACKGROUND: #ffffff; BORDER-LEFT: #000000 1px solid; LINE-HEIGHT: 150%
}
.txt_css {	BORDER-RIGHT: #000000 1px solid; BACKGROUND:  url("image/TXT_CSS.GIF"); BORDER-LEFT: #000000 1px solid; HEIGHT: 36px
}
-->
</style>
<div id=menuDiv style='Z-INDEX: 1000; VISIBILITY: hidden; WIDTH: 1px; POSITION: absolute; HEIGHT: 1px; BACKGROUND-COLOR: #9cc5f8'></div>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" class="tdbg">
  <tr> 
    <td> <table width="100%" align="center" cellpadding="0" cellspacing="0">
        <tr><td height="4"></td></tr><tr> 
          <td> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" background="Skin/2/NAV_MAIN.JPG">
              <tr> 
                <td width="180"> <img src="IMAGE/wenyan.gif" width="300" height="77"> </td>
                <td width="342"> 
                  <div align="center"> 
                    
                  </div></td>
                <td width="118" valign="middle">
                  <TABLE cellSpacing=0 cellPadding=0 width="100%" 
                  align=center border=0>
                    <TR vAlign=center>
                      <TD align=middle colspan="2"><blink><font color="#FF0000">
						<a href="http://www.wenyuan.com.cn/webnew/" >
						<font color="#FF3300">
						新起点电脑教程</font></a></font></blink></TD>
                    </TR>
                    <TR vAlign=center>
                      <TD align=middle><IMG height=17 src="image/email.gif" 
                        width=16 align=absMiddle></TD>
                      <TD align=middle><a href="mailto:service@wenyuan.com.cn"><font color="#FFFFFF"> 在线投稿</font></a></TD>
                    </TR>
                    <TR vAlign=center>
                      <TD align=middle><font color="#FF9999"><IMG height=16 
                        src="image/bookmark.gif" width=16 align=absMiddle></font></TD>
                      <TD align=middle><a href="soft_index.asp">
						<font color="#FFFF00">资源下载</font></a></TD>
                    </TR>
                    <TR vAlign=center>
                      <TD align=middle>
						<img border="0" src="Images/admin_top_close.gif" width="30" height="30"></TD>
                      <TD align=middle><a href="guestbook.asp" ><font color="#FFFFFF">反馈留言</font></a></TD>
                    </TR>
                  </TABLE></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
  <tr valign="middle" class="nav_top"> 
    <td valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height="50" align="center">首 页 | <a href="Photo_Class.asp?ClassID=1">高职高专教材</a> | <a href="Photo_Class.asp?ClassID=2">本科教材</a> | <a href="Photo_Class.asp?ClassID=3">研究生教材</a> | <a href="Photo_Class.asp?ClassID=4">中小学教辅</a> | <a href="Photo_Class.asp?ClassID=5">培训教材</a> | <a href="Photo_Class.asp?ClassID=6">计算机</a> | <a href="Photo_Class.asp?ClassID=8">经管</a> | <a href="Photo_Class.asp?ClassID=9">机电一体化</a> |            <a href="Photo_Class.asp?ClassID=10">Moc服务</a>  | <a href="Photo_Class.asp?ClassID=11">认证考试</a> <br>
          <a href="Photo_Class.asp?ClassID=13">Pearson教材</a> | <a href="Photo_Class.asp?ClassID=14">IBM图书</a> | <a href="Photo_Class.asp?ClassID=15">入门与提高</a> |            <a href="Article_Class.asp?ClassID=1">出版计划</a> | <a href="Article_Class.asp?ClassID=2">编辑征稿</a> | <a href="Article_Class.asp?ClassID=3">组稿会</a> |             <a href="Article_Class.asp?ClassID=6">老师专区</a> | <a href="Article_Class.asp?ClassID=7">学校专区</a> |  <a href="Article_Class.asp?ClassID=8">选题推荐</a> | 
			<a href="Photo_Class.asp?ClassID=12">工程硕士</a> |  <a href="Photo_Class.asp?ClassID=7">外语</a></td>
        </tr>
      </table></td>
  </tr>
  
  <tr> 
    <td class="nav_bottom"></td>
  </tr></table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="txt_css">
  <tr valign="middle"> 
    <td width=46> <div align="right"><img src="Images/arrow3.gif" width="29" height="11" align="absmiddle"> 
      </div></td>
    <td width="596"> 
      &nbsp;您现在的位置:&nbsp;<a href='http://www.wenyuan.com.cn'>清华大学出版社第三事业部教育频道</a>&nbsp;&gt;&gt;&nbsp;<a href='Photo_Class.asp?ClassID=6'>计算机</a>&nbsp;&gt;&gt;&nbsp;查看图片
       </td>
    <td width="118"> </td>
  </tr>
</table>

<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" class="border2">
  <tr>
    <td height="40" align="center"><strong><font size="4">VHDL芯片设计</font></strong></td>
  </tr>
  <tr class="tdbg_rightall">
    <td align="center"><table width="100%" border="0" cellspacing="3" cellpadding="0">
        <tr> 
          <td><div align="center">图片大小:18 K</div></td>
          <td><div align="center">图片作者: 
              刘绍汉&nbsp;林灶生&nbsp;刘新民&nbsp;编著
            </div></td>
          <td><div align="center">更新时间:2004-11-5 17:26:02</div></td>
          <td><div align="center">推荐等级:<font color="#009900">★★★★</font></div></td>
          <td>查看次数:84</td>
        </tr>
      </table></td>
  </tr>
  
  <tr>
    <td height="30" align="center" valign="middle" class="tdbg_leftall"><input name="smallit" type="button" id="smallit" onclick="smallit();" value="- 缩小 -">    
&nbsp;&nbsp;
<input name="bigit" type="button" id="bigit" onclick="bigit();" value="+ 放大 +">              
          
&nbsp;
<input name="fullit" type="button" id="fullit" value="全屏显示" onClick="fullit();">
&nbsp;
<input name="realsize" type="button" id="realsize" value="实际大小" onClick="realsize();">
&nbsp;
<input name="featsize" type="button" id="featsize" value="最合适大小" onClick="featsize();"></td>
  </tr>
  <tr> 
    <td height="500" align="center" valign="middle" class="tdbg_leftall"><iframe id='PhotoViewer' width='99%' height='500' scrolling='no' src='1.jpg'></iframe></td>
  </tr>
  <tr>
    <td height="30" align="center" valign="middle" class="tdbg_leftall"><input name="smallit" type="button" id="smallit" onclick="smallit();" value="- 缩小 -">    
&nbsp;&nbsp;
<input name="bigit" type="button" id="bigit" onclick="bigit();" value="+ 放大 +">              
          
&nbsp;
<input name="fullit" type="button" id="fullit" value="全屏显示" onClick="fullit();">
&nbsp;
<input name="realsize" type="button" id="realsize" value="实际大小" onClick="realsize();">
&nbsp;
<input name="featsize" type="button" id="featsize" value="最合适大小" onClick="featsize();"></td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" class="topborder">
  <tr> 
    <td  height="13" align="center" valign="top"><table width="756" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="13" Class="tdbg_left2"></td>
        </tr>
      </table></td>
  </tr>
</table>
<table width='760' align='center' border='0' class='topborder' cellpadding='0' cellspacing='0'><tr height='22' align='center'><td class='title_maintxt'>|&nbsp;<a href='index.asp'>本站首页</a>&nbsp;|&nbsp;<a href='#'>关于我们</a>&nbsp;|&nbsp;<a href='Article_Index.asp'>站点地图</a>&nbsp;|&nbsp;<a href='#'>帮助中心</a>&nbsp;|&nbsp;<a href='guestbook.asp'>反馈留言</a>&nbsp;|&nbsp;<a href='FriendSite.asp'>友情链接</a>&nbsp;|&nbsp;<a href='#'>合作伙伴</a>&nbsp;|&nbsp;<a href='Article_Class.asp?ClassID=9'>网站建设</a>&nbsp;<br>Copyright 2004 Itrain.com.cn All Rights Reserved<br>版权所有:清华大学出版社第三事业部<br>站长QQ:6680331 <a href='mailto:service@wenyuan.com.cn'>Email:service@wenyuan.com.cn</a></td></tr></table>
</body>
</html>

⌨️ 快捷键说明

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