-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
36 lines (21 loc) · 1.29 KB
/
README
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
31
32
33
34
35
36
jQuery.mobile.forpc is a patch for web site generated by jQuery.mobile to show by PC browser like Mozila and Web-Kit.
Detail of jQuery.Mobile is here.
http://jquerymobile.com/
jQuery.mobile.forpc works collect on Mozilla or Web-Kit latest version.
0. preparation
You shuld put jquery.mobile.forpc-0.1.2.js and background-iphone.png on web server of your application.
If you put theme other directory, rewirite collect path to value of iPhoneImage.PATH written in jquery.mobile.forpc-0.1.2.js
1. Initialization
jQuery.mobile.forpc requires JQuery and jQuery.mobile.
JQuery must be loaded before jQuery.mobile.forpc, and jQuery.mobile must be loaded after jQuery.mobile.forpc
ex.
<script type="text/javascript" src="/js/jquery-1.5.js" charset="utf-8"></script>
<script type="text/javascript" src="/js/jquery.mobile.forpc-0.1.2.js" charset="utf-8"></script>
<script type="text/javascript" src="/js/jquery.mobile-1.0a3.js" charset="utf-8"></script>
2. Customize
2-1.
You can put jquery.mobile.forpc-0.1.2.js and background-iphone.png in another directry if you rewrite value of iPhoneImage.PATH to collect path of background-iphone.png.
2-2.
You can change iPhone image position if you rewrite value of iPhoneImage.POSITION_LEFT
2-3.
You can chage background design if you add style to ".background-iphone"