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

📄 star_9_4.htm

📁 一个心理测试软件
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<STYLE type=text/css>
#scrollerContent {
	POSITION: absolute;
	left: 19px;
}
body{FONT-SIZE: 9pt; COLOR: #000000;LINE-HEIGHT: 16pt; FONT-FAMILY: '宋体'}
</STYLE>
<script>
var upH = 20;
var upW = 15;
var downH = 20;
var downW = 15;
var dragH = 40;
var dragW = 15;
var scrollH =259;
var speed =9;
var dom = document.getElementById ? true:false;
var nn4 = document.layers ? true:false;
var ie4 = document.all ? true:false;
var mouseY;
var mouseX;
var clickUp = false;
var clickDown = false;
var clickDrag = false;
var clickAbove = false;
var clickBelow = false;
var timer = setTimeout("",500);
var upL;
var upT;
var downL;
var downT;
var dragL;
var dragT;
var rulerL;
var rulerT;
var contentT;
var contentH;
var contentClipH;
var scrollLength;
var startY;
function down(e){
if((document.layers && e.which!=1) || (document.all && event.button!=1)) return true;
getMouse(e);
startY = (mouseY - dragT);
if(mouseX >= upL && (mouseX <= (upL + upW)) && mouseY >= upT && (mouseY <= (upT + upH))){
clickUp = true;
return scrollUp();
}
else if(mouseX >= downL && (mouseX <= (downL + downW)) && mouseY >= downT && (mouseY <= (downT + downH))){
clickDown = true;
return scrollDown();
}
else if(mouseX >= dragL && (mouseX <= (dragL + dragW)) && mouseY >= dragT && (mouseY <= (dragT + dragH))){
clickDrag = true;
return false;
}
else if(mouseX >= dragL && (mouseX <= (dragL + dragW)) && mouseY >= rulerT && (mouseY <= (rulerT + scrollH))){
if(mouseY < dragT){
clickAbove = true;
clickUp = true;
return scrollUp();
}
else{
clickBelow = true;
clickDown = true;
return scrollDown();
}
}
else{
return true;
}
}
function move(e){
if(clickDrag && contentH > contentClipH){
getMouse(e);
dragT = (mouseY - startY);
if(dragT < (rulerT))
dragT = rulerT;
if(dragT > (rulerT + scrollH - dragH))
dragT = (rulerT + scrollH - dragH);
contentT = ((dragT - rulerT)*(1/scrollLength));
contentT = eval('-' + contentT);
moveTo();
if(ie4)
return false;
}
}
function up(){
clearTimeout(timer);
clickUp = false;
clickDown = false;
clickDrag = false;
clickAbove = false;
clickBelow = false;
return true;
}
function getT(){
if(ie4)
contentT = document.all.scrollerContent.style.pixelTop;
else if(nn4)
contentT = document.scrollerContentClip.document.scrollerContent.top;
else if(dom)
contentT = parseInt(document.getElementById("scrollerContent").style.top);
}
function getMouse(e){
if(ie4){
mouseY = event.clientY + document.body.scrollTop;
mouseX = event.clientX + document.body.scrollLeft;
}
else if(nn4 || dom){
mouseY = e.pageY;
mouseX = e.pageX;
}
}
function moveTo(){
if(ie4){
document.all.scrollerContent.style.top = contentT;
document.all.ruler.style.top = dragT;
document.all.drag.style.top = dragT;
}
else if(nn4){
document.scrollerContentClip.document.scrollerContent.top = contentT;
document.ruler.top = dragT;
document.drag.top = dragT;
}
else if(dom){
document.getElementById("scrollerContent").style.top = contentT + "px";
document.getElementById("drag").style.top = dragT + "px";
document.getElementById("ruler").style.top = dragT + "px";
}
}
function scrollUp(){
getT();
if(clickAbove){
if(dragT <= (mouseY-(dragH/2)))
return up();
}
if(clickUp){
if(contentT < 0){
dragT = dragT - (speed*scrollLength);
if(dragT < (rulerT))
dragT = rulerT;
contentT = contentT + speed;
if(contentT > 0)
contentT = 0;
moveTo();
timer = setTimeout("scrollUp()",25);
}
}
return false;
}
function scrollDown(){
getT();
if(clickBelow){
if(dragT >= (mouseY-(dragH/2)))
return up();
}
if(clickDown){
if(contentT > -(contentH - contentClipH)){
dragT = dragT + (speed*scrollLength);
if(dragT > (rulerT + scrollH - dragH))
dragT = (rulerT + scrollH - dragH);
contentT = contentT - speed;
if(contentT < -(contentH - contentClipH))
contentT = -(contentH - contentClipH);
moveTo();
timer = setTimeout("scrollDown()",25);
}
}
return false;
}
function reloadPage(){
location.reload();
}
function eventLoader(){
if(ie4){
upL = document.all.up.style.pixelLeft;
upT = document.all.up.style.pixelTop;
downL = document.all.down.style.pixelLeft;
downT = document.all.down.style.pixelTop;
dragL = document.all.drag.style.pixelLeft;
dragT = document.all.drag.style.pixelTop;
rulerT = document.all.ruler.style.pixelTop;
contentH = parseInt(document.all.scrollerContent.scrollHeight);
contentClipH = parseInt(document.all.scrollerContentClip.style.height);
}
else if(nn4){
upL = document.up.left;
upT = document.up.top;
downL = document.down.left;
downT = document.down.top;
dragL = document.drag.left;
dragT = document.drag.top;
rulerT = document.ruler.top;
contentH = document.scrollerContentClip.document.scrollerContent.clip.bottom;
contentClipH = document.scrollerContentClip.clip.bottom;
}
else if(dom){
upL = parseInt(document.getElementById("up").style.left);
upT = parseInt(document.getElementById("up").style.top);
downL = parseInt(document.getElementById("down").style.left);
downT = parseInt(document.getElementById("down").style.top);
dragL = parseInt(document.getElementById("drag").style.left);
dragT = parseInt(document.getElementById("drag").style.top);
rulerT = parseInt(document.getElementById("ruler").style.top);
contentH = parseInt(document.getElementById("scrollerContent").offsetHeight);
contentClipH = parseInt(document.getElementById("scrollerContentClip").offsetHeight);
document.getElementById("scrollerContent").style.top = 0 + "px";
}
scrollLength = ((scrollH-dragH)/(contentH-contentClipH));
if(nn4){
document.captureEvents(Event.MOUSEDOWN | Event.MOUSEMOVE | Event.MOUSEUP);
window.onresize = reloadPage;
}
document.onmousedown = down;
document.onmousemove = move;
document.onmouseup = up;
}
</script>

</head>

<body onload="eventLoader()">
<SPAN id=drag style="LEFT: 535px;POSITION: absolute; TOP: 27px">
 <IMG height=40 src="image/slider.gif" width=15>
</SPAN>
<SPAN id=ruler style="TOP: 27px">
</SPAN>
<SPAN id=up style="LEFT: 535px; POSITION: absolute; TOP: 6px">
 <IMG height=20 alt="" src="image/scrollup.gif" width=15 border=0>
</SPAN>
<SPAN id=down style="LEFT: 535px; POSITION: absolute; TOP: 287px">
 <IMG height=20 alt="" src="image/scrolldown.gif" width=15 border=0>
</SPAN>
<SPAN id=scrollerContentClip style=" LEFT: 2px; VISIBILITY: visible; OVERFLOW: hidden; WIDTH: 525px; CLIP: rect(0px 540px 310px 0px); POSITION: absolute; TOP: 2px; HEIGHT: 310px;border:#708CB0 1px solid">
<SPAN
id=scrollerContent style="width: 490px; height: 300px">
<p><b>人马座的爱情</b><p>
      <p>  射手座男子的爱情</p>
      <p>  射手座的男子令很多人觉得他像是个童子军,但是,他除了会助人之外,却也充满了危险。其实射手座的人都爱冒险,他寻求刺激的生活,同时以乐观的态度面对各种挑战,只不过他的乐观有些过於盲目而已。所以,当你发现他似乎没搞懂你的拒绝,并且一再的纠缠时,你就会了解盲目乐观的意思。</p>
      <p>  跟他的盲目乐观一样,他同时也有著盲目的信任;其实你与他相处久了,你就会发现他似乎还有许多事情也都是盲目的,这其中包括了幸运。他似乎总是比别人幸运,这个男人不管对谁调戏,好像都不会被拒绝,不过,他好像不管说什么,都会有点像是在调情。</p>
      <p>  他常会做件事,就是兴高采烈的将你丢向空中去,然後又被其他漂亮女生给吸引得转过身去,而忘了接你下来。他热爱自由,就像是在山林草原之中的野马;他会很高兴和你接触,但是别想用缰绳套住他,你愈想,他就愈会远离。就算让你套中了,你愈想拉近,他也就愈想逃。</p>
      <p>  其实他比较喜欢去征服有智慧及有点野性的女子,愈让他捉不到的,他就会觉得越刺激。他做任何事情都很直接,就像说话,他常会伤到人。很多射手座的男子都在追寻偶然的关系,虽然有时会太过偶然,不过野马在未驯服之前,不也都是如此吗?对待他最好的方式,就是别对他过度依赖或太想占有他,让他明白:你永远是他最好的朋友及伴侣,尽管他心里仍不时会燃烧起浪迹天涯的梦...</p>
      <p>  射手座女子的爱情</p>
      <p>  射手座的女子是热力四散的,有的时候会热得稍微失去控制,而伤了许多人。她是活泼好动的,虽然她看来是如此文静,可是只要那个开关被打开了,她就会无止尽的令你烦扰不已;别以为只要把开关关掉就行了,那个开关根本就是个坏的。若是运气好的话,你也许可以找到电池,想办法拔掉;但是她又很可能是用插电的。</p>
      <p>  她是相当直接的,不管任何事情。如果你觉得她太不拘小节了,她会觉得你有点奇怪,甚至会认为你不够大胆。这有什么关系,只不过是挽著你的手而已,又不是要跟你结婚;她也会如此对待她的男性朋友,所以你就别太大惊小怪,这在她认为实在是没什么好值得惊讶的。</p>
      <p>  基本上,她对於双关语是免疫的。她常会搞错感情,错把友情当做爱情,爱情当友情,这会令她相当困惑。所以你若是喜欢她,并且想和她交往的话,可以不用费尽心思的用委婉的言语来表达,你只要直接的告诉她就行了。然後你可能会听到她发出一阵娇笑,告诉你别开玩笑。或者是露出她美丽的浅笑,豪爽的回答:好啊。好像没什么浪漫可言。</p>
      <p>  她不会喜欢上绵羊型的男人,因为她喜欢那种被保护的感觉,但你可要了解:被保护并不代表可以被左右。她可是相当独立的,而且她像是头野马,要想驯服她,可没那么容易喔!她可不会随随便便就一头冲进热恋之中,除非你一开始就向她证明:你绝不会非要她“定”下来不可!</p>
</SPAN></SPAN>
</body>

</html>

⌨️ 快捷键说明

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