$(document).ready(function() {
//for table row
$('#item_list tr:even').css("background-color", "#F4F4F8");
$('#item_list tr:odd').css("background-color", "#B0E0E6");
});
2010년 12월 28일 화요일
2010년 11월 21일 일요일
thai cities in google map API
* open chart playground
http://code.google.com/apis/chart/docs/chart_playground.html
* Thai city codes
http://en.wikipedia.org/wiki/ISO_3166-2:TH
* If you want to see entire Thailand, use stringAAA
* if you want to choose few cities, use StringBBB
# StringBBB
cht=map:auto=120,0,0,0
chtt=COWAY+SALES+MAP
chs=380x500
chld=TH-10
TH-20
TH-14
TH-70
TH
chco=EFFBEF
885E80
FA5858
D7DF01
80FF00
D8D8D8
chm=tBangkok-250,000000,0,0,10
tChonburi-300,000000,0,1,10
tAyuthaya-200,000000,0,2,10
tRatchaburi-400,000000,0,3,10,1,:-60:0
# StringAAA
cht=map:auto=50,0,0,50
chtt=COWAY+SALES+MAP
chs=500x600
chld=TH-10
TH-11
TH-12
TH-13
TH-14
TH-15
TH-16
TH-17
TH-18
TH-19
TH-20
TH-21
TH-22
TH-23
TH-24
TH-25
TH-26
TH-27
TH-28
TH-29
TH-30
TH-31
TH-32
TH-33
TH-34
TH-35
TH-36
TH-37
TH-38
TH-39
TH-40
TH-41
TH-42
TH-43
TH-44
TH-45
TH-46
TH-47
TH-48
TH-49
TH-50
TH-51
TH-52
TH-53
TH-54
TH-55
TH-56
TH-57
TH-58
TH-59
TH-60
TH-61
TH-62
TH-63
TH-64
TH-65
TH-66
TH-67
TH-68
TH-69
TH-70
TH-71
TH-72
TH-73
TH-74
TH-75
TH-76
TH-77
TH-78
TH-79
TH-80
TH-81
TH-82
TH-83
TH-84
TH-85
TH-86
TH-87
TH-88
TH-89
TH-90
TH-91
TH-92
TH-93
TH-94
TH-95
TH-96
chco=EFFBEF
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
http://code.google.com/apis/chart/docs/chart_playground.html
* Thai city codes
http://en.wikipedia.org/wiki/ISO_3166-2:TH
* If you want to see entire Thailand, use stringAAA
* if you want to choose few cities, use StringBBB
# StringBBB
cht=map:auto=120,0,0,0
chtt=COWAY+SALES+MAP
chs=380x500
chld=TH-10
TH-20
TH-14
TH-70
TH
chco=EFFBEF
885E80
FA5858
D7DF01
80FF00
D8D8D8
chm=tBangkok-250,000000,0,0,10
tChonburi-300,000000,0,1,10
tAyuthaya-200,000000,0,2,10
tRatchaburi-400,000000,0,3,10,1,:-60:0
# StringAAA
cht=map:auto=50,0,0,50
chtt=COWAY+SALES+MAP
chs=500x600
chld=TH-10
TH-11
TH-12
TH-13
TH-14
TH-15
TH-16
TH-17
TH-18
TH-19
TH-20
TH-21
TH-22
TH-23
TH-24
TH-25
TH-26
TH-27
TH-28
TH-29
TH-30
TH-31
TH-32
TH-33
TH-34
TH-35
TH-36
TH-37
TH-38
TH-39
TH-40
TH-41
TH-42
TH-43
TH-44
TH-45
TH-46
TH-47
TH-48
TH-49
TH-50
TH-51
TH-52
TH-53
TH-54
TH-55
TH-56
TH-57
TH-58
TH-59
TH-60
TH-61
TH-62
TH-63
TH-64
TH-65
TH-66
TH-67
TH-68
TH-69
TH-70
TH-71
TH-72
TH-73
TH-74
TH-75
TH-76
TH-77
TH-78
TH-79
TH-80
TH-81
TH-82
TH-83
TH-84
TH-85
TH-86
TH-87
TH-88
TH-89
TH-90
TH-91
TH-92
TH-93
TH-94
TH-95
TH-96
chco=EFFBEF
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
FFC726
518274
FF0000
885E80
B3BCC0
5781AE
2010년 11월 17일 수요일
iframe 사용 데이터 주고받기
첫번째 방법
var reload_up ="/recp/w_sm2009b.jsp?mode=FIND";
parent.upFrame.location.replace(reload_up);
두번째 방법
var url ="/recp/w_sm2009b.jsp?mode=FIND";
parent.searchfrm.action = url;
parent.searchfrm.target = "upFrame";
parent.searchfrm.submit();
첫번째 방법은 POST 메써드 사용이 안된다. 이 말은 전체 파라미터를 ? 뒤에 나열해야 한다.
두번째 방법은 포스트 방법으로 부모 레벨의 아이프레임단계를 리프레쉬 할 수도 있다.
var reload_up ="/recp/w_sm2009b.jsp?mode=FIND";
parent.upFrame.location.replace(reload_up);
두번째 방법
var url ="/recp/w_sm2009b.jsp?mode=FIND";
parent.searchfrm.action = url;
parent.searchfrm.target = "upFrame";
parent.searchfrm.submit();
첫번째 방법은 POST 메써드 사용이 안된다. 이 말은 전체 파라미터를 ? 뒤에 나열해야 한다.
두번째 방법은 포스트 방법으로 부모 레벨의 아이프레임단계를 리프레쉬 할 수도 있다.
2010년 10월 5일 화요일
2010년 9월 13일 월요일
jQuery - each loop
$("selector").each(function (idx) {
// logic is here...
});
만약 특정 인덱스 값을 돌려받고 싶다면 idx를 리턴 받을 수 있고
특정 객체의 n 번째 값이 보고 싶다면 eq(idx)를 호출하면 된다.
ex>
$("selector").eq(idx).val()
// logic is here...
});
만약 특정 인덱스 값을 돌려받고 싶다면 idx를 리턴 받을 수 있고
특정 객체의 n 번째 값이 보고 싶다면 eq(idx)를 호출하면 된다.
ex>
$("selector").eq(idx).val()
2010년 9월 3일 금요일
keane - perfect symmetry
keane - perfect symmertry
완벽한 조화(너무 딱딱하군)
I shake through the wreckage for signs of life
삶의 신호를 찾기 위해 잔해를 찾아본다
Scrolling through the paragraphs
기사를 스크롤링한다.
Clicking through the photographs
사진들을 클릭한다.
I wish I could make sense of what we do
난 우리가 하는 것이 옳았으면 한다.
Burning down the capitals
소진된 자본
The wisest of the animals
가장 고등한 생물체
Who are you? What are you living for?
넌 누구니 누굴 위해서 사니
Tooth for tooth, maybe we'll go one more
이에는 이 아마 우린 하나를 더 하겠지
This life, is lived in perfect symmetry
이 삶, 바로 완벽한 대칭을 이루는
What I do, that will be done to me
내가 하는것 바로 나에게 돌아 올거야
Read page after page of analysis
분석하는 글들 이리저리 읽어 보아도
Looking for the final score
마지막 최종 스코어를 확인해 보아도
We're no closer than we were before
우린 예전에 있던 곳보다 나아지지 않았지
Who are you? What are you fighting for?
넌 누구니 무엇을 위해서 싸우고 있는거니?
Holy truth? Brother I choose this mortal life
절대적 진리? 형제여 난 숙명적인 삶을 선택하겠어
Lived in perfect symmetry
완벽한 대칭의 삶
What I do, that will be done to me
내가 하는것, 나에게 돌아오겠지
As the needle slips into the run-out groove
바늘이 닳아버린 홈으로 빨려들어가는 것처럼
Love - maybe you'll feel it too
사랑 - 아마 너도 역시 느끼게 되겠지
And maybe you'll find life is unkind
그리고 삶이 매정하다는 것을 알게 될거야
And over so soon
그리고 조만간 그것도 끝이 나겠지
There is no golden gate
너를 기다리는 금문이나
There's no heaven waiting for you
천국은 어디에도 있지 않아
Oh boy you ought to leave this town
소년이여 너는 이 곳을 떠나야만 해
Get out while you can the meter's running down
The voices in the streets you love
너를 사랑하는 이 거리의 목소리들
Everything is better when you hear that sound
모든 것은 그 소리를 들었을때 보다 나을 거야
Woooaohhh
Woooaohhh
Woooaohhh
Spineless dreamers hide in churches
Pieces of pieces of rush hour buses
I dream in emails, worn-out phrases
Mile after mile of just empty pages
Wrap yourself around me
Wrap yourself around me
As the needle slips into the run-out groove
Maybe I'll feel it too
Maybe you'll feel it too
Maybe you'll feel it too
Maybe you'll feel it too
I dream in emails, worn out phrases
Mile after mile of just empty pages
완벽한 조화(너무 딱딱하군)
I shake through the wreckage for signs of life
삶의 신호를 찾기 위해 잔해를 찾아본다
Scrolling through the paragraphs
기사를 스크롤링한다.
Clicking through the photographs
사진들을 클릭한다.
I wish I could make sense of what we do
난 우리가 하는 것이 옳았으면 한다.
Burning down the capitals
소진된 자본
The wisest of the animals
가장 고등한 생물체
Who are you? What are you living for?
넌 누구니 누굴 위해서 사니
Tooth for tooth, maybe we'll go one more
이에는 이 아마 우린 하나를 더 하겠지
This life, is lived in perfect symmetry
이 삶, 바로 완벽한 대칭을 이루는
What I do, that will be done to me
내가 하는것 바로 나에게 돌아 올거야
Read page after page of analysis
분석하는 글들 이리저리 읽어 보아도
Looking for the final score
마지막 최종 스코어를 확인해 보아도
We're no closer than we were before
우린 예전에 있던 곳보다 나아지지 않았지
Who are you? What are you fighting for?
넌 누구니 무엇을 위해서 싸우고 있는거니?
Holy truth? Brother I choose this mortal life
절대적 진리? 형제여 난 숙명적인 삶을 선택하겠어
Lived in perfect symmetry
완벽한 대칭의 삶
What I do, that will be done to me
내가 하는것, 나에게 돌아오겠지
As the needle slips into the run-out groove
바늘이 닳아버린 홈으로 빨려들어가는 것처럼
Love - maybe you'll feel it too
사랑 - 아마 너도 역시 느끼게 되겠지
And maybe you'll find life is unkind
그리고 삶이 매정하다는 것을 알게 될거야
And over so soon
그리고 조만간 그것도 끝이 나겠지
There is no golden gate
너를 기다리는 금문이나
There's no heaven waiting for you
천국은 어디에도 있지 않아
Oh boy you ought to leave this town
소년이여 너는 이 곳을 떠나야만 해
Get out while you can the meter's running down
The voices in the streets you love
너를 사랑하는 이 거리의 목소리들
Everything is better when you hear that sound
모든 것은 그 소리를 들었을때 보다 나을 거야
Woooaohhh
Woooaohhh
Woooaohhh
Spineless dreamers hide in churches
Pieces of pieces of rush hour buses
I dream in emails, worn-out phrases
Mile after mile of just empty pages
Wrap yourself around me
Wrap yourself around me
As the needle slips into the run-out groove
Maybe I'll feel it too
Maybe you'll feel it too
Maybe you'll feel it too
Maybe you'll feel it too
I dream in emails, worn out phrases
Mile after mile of just empty pages
2010년 8월 18일 수요일
jQuery - check box
> 셀렉트 된 엘레먼트(체크박스)의 속성을 체크로 변경
$('input[name=foo]').attr('checked', true);
>
$('input[name=foo]').is(':checked')
2010년 6월 9일 수요일
How to append oracle user collection type...
create or replace
TYPE "VARCHAR_ARRAY" AS TABLE OF VARCHAR2(200);
create or replace
TYPE "MULDIM_ARR" is table of varchar_array ;
aItemArray MULDIM_ARR := MULDIM_ARR();
-- loop clause
aItemArray.EXTEND;
aItemArray(i) := VARCHAR_ARRAY(aSubArray(1), 'A', aSubArray(2));
-- loop end
TYPE "VARCHAR_ARRAY" AS TABLE OF VARCHAR2(200);
create or replace
TYPE "MULDIM_ARR" is table of varchar_array ;
aItemArray MULDIM_ARR := MULDIM_ARR();
-- loop clause
aItemArray.EXTEND;
aItemArray(i) := VARCHAR_ARRAY(aSubArray(1), 'A', aSubArray(2));
-- loop end
2010년 3월 19일 금요일
Log4j by default can log messages with five priority levels
1. Use debug to write debugging messages which should not be printed when the application is in production.
2. Use info for messages similar to the "verbose" mode of many applications.
3. Use warn for warning messages which are logged to some log but the application is able to carry on without a problem.
4. Use error for application error messages which are also logged to some log but, still, the application can hobble along. Such as when some administrator-supplied configuration parameter is incorrect and you fall back to using some hard-coded default value.
5. Use fatal for critical messages, after logging of which the application quits abnormally.
from
http://www.vipan.com/htdocs/log4jhelp.html
2. Use info for messages similar to the "verbose" mode of many applications.
3. Use warn for warning messages which are logged to some log but the application is able to carry on without a problem.
4. Use error for application error messages which are also logged to some log but, still, the application can hobble along. Such as when some administrator-supplied configuration parameter is incorrect and you fall back to using some hard-coded default value.
5. Use fatal for critical messages, after logging of which the application quits abnormally.
from
http://www.vipan.com/htdocs/log4jhelp.html
피드 구독하기:
덧글 (Atom)