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

📄 查看源代码按钮.htm

📁 VBSCRIPT的源码,相信很多html程序员都会用到,这些源码小小变动一下,可以用在很多地方,尤其在DHTML中!
💻 HTM
字号:
<html>
<head>
<title>查看源代码按钮</title>
<style type="text/css">
<!--
body {  font-family: "宋体"; font-size: 9pt; margin-top: 0px; margin-left: 0px; margin-right: 0px}
A { COLOR: black; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: none }
 A:hover { COLOR: red; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: underline }
a:active     { font: 9pt "宋体"; cursor: hand; color: #FF0033 }
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<SCRIPT LANGUAGE="VBScript"> 
<!--
   sub button_onclick
   	window.location = "view-source:" + window.location.href
   end sub 
-->
</script>
</head>
<body bgcolor="#fef4d9">
<p align="center">
<CENTER>
 <br>        
</CENTER>
<center><font color=red face="隶书" size=6>查看源代码按钮</font></center>
<br>
<br><center>
<table border=5 bordercolor=blue borderlight=green>
<tr><td align=center><strong><font size=5 color=red>下面框中为脚本显示区</font></strong></td></tr>
<tr>
<td align=center>
<input type="BUTTON" value="查看源代码"  name="BUTTON">
</td>
</tr>
</table>
</center>

<SCRIPT LANGUAGE="VBScript">  
<!--
function goHist(a)  
 
    history.go a 
 end function
--> 
</script> 
</html> 

⌨️ 快捷键说明

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