📄 head.jsp
字号:
<%@ page contentType="text/html;charset=gb2312" %>
<link href="../theme/style.css" rel="stylesheet" type="text/css">
<body background="../IMAGES/bg05.gif">
<script language="javascript">
<!--01 跟随鼠标的彩色方块-->
if (document.all){
colours=new Array('ff0000','00ff00','3366ff','ff00ff','ffa500','ffffff','fff000')
amount=colours.length;
Ygetwww__55fly__com=0,Xgetwww__55fly__com=0,Ywww__55fly__com=0,Xwww__55fly__com=0,step=0.2,currStep=0,my=0,mx=0;
document.write('<div id="ie" style="position:absolute;top:0;left:0;"><div style="position:relative">');
for (i=0; i < amount; i++)
document.write('<div id="iewww_55fly__com" style="position:absolute;top:0px;left:0px;height:50px;width:50px;font-family:Courier New;font-size:5px;color:'+colours[i]+';padding-top:20px;text-align:center">.</div>');
document.write('</div></div>');
ini=1;
gstep=1;
function www_55fly__com(){
my=event.y;mx=event.x;
}
document.onmousemove=www_55fly__com
function dim(){
ini-=gstep;
dt=setTimeout('dim()',10);
if (ini < 2){
clearTimeout(dt);
www___55fly__com();
}
}
function www___55fly__com(){
ini+=gstep;
gt=setTimeout('www___55fly__com()',10);
if (ini > 14){
clearTimeout(gt);
dim();
}
}
function www_55fly__com(){
ie.style.top=document.body.scrollTop;
for (i=0; i < amount; i++)
{
var layer=iewww_55fly__com[i].style;
layer.filter='glow(color='+colours[i]+', strength='+ini+')';
layer.top= Ywww__55fly__com+100*Math.sin((5*Math.sin((currStep-15.99)/10))+i*70)*Math.sin((currStep)/10)*Math.cos((currStep+i*25)/10);
layer.left=Xwww__55fly__com+180*Math.cos((5*Math.sin((currStep-15.99)/10))+i*70)*Math.sin((currStep)/10)*Math.cos((currStep+i*25)/10);
}
currStep+=step;
}
function www__55fly__com(){
Ywww__55fly__com = Ygetwww__55fly__com+=(my-Ygetwww__55fly__com)*1/20;
Xwww__55fly__com = Xgetwww__55fly__com+=(mx-Xgetwww__55fly__com)*1/20;
www_55fly__com();
setTimeout('www__55fly__com()',10);
}
www__55fly__com();
www___55fly__com();
}
<!--跟随鼠标的彩色方块01-->
<!--02浏览器的状态栏里出现一个字接一个字往左跑的欢迎语-->
function statusMessageObject(p,d) {
this.msg = MESSAGE
this.out = " "
this.pos = POSITION
this.delay = DELAY
this.i = 0
this.reset = clearMessage
}
function clearMessage() {
this.pos = POSITION
}
var POSITION = 100
var DELAY = 5
var MESSAGE = "幻想先锋,欢迎您光临“音乐天堂”!!!没有想不到的,只有听不到的。。。"
var scroll = new statusMessageObject()
function scroller() {
for (scroll.i = 0; scroll.i < scroll.pos; scroll.i++) {
scroll.out += " "
}
if (scroll.pos >= 0)
scroll.out += scroll.msg
else scroll.out = scroll.msg.substring(-scroll.pos,scroll.msg.length)
window.status = scroll.out
scroll.out = " "
scroll.pos--
if (scroll.pos < -(scroll.msg.length)) {
scroll.reset()
}
setTimeout ('scroller()',scroll.delay)
}
function snapIn(jumpSpaces,position) {
var msg = scroll.msg
var out = ""
for (var i=0; i<position; i++)
{out += msg.charAt(i)}
for (i=1;i<jumpSpaces;i++)
{out += " "}
out += msg.charAt(position)
window.status = out
if (jumpSpaces <= 1) {
position++
if (msg.charAt(position) == ' ')
{position++ }
jumpSpaces = 100-position
} else if (jumpSpaces > 3)
{jumpSpaces *= .75}
else
{jumpSpaces--}
if (position != msg.length) {
var cmd = "snapIn(" + jumpSpaces + "," + position + ")";
scrollID = window.setTimeout(cmd,scroll.delay);
} else {
window.status=""
jumpSpaces=0
position=0
cmd = "snapIn(" + jumpSpaces + "," + position + ")";
scrollID = window.setTimeout(cmd,scroll.delay);
return false
}
return true
}
snapIn(100,0);
<!--浏览器的状态栏里出现一个字接一个字往左跑的欢迎语02-->
</script>
<div align="center">
<table width="966" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
<tr>
<td width="172" height="86" class="head1">
<img src="../IMAGES/logo.gif" width="168" height="143"><br> </td>
<td width="768" align="center">
<img src="../IMAGES/header.gif" width="768" height="156"></td>
<td class="head1" align="center" width="18"> <p><a href="../Admin/login.jsp" target="content" class="head1">网</a></p>
<p><a href="../Admin/login.jsp" target="content" class="head1">站</a></p>
<p><a href="../Admin/login.jsp" target="content" class="head1">管</a></p>
<p><a href="../Admin/login.jsp" target="content" class="head1">理</a></p></td>
</tr>
</table>
<table width="966" class="head1" height="41" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
<tr>
<td width="80"><div align="center" class="head1"><a href="content.jsp" target="content">首页</a></div></td>
<td width="100"><div align="center" class="head1"><a href="../MusicShop/china.jsp" target="content">中国金曲</a></div></td>
<td width="100" align="right"><div align="center" class="head1"><a href="../MusicShop/rihan.jsp" target="content">日韩流行</a> </div> <div align="center" class="style2"></div></td>
<td width="100" align="right"><div align="center" class="head1"><a href="../MusicSearch/search.jsp" target="content">歌曲搜索</a></font></div></td>
<td width="100" align="right"><div align="center" class="head1"><a href="../MusicShop/musiclist.jsp" target="content">在线购买</span></a></td>
<td width="100" align="right"><div align="center" class="head1"><a href="../MusicShop/shopcar.jsp" target="content">购物车</a></div></td>
<td width="190" align="right"><div align="center" class="head2">
<script language="JavaScript" type="text/JavaScript">
var seconds="";
var minutes="";
var hours="";
var day="";
var month="";
var myweekday="";
var year="";
mydate=new Date();
myseconds=mydate.getSeconds();
myminutes=mydate.getMinutes();
myhours=mydate.getHours();
myweekday=mydate.getDay();
mymonth=mydate.getMonth()+1;
myday= mydate.getDate();
myyear= mydate.getYear();
year=(myyear > 200) ? myyear : 1900 + myyear;
hours=((myhours<10)?'0':'')+myhours; <!--当其中的判断语句为真时,就返回冒号前面的值,若假则返回后面的值-->
minutes=((myminutes<10)?':0':':')+myminutes;
seconds=((myseconds<10)?':0':':')+myseconds;
if(myweekday == 0)
weekday=" 星期日 ";
else if(myweekday == 1)
weekday=" 星期一 ";
else if(myweekday == 2)
weekday=" 星期二 ";
else if(myweekday == 3)
weekday=" 星期三 ";
else if(myweekday == 4)
weekday=" 星期四 ";
else if(myweekday == 5)
weekday=" 星期五 ";
else if(myweekday == 6)
weekday=" 星期六 ";
document.write(year+"年"+mymonth+"月"+myday+"日"+weekday+" "+hours+minutes+seconds);
</script>
</div></td>
<td width="334" align="right"><DIV class="head4"><MARQUEE loop=infinite deplay="0"> 幻想先锋,欢迎您光临“音乐天堂”!!!没有想不到的,只有听不到的。。。音乐天堂,满足你的听觉。。。
</MARQUEE></DIV></td>
</tr>
</table>
<BODY bgColor=#000000 onload=Setting()>
<P align=center> </P>
<P align=center> </P>
<P align=center> </P>
<P align=center> </P>
<P align=center> </P>
<SPAN id=Set
style="FONT: bold 24pt arial; POSITION: relative; VISIBILITY: hidden">
<P> </P>
<P><font color="#FFFF00">Welcome to MusicSky !</font><BR></SPAN></P>
<DIV id=Text1
style="COLOR: white; FONT: bold 16pt arial; POSITION: absolute; VISIBILITY: hidden">
<P>欢迎来到</P></DIV>
<DIV id=Text2
style="COLOR: red; FONT: bold 20pt arial; POSITION: absolute; VISIBILITY: hidden">
<P> Music Sky </P></DIV>
<DIV id=Text3
style="COLOR: blue; FONT: bold 28pt 华文行楷; POSITION: absolute; VISIBILITY: hidden">
<P><BIG>音乐天堂</BIG></P></DIV>
<DIV id=Text4
style="COLOR: black; FONT: bold 16pt arial; POSITION: absolute; VISIBILITY: hidden"></DIV>
<DIV id=Title2
style="COLOR: black; FONT: bold 24pt arial; POSITION: absolute; VISIBILITY: hidden">
<P> <BR>精彩音乐 <BR> 幻想先锋工作室</P></DIV>
<DIV id=Title1
style="color: gray; font-style: normal; font-variant: normal; font-weight: bold; font-size: 24pt; font-family: arial; position: absolute; visibility: hidden; left: 20; top: 200; width: 250; height: 93">
<P> <BR>精彩音乐 <BR> 幻想先锋工作室</P></DIV>
<DIV id=Circle0
style="COLOR: steelblue; FONT: bold 11pt arial; POSITION: absolute; VISIBILITY: hidden">
<P><FONT size=4>欢</FONT></P></DIV>
<DIV id=Circle1
style="COLOR: steelblue; FONT: bold 11pt arial; POSITION: absolute; VISIBILITY: hidden">
<P><FONT size=4>迎</FONT></P></DIV>
<DIV id=Circle2
style="COLOR: steelblue; FONT: bold 11pt arial; POSITION: absolute; VISIBILITY: hidden">
<P><FONT size=4>光</FONT></P></DIV>
<DIV id=Circle3
style="COLOR: steelblue; FONT: bold 11pt arial; POSITION: absolute; VISIBILITY: hidden">
<P><FONT size=4>临</FONT></P></DIV>
<DIV id=Circle4
style="COLOR: steelblue; FONT: bold 11pt arial; POSITION: absolute; VISIBILITY: hidden">
<P><FONT color=#ffff00 size=4>*</FONT></P></DIV>
<DIV id=Circle5
style="COLOR: steelblue; FONT: bold 11pt arial; POSITION: absolute; VISIBILITY: hidden">
<P><FONT color=#ff0000 size=4>音</FONT></P></DIV>
<DIV id=Circle6
style="COLOR: steelblue; FONT: bold 11pt arial; POSITION: absolute; VISIBILITY: hidden">
<P><FONT color=#ff0000 size=4>乐</FONT></P></DIV>
<DIV id=Circle7
style="COLOR: orange; FONT: bold 11pt arial; POSITION: absolute; VISIBILITY: hidden">
<P><FONT color=#ff0000 size=4>天</FONT></P></DIV>
<DIV id=Circle8
style="COLOR: pink; FONT: bold 11pt arial; POSITION: absolute; VISIBILITY: hidden">
<P><FONT color=#ff0000 size=4>堂</FONT></P></DIV>
<DIV id=Circle9
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -