|
Home ·Î±×ÀÎ |
|
| |
 |
|
|
 |
 |
 |
| |
ÇÁ·Úº§¿¡¼
¹ú¾îÁö´Â ´Ù¾çÇÑ À̺¥Æ® Âü¿© |
±³Àç±³±¸¸¦
Ȱ¿ëÇÑ ¹è¿òÅÍ Á¤º¸ |
ÇÁ·Úº§À»
»ç¶ûÇÏ´Â ¾ö¸¶µéÀÇ ¸ðÀÓ, ¸ðÀÓÅÍ
Ȱµ¿ |
¿ì¸®¾ÆÀÌ¿Í
ÇÔ²²ÇÏ´Â Àç¹ÌÀÖ´Â ³îÀÌ, ³îÀÌÅÍ |
| |
|
|
|
|
|
');
var bNetscape4plus = (navigator.appName == "Netscape" && navigator.appVersion.substring(0,1) >= "4");
var bExplorer4plus = (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.substring(0,1) >= "4");
function CheckUIElements(){
var yMenuFrom, yMenuTo, yButtonFrom, yButtonTo, yOffset, timeoutNextCheck;
if ( bNetscape4plus ) {
yMenuFrom = document["Layer1"].top;
yMenuTo = top.pageYOffset + 500; // Layer1 Layer ÀÇ Ã³À½ À§Ä¡
}
else if ( bExplorer4plus ) {
yMenuFrom = parseInt (Layer1.style.top, 10);
yMenuTo = document.body.scrollTop + 178; // Layer1 Layer ÀÇ Ã³À½ À§Ä¡
}
timeoutNextCheck = 10;
if ( Math.abs (yButtonFrom - (yMenuTo + 152)) < 6 && yButtonTo < yButtonFrom ) {
setTimeout ("CheckUIElements()", timeoutNextCheck);
return;
}
if ( yButtonFrom != yButtonTo ) {
yOffset = Math.ceil( Math.abs( yButtonTo - yButtonFrom ) / 5 );
if ( yButtonTo < yButtonFrom )
yOffset = -yOffset;
if ( bNetscape4plus )
document["divLinkButton"].top += yOffset;
else if ( bExplorer4plus )
divLinkButton.style.top = parseInt (divLinkButton.style.top, 10) + yOffset;
timeoutNextCheck = 10;
}
if ( yMenuFrom != yMenuTo ) {
yOffset = Math.ceil( Math.abs( yMenuTo - yMenuFrom ) / 5 );
if ( yMenuTo < yMenuFrom )
yOffset = -yOffset;
if ( bNetscape4plus )
document["Layer1"].top += yOffset;
else if ( bExplorer4plus )
Layer1.style.top = parseInt (Layer1.style.top, 10) + yOffset;
timeoutNextCheck = 10;
}
setTimeout ("CheckUIElements()", timeoutNextCheck);
}
function OnLoad()
{
var y;
if ( top.frames.length )
if ( bNetscape4plus ) {
document["Layer1"].top = top.pageYOffset ;
document["Layer1"].visibility = "visible";
}
else if ( bExplorer4plus ) {
Layer1.style.top = document.body.scrollTop ;
Layer1.style.visibility = "visible";
}
CheckUIElements();
return true;
}
OnLoad();
//-->
//-->
|