This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var rn = Math.round(Math.random() * 99999); | |
$("#msg").text("Random Number = " + rn); | |
var $el = $("#number1"); | |
$({ val : 0 }).animate({ val : rn }, { | |
duration: 2000, | |
step: function() { | |
$el.text(Math.floor(this.val).cf()); | |
}, | |
complete: function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 소스출처 : http://www.kma.go.kr/weather/forecast/digital_forecast.jsp 내부에 있음 | |
// 기상청에서 이걸 왜 공식적으로 공개하지 않을까? | |
// | |
// (사용 예) | |
// var rs = dfs_xy_conv("toLL","60","127"); | |
// console.log(rs.lat, rs.lng); | |
// | |
<script language="javascript"> | |
//<!-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class app1 extends CordovaActivity | |
{ | |
@Override | |
public void onCreate(Bundle savedInstanceState) | |
{ | |
super.onCreate(savedInstanceState); | |
super.init(); | |
// Set by <content src="index.html" /> in config.xml | |
//------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PAGE = { | |
AUTH: { read_cmt: true, write_cmt: true }, | |
// AUTH : !{JSON.stringify(page_auth)}, | |
COMMENT: true, | |
onOpen: function () { | |
fnInit(); | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User-agent: * | |
Disallow: /temp | |
Disallow: /internal | |
Disallow: /bugs | |
Allow: / | |
User-agent: Googlebot | |
Disallow: /no-google/personal_page.html | |
Allow: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"coord": { | |
"lon": 126.98, | |
"lat": 37.57 | |
}, | |
"sys": { | |
"message": 0.3162, | |
"country": "KR", | |
"sunrise": 1404245699, | |
"sunset": 1404298641 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(function ($, window, document, undefined) { | |
$.fn.sectionCollapsible = function(options) { | |
var defaults = { | |
duration : 500, // animation 시간 | |
easing : "swing" // animation 유형 | |
}; | |
var settings = $.extend({}, defaults, options); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var PLUGIN_NS = "metaApp", | |
defaults = { | |
basename : "hello", | |
template : { list: '', view: '', form: '' }, | |
ajax : { | |
_r : { url: '', _r: 10 }, // 목록 | |
_r1 : { url: '' }, // 상세보기(+수정용) (1건 조회) | |
_c : { url: '', rules: {} }, // 등록처리 | |
_u : { url: '', rules: {} }, // 수정처리 | |
_d : { url: '' } // 삭제처리 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var PLUGIN_NS = "metaBBSList", | |
defaults = { | |
basename : "bbs", | |
auth : {}, | |
mid : 0, // 게시판 id | |
bid : 0, // 현재 선택한 게시물 id (active bid) - View 하단 목록인 경우 | |
theme : "basic", | |
ajax : { | |
_r : { url: '', _r: 10 }, // 목록 | |
_r1 : { url: '' }, // 상세보기(+수정용) (1건 조회) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var PLUGIN_NS = "metaFileList", | |
defaults = { | |
basename : "file", | |
auth : {}, | |
bid : 0, | |
template : { list: '' }, | |
ajax : { | |
_r : { url: '', upload_gid: '' }, // 목록 | |
_d : { url: '' } // 삭제처리 | |
}, |
OlderNewer