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

📄 star_3_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 + -