5일째 답변이 없는 그 질문

kurtof27의 이미지

var stmnLEFT = 0; // 오른쪽 여백 (메뉴가 오른쪽에서 0픽셀 떨어진 곳에 보여집니다)
var stmnGAP1 = 250; // 위쪽 여백 (메뉴가 위에서 250픽셀 떨어진 곳에 보여집니다)
var stmnGAP2 = 0; // 스크롤시 브라우저 위쪽과 떨어지는 거리
var stmnBASE = 250; // 스크롤 시작위치 
var stmnActivateSpeed = 10;
var stmnScrollSpeed = 10;

var stmnTimer;

function RefreshStaticMenu()
{
var stmnStartPoint, stmnEndPoint, stmnRefreshTimer;

stmnStartPoint = parseInt(STATICMENU.style.top, 10);
stmnEndPoint = document.body.scrollTop + stmnGAP2;
if (stmnEndPoint < stmnGAP1) stmnEndPoint = stmnGAP1;

stmnRefreshTimer = stmnActivateSpeed;

if ( stmnStartPoint != stmnEndPoint ) {
stmnScrollAmount = Math.ceil( Math.abs( stmnEndPoint - stmnStartPoint ) / 15 );
STATICMENU.style.top = parseInt(STATICMENU.style.top, 10) + ( ( stmnEndPoint<stmnStartPoint ) ? -stmnScrollAmount : stmnScrollAmount );
stmnRefreshTimer = stmnScrollSpeed;
}

stmnTimer = setTimeout ("RefreshStaticMenu();", stmnRefreshTimer);
} 

function InitializeStaticMenu()
{
STATICMENU.style.top = document.body.scrollTop + stmnBASE;
RefreshStaticMenu();

STATICMENU.style.left = stmnLEFT;
}
<div id="STATICMENU" style="position:absolute; z-index:100; left:0px; top:250px; width: 180px; height: 500px;"> 

<table width="180" border="0" cellspacing="0" cellpadding="0">
  <tr align="right">
    <td>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="180" HEIGHT="820" hspace="0" vspace="0" ALIGN="">
        <PARAM NAME=movie VALUE="/images/swf/left_menu_intro.swf">
        <PARAM NAME=quality VALUE=high>
        <PARAM NAME=wmode VALUE=transparent>
        <PARAM NAME=bgcolor VALUE=#FFFFFF>
        <EMBED src="/images/swf/left_menu_intro.swf"  WIDTH="180" HEIGHT="820" hspace="0" vspace="0" ALIGN="" quality=high wmode=transparent bgcolor=#FFFFFF
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> 
      </OBJECT>
</td>
  </tr>
</table>
</div>
<script language='javascript'>
<!--
InitializeStaticMenu();
//-->
</script>

위의 소스를 사용하고 있는데요, 문제점이 하나 있습니다.
스크롤이 되긴데는데 레이어의 세로길이가 길어 스크롤이 페이지 끝에서 멈추지 않고
계속 내려간다는 것이죠.

height 를 줄이지 않고 스크롤이 페이지 끝에서 멈추게 해주세여

이 문제점을 해결해주시면 정말 고맙겠습니다.

답변 부탁드려요.

서지훈의 이미지

어느부분의 뭐가 문제라는 건지?
아님... 소스를 분석 해달라는 건지?
-_-ㅋ

좀 더 정리를 하셔서 질문을 얼려 주셔야 할것 같군요.

<어떠한 역경에도 굴하지 않는 '하양 지훈'>

#include <com.h> <C2H5OH.h> <woman.h>
do { if (com) hacking(); if (money) drinking(); if (women) loving(); } while (1);

cdpark의 이미지

같은 질문을 반복해서 올리지 말아주세요.

http://bbs.kldp.org/viewtopic.php?t=19100

세벌의 이미지

javascript 관련 질문인가요? http://jsguide.net 등 자바스크립트 관련 사이트에 질문해 보심이...

Prentice의 이미지

질문 제목에서 질문 내용을 빠뜨리신 것도 별로 좋지 않습니다.

http://bbs.kldp.org/viewtopic.php?t=41587

자꾸 왜 이러십니까..

http://wiki.kldp.org/wiki.php/%C3%CA%BA%B8%C0%DA%C4%DA%B3%CA#s-2

freezm7의 이미지

Quote:
위의 소스를 사용하고 있는데요, 문제점이 하나 있습니다.
스크롤이 되긴데는데 레이어의 세로길이가 길어 스크롤이 페이지 끝에서 멈추지 않고
계속 내려간다는 것이죠.

height 를 줄이지 않고 스크롤이 페이지 끝에서 멈추게 해주세여

이 문제점을 해결해주시면 정말 고맙겠습니다.

답변 부탁드려요.

설마 이런 식의 질문에 "시간과 땀을 투자한 정성스런" 답변이 올라오길 바라시는 걸까요?

저도 질문맨인 편이지만,
이런 식의 질문을 보니 마음이 불편하네요.

제목부터가... "5일이나 지났는데 왜 답변 안달아줘?" 나 마찬가지 같군요.

즐겁게 살아 볼까나~*

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.