[mobile web] jquery mobile configurable option 설정하기
1. 방법 1
<!-- jquery mobile configurable option -->
<script language="javascript" type="text/javascript">
$.extend( $.mobile , {
ajaxEnabled : false,
hashListeningEnabled: false
});
</script>
2. 방법 2
$(document).bind("mobileinit",function(){
$.extend($.mobile,{
defaultTransition:'slide',
loadingMessage:'Now Loding..',
ajaxEnabled:false
,hashListeningEnabled: false//history && hashes
,linkBindingEnabled : false
,autoInitialize:false
,metaViewportContent: 'width=device-width,minimum-scale=0.5,maximum-scale=0.5'
});
});
[mobile web] jquery mobile configurable option 설정하기
'programming > mobile web' 카테고리의 다른 글
[mobile web] jquery hash change (0) | 2012.09.11 |
---|---|
[mobile web] jquery mobile 초기화 설정 ajax 관련 오류 수정하기 (0) | 2012.07.19 |
[mobile web] User Agent Switcher (0) | 2012.07.02 |
[mobile web] 바로가기 아이콘 (0) | 2012.07.01 |
[mobile web] 로직 검토 (0) | 2012.06.15 |