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

📄 star_1_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>
</SPAN></SPAN>
</body>

</html>

⌨️ 快捷键说明

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