달력

4

« 2024/4 »

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30


http://suite.tistory.com 2011.2 fs

<table><tr> <td> 리스트 화면을 동적 상 하 좌 우 변경하고 싶을때~~ 역시 검색 해도 잘안나와서 정리해봄
http://jquery.com/  Cross-browser 대단함~~~ 현재 제공해주는 최신 버전은 version 1.5임
 
<html>
<title>Jquery로 리스트 동적 변경 http://suite.tistory.com</title>
<head>
<script type="text/javascript" src="jquery-1.5.min.js"></script> 
</head>
<body>
<form method="get">
<table border=1>
  <tr id=MARK1>
    <td>
      <input type="checkbox" name="book_chk" value="checked_id1">
    </td>
    <td>제목1</td>
    <td>내용1</td> 
    <td>
      <input type="button" name="up1" value="up" onclick="moveUpItem('MARK1')">
      <input type="button" name="down1" value="down"  onclick="moveDownItem('MARK1')">
    </td>
  </tr>
  <tr id=MARK2>
    <td>
      <input type="checkbox" name="book_chk" value="checked_id2">
    </td>
    <td>제목2</td>
    <td>내용2</td> 
    <td>
      <input type="button" name="up2" value="up"  onclick="moveUpItem('MARK2')">
      <input type="button" name="down2" value="down"  onclick="moveDownItem('MARK2')">
    </td>
  </tr>
  <tr id=MARK3>
    <td>
      <input type="checkbox" name="book_chk" value="checked_id3">
    </td>
    <td>제목3</td>
    <td>내용3</td> 
    <td>
      <input type="button" name="up2" value="up"  onclick="moveUpItem('MARK3')">
      <input type="button" name="down2" value="down"  onclick="moveDownItem('MARK3')">
    </td>
  </tr>
  <tr id=MARK4>
    <td>
      <input type="checkbox" name="book_chk" value="checked_id4">
    </td>
    <td>제목4</td>
    <td>내용4</td> 
    <td>
      <input type="button" name="up2" value="up"  onclick="moveUpItem('MARK4')">
      <input type="button" name="down2" value="down"  onclick="moveDownItem('MARK4')">
    </td>
  </tr>
  <tr id=MARK5>
    <td>
      <input type="checkbox" name="book_chk" value="checked_id5">
    </td>
    <td>제목5</td>
    <td>내용5</td> 
    <td>
      <input type="button" name="up2" value="up"  onclick="moveUpItem('MARK5')">
      <input type="button" name="down2" value="down"  onclick="moveDownItem('MARK5')">
    </td>
  </tr>   
</table>
<script type="text/javascript">
       
function moveUpItem(currentMark) {    
 
  var idStr='#' + currentMark;
  var prevHtml=$(idStr).prev().html();

  if( prevHtml == null){
    alert("최상위 리스트입니다!");
    return;
  }
  var prevcurrentMark=$(idStr).prev().attr("id");
 
  var currcurrentMark=$(idStr).attr("id");
  var currHtml=$(idStr).html();
 
  //값 변경
  $(idStr).html(prevHtml);
  $(idStr).prev().html(currHtml);
 
  //id 값도 변경
  $(idStr).prev().attr("id","TEMP_TR");
  $(idStr).attr("id",prevcurrentMark);
  $("#TEMP_TR").attr("id",currcurrentMark);
 
}

function moveDownItem(currentMark) {    
 
  var idStr='#' + currentMark;
  var nextHtml=$(idStr).next().html();

  if( nextHtml == null){
    alert("최하위 리스트입니다!");
    return;
  }
  var nextcurrentMark=$(idStr).next().attr("id");
  var currcurrentMark=$(idStr).attr("id");
  var currHtml=$(idStr).html();
  $(idStr).next().html(currHtml);
 // $(idStr).next().attr("id",currcurrentMark);
 
  //값 변경
  $(idStr).html(nextHtml);
 
  //id 값도 변경
  $(idStr).next().attr("id","TEMP_TR");
  $(idStr).attr("id",nextcurrentMark);
  $("#TEMP_TR").attr("id",currcurrentMark);
 
}

</script>
<input type=submit name="test">  
</form>
</table>
</body>
</html> 

<수행 결과>






 

 

:
Posted by mastar

http://suite.tistory.com fs 2010 03

도구 -> 개발자도구  비활성화 일때

레지스트리에서 변경하여 사용~~가능

IEDevTools > Disabled 값을 1 -> 0 으로 변경
자세한건 그림 참고~~~

사용자 삽입 이미지


 

:
Posted by mastar

http://suite.tistory.com/ 2009 01


플레쉬 모르고 지울때 강제 엑티브 엑스 실행 파일  ~~~~
 

