📄 head.js
字号:
<!--
var base="/"; //根目录,供本程序定位图片用
var email="webmaster@java-cn.com"; //站长信箱
var techemail="tech@java-cn.com"; //投稿信箱
var www="/";
a = 6 // a=numbers of banners
var index = Math.floor(Math.random() * a);
function create() {
this.width = ''
this.height = ''
this.src = ''
this.href = ''
this.border = ''
this.alt = ''
this.under = ''
}
b = new Array()
for(var i=0; i<=a; i++) { b[i] = new create() }
b[0].src = "images/mybanner.gif"
b[0].width = "350"
b[0].height = "40"
b[0].border = "0"
b[0].href = "http://www.java-cn.com"
b[0].alt = "--永远的JAVA中文站--"
b[1].src = "http://"
b[1].width = "350"
b[1].height = "40"
b[1].border = "0"
b[1].href = ""
b[1].alt = "----"
b[2].src = "http://"
b[2].width = "350"
b[2].height = "40"
b[2].border = "0"
b[2].href = "http://"
b[2].alt = "----"
b[3].src = "http://"
b[3].width = "350"
b[3].height = "40"
b[3].border = "0"
b[3].href = "http://"
b[3].alt = "----"
b[4].src = "http://"
b[4].width = "350"
b[4].height = "40"
b[4].border = "0"
b[4].href = "http://"
b[4].alt = "----"
b[5].src = "http://"
b[5].width = "350"
b[5].height = "40"
b[5].border = "0"
b[5].href = ""
b[5].alt = "----"
var visa = "";
visa += '<a href="'+b[index].href+'" target="_blank">'
visa += '<img src="'+b[index].src+'" height='+b[index].height
visa += ' width='+b[index].width+' border='+b[index].border+' alt='+b[index].alt+'>';
visa += '</a>'
//document.write('<CENTER><iframe marginheight=0 marginwidth=0 frameborder=0 height=80 width=758 scrolling=NO src=/ad_top2.htm name="I2"></iframe></CENTER>')
document.write('<LINK href="/style.css" rel=stylesheet>')
document.write('<center>')
document.write('<table width="758" border="0" cellspacing="0" cellpadding="0" align="center">')
document.write('<tr>')
document.write('<td width="172" align="center" rowspan="2"><a href="'+base+'"><img src="'+base+'images/javacn_logo1.gif" border="0"></a>')
document.write('</td>')
document.write('<td rowspan="2" align="center">')
document.write('<table width="350" border="0" cellspacing="1" cellpadding="1" height="45" bgcolor="ffffff">')
document.write('<tr>')
document.write('<td bgcolor="#FFFFFF">')
document.write('<CENTER><iframe marginheight=0 marginwidth=0 frameborder=0 height=60 width=448 scrolling=NO src=/ad1.htm></iframe></CENTER>')
document.write('</td>')
document.write('</tr>')
document.write('</table>')
document.write('</td>')
document.write('<td width="190" align="center" height="20"><a href="'+base+'members/register.jsp" class="red_l" target="_blank">注册会员</a> <a href="'+base+'members/vipmember.htm" class="red_l" target="_blank">注册VIP会员</a> <a href="'+base+'softcd.htm" class="red_l" target=_blank>配套光盘</a>')
document.write('</td>')
document.write('</tr>')
document.write('<tr> ')
document.write('<td width="190" align="center">')
document.write('<table width="177" border="0" cellspacing="0" cellpadding="0" height="18">')
document.write('<tr>')
document.write('<td width="10" align="center"><font color="#8C9E08"> </font></td>')
document.write('<td width="65" align="center"><a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=17674881&Site=JAVA中文站&Menu=yes><img border="0" SRC=http://wpa.qq.com/pa?p=1:17674881:3 alt="业务联系请点这里"></a></td>')
document.write('<td background="'+base+'images/bg_t.gif" width="102" height="23" align="right">0575-8851169 </td>')
document.write('</tr>')
document.write('</table>')
document.write('<table width="177" border="0" cellspacing="0" cellpadding="0" height="18">')
document.write('<tr>')
document.write('<td align="right" valign="middle"><font color="#8C9E08"><img src=/payonline/images/mycar.gif><a href="#" onclick=\'window.open("/payonline/pay_car.jsp?job=view", "","toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=500,height=500")\'>我的购物车</a> <a href="#" onclick=\'window.open("/payonline/payonline_help.htm", "","toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=550,height=550")\'>在线支付帮助</a></font></td>')
document.write('</tr>')
document.write('</table>')
document.write('</td>')
document.write('</tr>')
document.write('<tr> ')
document.write('<td height="5"></td>')
document.write('<td height="5"></td>')
document.write('<td height="5"></td>')
document.write('</tr>')
document.write('</table>')
document.write('<table width="758" border="0" cellspacing="0" cellpadding="0" height="17">')
document.write('<tr> ')
document.write('<td width="40" bgcolor="#000000"> </td>')
document.write('<td width="718" bgcolor="#0072BC" valign="bottom"> <font color=white>相关资源</font> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="'+base+'" class="white">首页</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="'+base+'javamovies/" class="white">视频</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="'+base+'technology/" class="white">文摘</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="'+base+'book/index.jsp" class="white">书籍</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="'+base+'javasource/index.jsp" class="white">代码</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="'+base+'javatools/index.jsp" class="white">工具</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="'+base+'upload/show_all.jsp" class="yellow" target=_blank>寻宝</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="'+base+'zpxx/zpxx.jsp" class="white">招聘</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="'+base+'members/members.jsp" class="white">会员</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="'+base+'forum/index.jsp" class="white">论坛</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="http://chat.java-cn.com/skin_zh/login.jsp" class="white" target=_blank>交流</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="'+base+'idc/index.htm" class="white">JSP虚拟主机</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="'+base+'softcd.htm" class="white" target=_blank>配套光盘</a> ')
document.write('</td>')
document.write('</tr>')
document.write('</table>')
document.write('<table width="758" border="0" cellspacing="0" cellpadding="0" align="center" height="17">')
document.write('<tr> ')
document.write('<td width="40" bgcolor="#000000"> </td>')
document.write('<td width="718" bgcolor="#0072BC" valign="bottom"> <a href="/xingshou/" class="white"><font color=white>新手入门</a></font> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="/xingshou/scheme.htm" class="white">环境配置</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="/xingshou/tools.htm" class="white">开发工具</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="/xingshou/tutorial.htm" class="white">电子教程</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="/xingshou/arithmetic.htm" class="white">语法算法经典实例</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="/xingshou/question.htm" class="white">常见问题</a> ')
document.write('</td>')
document.write('</tr>')
document.write('</table>')
document.write('<table width="758" border="0" cellspacing="0" cellpadding="0" align="center" height="17">')
document.write('<tr> ')
document.write('<td width="40" bgcolor="#000000"> </td>')
document.write('<td width="718" bgcolor="#0072BC" valign="bottom"> <a href="/zhuanti/" class="white"><font color=white>技术专题</a></font> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="/zhuanti/" class="white" target=_blank>JAVA线程</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="/zhuanti/" class="white" target=_blank>APPLET与SWING</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="/zhuanti/" class="white" target=_blank>SERVLET与JSP</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="/zhuanti/" class="white" target=_blank>数据库</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="/zhuanti/" class="white" target=_blank>WEB SERVICE</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="/zhuanti/" class="white" target=_blank>EJB</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="/zhuanti/" class="white" target=_blank>J2ME</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="/zhuanti/" class="white" target=_blank>认证考试</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="/zhuanti/" class="white" target=_blank>设计模式</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="/zhuanti/" class="white" target=_blank>STRUTS</a> ')
document.write('</td>')
document.write('</tr>')
document.write('</table>')
document.write('<table width="758" border="0" cellspacing="0" cellpadding="0" align="center" height="17">')
document.write('<tr> ')
document.write('<td width="40" bgcolor="#000000"> </td>')
document.write('<td width="718" bgcolor="#0072BC" valign="bottom"> <font color=white>特色专栏</font> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="'+base+'zxxjava/" class="white">张孝祥JAVA课堂</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="'+base+'javazj/" class="white">特聘专家组</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="'+base+'ccidedu/ccidedu_java.htm" class="white">软考专题</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="'+base+'dev_groups/lorcel/index.htm" class="white">乐事工作组</a> ')
document.write('<img src="'+base+'images/dot_3.gif" width="4" height="8"> <a href="'+base+'dev_groups/freedom/freedom.htm" class="white">FREEDOM工作室</a> ')
document.write('</td>')
document.write('</tr>')
document.write('</table>')
document.write('<CENTER><iframe marginheight=0 marginwidth=0 frameborder=0 height=24 width=758 scrolling=NO src=/toolbar.jsp></iframe>')
//-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -