I

이 소스를 쿠키 적용시킬수잇을까요~ 도와주세요~

· 18년 전 · 966
<HTML>
<HEAD>
    <TITLE>BLUE-B</TITLE>
</HEAD>
<BODY>
<div id="movmenu" style="position:absolute; visibility:show; left:20px; top:20px; z-index:2">
<table border=0 cellpadding=4 cellspacing=1 border=0 width=150 bgcolor=555555>
<tr bgcolor=efefef>
    <td>
        <img src=http://www.blueb.co.kr/SRC/javascript-x/image/dot01.gif align=absmiddle> <a href="#">Your Link1</a><br>
        <img src=http://www.blueb.co.kr/SRC/javascript-x/image/dot01.gif align=absmiddle> <a href="#">Your Link2</a><br>
        <img src=http://www.blueb.co.kr/SRC/javascript-x/image/dot01.gif align=absmiddle> <a href="#">Your Link3</a><br>
        <img src=http://www.blueb.co.kr/SRC/javascript-x/image/dot01.gif align=absmiddle> <a href="#">Your Link4</a><br>
    </td>
</tr>
<tr bgcolor=0 onmousedown="InitializeMove()" style="cursor:move;">
    <td align=center style="font-family:tahoma;font-size:8pt;color:white"><B>Drag</B> (Double Click STOP)</td>
</tr>
</table>
</div>
<div id="emptycell" style="position:absolute; visibility:show; left:-70px; top:-70px; z-index:2"></div>
<script-x language="JavaScript-x1.2">
<!--
var XX = 0;
var YY = 0;
var cur_one = "emptycell"
var moving = false;
var xpos1 = 20;
var ypos1 = 20;
var myX = 0;
var myY = 0;
function InitializeMove() {
    cur_one = "movmenu";
    XX = eval("xpos1");
    YY = eval("ypos1");
}
function CaptureMove() {
    if (document.layers) document.captureEvents(Event.MOUSEMOVE);
}
function EndMove() {
    if (document.layers) document.releaseEvents(Event.MOUSEMOVE);
        cur_one = "emptycell"
        moving = false;
        document.close();
}
function WhileMove() {
  if (document.all) {
    eval(cur_one+".style.left="+myX);
    eval(cur_one+".style.top="+myY);
  }
 
  if (document.layers) {
    eval("document."+cur_one+".left="+myX);
    eval("document."+cur_one+".top="+myY);
  }
}
function MoveHandler(e) {
    myX = (document.all) ? event.clientX : e.pageX;
    myY = (document.all) ? event.clientY : e.pageY;
      if (!moving) {
        diffX =  XX - myX;
        diffY = YY - myY;
        moving = true;
      if (cur_one == "emptycell") moving = false;
    }
    myX += diffX;
    myY += diffY;
      if (moving) {
        xpos1 = myX;
        ypos1 = myY;
      }
    WhileMove();
}
function ClearError() {
return true;
}
if (document.layers) {
    document.captureEvents(Event.CLICK);
    document.captureEvents(Event.DBLCLICK);
}
    document.onmousemove = MoveHandler;
    document.onclick = CaptureMove;
    document.ondblclick = EndMove;
    window.onerror = ClearError;
WhileMove();
//-->
</script-x>


위에 소스를 쿠키적용시켜서 페이지 이동되도 옮긴 자리 그대로 있을수 잇을까요?
글구 브라우저를 껐을때는 쿠키가 사라지게끔 가능한가요~

도와주세요~ 부탁드려효~ ㅎㅎ
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
18년 전 조회 1,775
18년 전 조회 1,516
18년 전 조회 1,857
18년 전 조회 1,217
18년 전 조회 1,422
18년 전 조회 1,316
18년 전 조회 1,549
18년 전 조회 1,798
18년 전 조회 950
18년 전 조회 967
18년 전 조회 1,513
18년 전 조회 953
18년 전 조회 784
18년 전 조회 781
18년 전 조회 1,039
18년 전 조회 1,546
18년 전 조회 1,651
18년 전 조회 1,120
18년 전 조회 1,337
18년 전 조회 1,160
🐛 버그신고