Install Flash Player 9 ActiveX.msi

 


출처 : 인터넷 어디 ~.~

 

:
Posted by mastar

http://suite.tistory.com/ 2008 06 fs

비스타 호스트 파일 위치 설정

관리자 모드로 메모장 실행하여 수정

C:\Windows\System32\drivers\etc\hosts


:
Posted by mastar

http://suite.tistory.com/ 2008 05 fs

플로그인 유입경로 리퍼러기능 방식|방법 document.referrer

티스토리에 유입경로 및 키워드를 보여주는 유용한 기능이 있다.
어떻게 구현을 했을까 찾아보니 자바스크립트 document 객체에 referrer 라는 property 가 있었다~~

리퍼러란?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

<script>
document.write(document.referrer);
</script>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

referrer 라는 걸 찍어보면 이전 URL 주소와 QueryString 까지 나오니
get 방식으로 보내는 값들도 알수있다.
일반적으로 검색 엔진에서 사용자의 쿼리값은 q 또는 query 를 사용하니
이런값들만 얻어오면 이전에 어떤 경로에서 어떤 키워드로 들어왔는지 자연히
알수있게 되는거였다~~~ 

다시 예 첨부를 통해 예를 들면  

ex_search_engine.html

ex_my_blog.html



두개의 html 첨부파일을 웹루트(아파치루트 또는 IIS 루트)에 업로드

다음 : 

가. ex_search_engine.html (가상검색엔진 페이지)

    1. 단어 입력후 검색 누른다
    2. "검색먼저하고클릭" 링크를 누른다

나. ex_my_blog.html
    여기서 입력한 "q" 키워드 확인


참고로 2008 5월 기준으로 각 검색엔진이 사용하고 있는
사용자 쿼리 변수 이름 (input type=q)

구글 , 다음 , 엠파스(네이트) : q
네이버 : query
야후 : p
파란 : Query


 

 

:
Posted by mastar

http://suite.tistory.com/ , http://cafe.naver.com/linuxmaster.cafe   fs  2006  10 28


scriptko.exe

cyworld_diary_backup.html

그냥 싸이 월드 일기장 수집기를  자바스크립트 버전 으로 맨들었다.



일기를 백업해서 한건에 하나의 html 페이지를 생성한다.


자바스크립과 html로 만들었기때문에   따로 서버페이지 JSP,PHP,ASP..등을 설치 할 필요없다.


 이미 기타 싸이월드 백업 프로그램들이 있긴 하지만 로긴창이 따로 있다. 문제는  소스가 공개 안되니


그게 참 믿을수없다. 내 입력한 정보를 그 백업 프로그램이 어떤 짓을 할지는 만든 사람만 알수 있기 때문이다.


그래서 이건  그냥  인터넷 익스 플러워에서 자기 자신이 로긴한걸 그대로 사용하면 된다.


오늘 기준으로  일기장 733개을 완료 했고. 추 후 싸이 월드 파라 미터들 이름 들이  변경되면

간단히 소스 를 열어서 수정 하면 될것이다???


2006 10 월 기준으로 된것임.




싸이월드 사이월드 싸이백업 일기 백업

 
 
 

사용자 삽입 이미지


 

:
Posted by mastar

http://suite.tistory.com/  2008 5 fs


노트패드 메모장에서 ctrl + g 메뉴가 비활성일때


메뉴 중 -> 서식-> 자동 줄바 꿈(w) 해제 한다.

 

:
Posted by mastar

http://suite.tistory.com/

2008 04 fs


한영 변환  |  초기값 | 커서 | 키보드


한글로 초기화

<input type="text" name="han" style="ime-mode:active">


영문으로 초기화
<input type="text" name="eng" style="ime-mode:inactive">


한가지 보완적으로 키보드 입력시 영타를 입력하다가 한글이 나올수 있기때문에
자바스크립으로 mode값을 조절?하는게 좋음

 

:
Posted by mastar

http://suite.tistory.com/ 2008 2 11 fs

 

윈도우키 + r 하고 실행에  regedit


HKEY_CURRENT_SUER\SOFTWARE\Microsoft\Windows\CurrentVersion\InternetSettings


MaxConnectionsPerServer 로 변수 에 10진수로 개수 설정

사용자 삽입 이미지




사용자 삽입 이미지

 

:
Posted by mastar


http://suite.tistory.com/
  fs 08,01


비스타에서 XP 프로그램을 설치할때

이프로그램에는 알려진 호환성 문제가 있습니다.


보일때나 뭐 호환성 문제가 발생하면 이방법을 한번 해본다.  해결될수도있다???


파일 속성 -> 호환성 -> 호환모드 에서 설정

사용자 삽입 이미지

 

:
Posted by mastar