문장에 마우스를 올리면 그줄은 크게 보이고 주변줄은 약간 크게 (물고기 눈으로 보는 효과)
페이지 정보
작성자 서방님 댓글 0건 조회 249회 작성일 07-08-08 18:09본문
<HTML>
<HEAD>
<TITLE>BLUE-B</TITLE>
<style type="text/css">
span {font-size: x-small}
</style>
<SCRIPT LANGUAGE="JavaScript">
<!--
function convertPreBlocks() {}
var regular = "x-small";
function bigger(thing){
thing.style.fontSize = "large";
siblingElement = thing.previousSibling;
while(siblingElement) {
if(siblingElement.tagName=="SPAN") {
siblingElement.style.fontSize = "medium";
break;
}
siblingElement = siblingElement.previousSibling;
}
siblingElement = thing.nextSibling;
while(siblingElement) {
if(siblingElement.tagName=="SPAN") {
siblingElement.style.fontSize = "medium";
break;
}
siblingElement = siblingElement.nextSibling;
}
}
function normal(thing){
thing.style.fontSize = regular;
siblingElement = thing.previousSibling;
while(siblingElement) {
if(siblingElement.tagName=="SPAN") {
siblingElement.style.fontSize = regular;
break;
}
siblingElement = siblingElement.previousSibling;
}
siblingElement = thing.nextSibling;
while(siblingElement) {
if(siblingElement.tagName=="SPAN") {
siblingElement.style.fontSize = regular;
break;
}
siblingElement = siblingElement.nextSibling;
}
}
// -->
</script>
</HEAD>
<BODY>
<font color=blue><b>아래 문장에 마우스를 올려보세요...</b></font><br>
<span onmouseover="bigger(this)" onmouseout="normal(this)">Once upon a midnight dreary,</span><br/>
<span onmouseover="bigger(this)" onmouseout="normal(this)">fingers cramped and vision bleary,</span><br/>
<span onmouseover="bigger(this)" onmouseout="normal(this)">System manuals piled high and wasted paper on the floor,</span><br/>
<span onmouseover="bigger(this)" onmouseout="normal(this)">Longing for the warmth of bedsheets,</span><br/>
<span onmouseover="bigger(this)" onmouseout="normal(this)">Still I sat there, doing spreadsheets:</span><br/>
<span onmouseover="bigger(this)" onmouseout="normal(this)">Having reached the bottom line,</span><br/>
<span onmouseover="bigger(this)" onmouseout="normal(this)">I took a floppy from the drawer.</span><br/>
<span onmouseover="bigger(this)" onmouseout="normal(this)">Typing with a steady hand, I then invoked the SAVE command</span><br/>
<span onmouseover="bigger(this)" onmouseout="normal(this)">But got instead a reprimand: it read "Abort, Retry, Ignore".</span><br/>
댓글목록
등록된 댓글이 없습니다.