본문 바로가기
책갈피

가을 타셔용?.. 테스트 함 받아바용~

푸른하늘소스 |2003.11.07 12:23
조회 132 |추천 0

 <table width=646 cellpadding=5 cellspacing=5 border=0>
 <tr>
  <td> <P>
<TABLE cellSpacing=0 cellPadding=3 width="100%" bgColor=#ffffff border=0>
<TBODY>
<TR>
<TD style="FONT-SIZE: 10pt; LINE-HEIGHT: 11pt" align=left>가을 타셔용?.. 테스트 함 받아바용~
<CENTER><BR><EMBED src=http://www.nartbox.com/fortune/05/l010423_lovetalent/image/lovetalent.swf width=700 height=550 type=application/x-shockwave-flash><BR></CENTER></TD>
<TD width=20></TD></TR>
<TR>
<TD height=20></TD></TR></TBODY></TABLE>
&lt;SCRIPT>
        var str_lusrid = '';

        function prepare_mood_change ()
        {
          document.all.div_face.style.visibility = "visible";
          document.all.div_face.style.top = window.event.y+document.body.scrollTop;
          document.all.div_face.style.left = window.event.x+document.body.scrollLeft;
        }

        function doAddTailmsg(lusrid, dusername, iconimg, regdate, tail, securityKey, popup_menu)
        {
          document.fo_tail_add.tail.value = "";
          doWriteTailmsg(lusrid, dusername, iconimg, regdate, tail, securityKey, popup_menu);
          document.fo_tail_add.tail.focus();
        }

        function doWriteTailmsg(lusrid, dusername, iconimg, regdate, tail, securityKey, popup_menu)
        {
          var newRow, newCell;

          var obj_regdate = new Date(regdate*1000);
          var str_date = (obj_regdate.getDate() >= 10)?obj_regdate.getDate():"0"+obj_regdate.getDate();
          var str_hours = (obj_regdate.getHours() >= 10)?obj_regdate.getHours():"0"+obj_regdate.getHours();
          var str_minutes = (obj_regdate.getMinutes() >= 10)?obj_regdate.getMinutes():"0"+obj_regdate.getMinutes();
          var str_regdate = (obj_regdate.getMonth()+1)+"/"+str_date+", "+str_hours+":"+str_minutes;

          var amp = /&amp;/g;
          tail = tail.replace(amp, "&");

          if (tailmsg_addon.rows.length == 0)
          {
            tailmsg_line.cellSpacing = 10;
            newRow = tailmsg_line.insertRow();
            newCell = newRow.insertCell();
            newRow.height = 1;
            newRow.bgColor = "#DF9D39";

            tailmsg_gap.cellSpacing = 3;
            newRow = tailmsg_gap.insertRow();
            newCell = newRow.insertCell();

            tailmsg_addon.cellPadding = 2;
          }

          if (popup_menu == "")
            popup_menu = "elMenu4";

          newRow = tailmsg_addon.insertRow();
          newRow.name = "tail_"+regdate;

          newCell = newRow.insertCell();
          newCell.width = 12;
          newCell.innerHTML = "&nbsp;";

          newCell = newRow.insertCell();
          newCell.width = 29;
          newCell.innerHTML = iconimg+"&nbsp;";

          newCell = newRow.insertCell();
          if (str_lusrid != "")
            newCell.innerHTML = gen_pa_str(lusrid, popup_menu, dusername)+" ("+str_regdate+") : "+tail;
          else
            newCell.innerHTML = dusername+" ("+str_regdate+") : "+tail;
          if (securityKey != "")
            newCell.innerHTML += "&nbsp;&nbsp;<a href=javascript:doDeleteTailmsg("+regdate+",\""+securityKey+"\") target=_self>☞꼬리삭제</a>";

          newCell = newRow.insertCell();
          newCell.width = 12;
          newCell.innerHTML = "&nbsp;";
        }

        function doDeleteTailmsg(regdate, securityKey)
        {
          if (confirm('꼬리말을 삭제하시겠습니까?'))
          {
            document.fo_tail_del.regdate.value = regdate;
            document.fo_tail_del.securityKey.value = securityKey;
            document.fo_tail_del.submit();
          }
        }

        function doEraseTailmsg(regdate)
        {
          for (var i=0; i<tailmsg_addon.rows.length; i++)
          {
            if (tailmsg_addon.rows[i].name == "tail_"+regdate)
            {
              tailmsg_addon.deleteRow(i);
              break;
            }
          }

          if (tailmsg_addon.rows.length == 0)
          {
            tailmsg_line.cellSpacing = 0;
            tailmsg_line.deleteRow();

            tailmsg_gap.cellSpacing = 0;
            tailmsg_gap.deleteRow();

            tailmsg_addon.cellPadding = 0;
          }
        }
     

       

      </SCRIPT>
</P>
  </td>
 </tr>
 </table>
 

추천수0
반대수0

공감많은 뉴스 시사

더보기

뉴스 플러스