$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Brief Introduction of jQuery Mobile
Search
Tak Yanagida
November 10, 2013
Programming
0
130
Brief Introduction of jQuery Mobile
jQuery Mobileでモバイル対応してみた
jsCafe16で発表した資料です。お好みダムサーチのモバイル版を開発した際の経験を簡単にまとめました。
Tak Yanagida
November 10, 2013
Tweet
Share
More Decks by Tak Yanagida
See All by Tak Yanagida
Non-mercator Projection with Mapnik
tyanagida
1
1.2k
How much we have to study English?
tyanagida
0
120
Functional Programming Applied in JS
tyanagida
0
98
PowerShell for LL Users
tyanagida
0
1.2k
Other Decks in Programming
See All in Programming
Flutter On-device AI로 완성하는 오프라인 앱, 박제창 @DevFest INCHEON 2025
itsmedreamwalker
1
150
Jetpack XR SDKから紐解くAndroid XR開発と技術選定のヒント / about-androidxr-and-jetpack-xr-sdk
drumath2237
1
190
AIコーディングエージェント(Manus)
kondai24
0
210
Deno Tunnel を使ってみた話
kamekyame
0
240
안드로이드 9년차 개발자, 프론트엔드 주니어로 커리어 리셋하기
maryang
1
130
Cell-Based Architecture
larchanjo
0
140
マスタデータ問題、マイクロサービスでどう解くか
kts
0
120
AIコーディングエージェント(NotebookLM)
kondai24
0
230
開発に寄りそう自動テストの実現
goyoki
2
1.4k
AI時代を生き抜く 新卒エンジニアの生きる道
coconala_engineer
1
420
The Art of Re-Architecture - Droidcon India 2025
siddroid
0
120
Java 25, Nuevas características
czelabueno
0
110
Featured
See All Featured
The Curious Case for Waylosing
cassininazir
0
190
RailsConf 2023
tenderlove
30
1.3k
The Pragmatic Product Professional
lauravandoore
37
7.1k
[SF Ruby Conf 2025] Rails X
palkan
0
560
Making Projects Easy
brettharned
120
6.5k
Done Done
chrislema
186
16k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
47k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
120
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.4k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.1k
Marketing to machines
jonoalderson
1
4.3k
Transcript
jQuery Mobile 紹介 柳田 @tyanagida
ダムの地図公開してます http://maps.ontarget.cc/dams/sp_ja.php
実装の概要 • アプリじゃなくてWebページ • HTMLは1つだけ • jQuery Mobileを利用 • Google
Maps API v3を利用 モバイル対応してます
モバイル版の作り方 1. PC版を見て、画面の分け方を考える
<div id="map_page" data-role="page" data-theme="a"> <div data-role="header" data-position="fixed"> <h1>地図表示</h1> 2. 該当する部分にdivタグ追加
<div id="map_canvas" data-role="content"></div>
<div id="map_page" data-role="page" data-theme="a"> <div data-role="header" data-position="fixed"> <h1>地図表示</h1> 2. 該当する部分にdivタグ追加
<div id="map_canvas" data-role="content"></div>
<div id="map_page" data-role="page" data-theme="a"> <div data-role="header" data-position="fixed"> <h1>地図表示</h1> 2. 該当する部分にdivタグ追加
<div id="map_canvas" data-role="content"></div>
<div id="map_page" data-role="page" data-theme="a"> <div data-role="header" data-position="fixed"> <h1>地図表示</h1> 2. 該当する部分にdivタグ追加
<div id="map_canvas" data-role="content"></div>
<div id="map_page" data-role="page" data-theme="a"> <div data-role="header" data-position="fixed"> <h1>地図表示</h1> 2. 該当する部分にdivタグ追加
<div id="map_canvas" data-role="content"></div>
<div id="map_page" data-role="page" data-theme="a"> <div data-role="header" data-position="fixed"> <h1>地図表示</h1> 2. 該当する部分にdivタグ追加
<div id="map_canvas" data-role="content"></div> data-xxxx: jQuery Mobile用の属性
<div data-role="navbar"> <ul> <li><a href="#map_page" data-icon="home">地図</a></li> <li><a href="#side_area" data-icon="bars">一覧</a></li> 3.
navbarも追加 画面切替はハッシュ切り替え
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.2/jquery.mobile- 1.3.2.min.css" /> <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile- 1.3.2.min.js"></script>
4. jQuery Mobileを読み込み 簡単!! Maps APIには苦労したけど…
補足: ドキュメント ここまで紹介したように、jQuery Mobileは、通常のjQueryや jQuery UIと違って、API呼出しではなく、HTMLマークアップが標 準的な使い方です。したがって、APIドキュメントよりも、公式サ イトのDEMOページを参考にすることをおすすめします。 http://view.jquerymobile.com/1.3.2/demos/