質問編集履歴

3

htmlコードの追加

2017/05/22 12:10

投稿

masao12
masao12

スコア13

test CHANGED
File without changes
test CHANGED
@@ -10,7 +10,123 @@
10
10
 
11
11
 
12
12
 
13
+ 追記しました。
14
+
15
+ jquery.pjax.jsはdefunkt版になります。よろしくおねがいいたします。
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+ ```index.html
28
+
29
+
30
+
31
+ <!DOCTYPE html>
32
+
33
+ <html lang="ja">
34
+
35
+ <head>
36
+
37
+ <meta charset="UTF-8">
38
+
39
+ <title>HOME</title>
40
+
41
+ </head>
42
+
43
+ <body>
44
+
45
+ <nav>
46
+
47
+ <ul class="links nav">
48
+
49
+ <li class="nav-mini"><a class="pjax js-gnav" href="index.html">HOME</a></li>
50
+
51
+ <li class="nav-mini">
52
+
53
+ <a id="Moge" class="pjax js-gnav" href="about.html">ABOUT</a>
54
+
55
+ </li>
56
+
57
+ </ul>
58
+
59
+ </nav>
60
+
61
+ <section class="content">
62
+
63
+ <div id="pjaxContent" data-this-display="HOME">
64
+
65
+ <!--ここにABOUTページの内容を取得-->
66
+
67
+ </div>
68
+
69
+ </section>
70
+
71
+ <script src="js/jquery-1.9.1.min.js"></script>
72
+
73
+ <script src="js/jquery.pjax.js"></script>
74
+
75
+ <script src="js/test.js"></script>
76
+
77
+ </body>
78
+
79
+ </html>
80
+
81
+
82
+
13
83
  ```
84
+
85
+
86
+
87
+ ```about.html
88
+
89
+ <!DOCTYPE html>
90
+
91
+ <html lang="ja">
92
+
93
+ <head>
94
+
95
+ <meta charset="UTF-8">
96
+
97
+ <title>ABOUT</title>
98
+
99
+ </head>
100
+
101
+ <body>
102
+
103
+ <div id="pjaxContent" data-this-display="ABOUT">
104
+
105
+ <h2 class="title">ABOUT</h2>
106
+
107
+ <p class="title-text">
108
+
109
+ テキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキスト
110
+
111
+ </p>
112
+
113
+ </div>
114
+
115
+ <script src="js/jquery-1.9.1.min.js"></script>
116
+
117
+ <script src="js/jquery.pjax.js"></script>
118
+
119
+ <script src="js/test.js"></script>
120
+
121
+ </body>
122
+
123
+ </html>
124
+
125
+
126
+
127
+ ```
128
+
129
+ ```test.js
14
130
 
15
131
  $(document).on('click', 'a.pjax', function(e) {
16
132
 

2

初心者マークを入れました

2017/05/22 12:10

投稿

masao12
masao12

スコア13

test CHANGED
@@ -1 +1 @@
1
- defunkt版のjQueryPjaxでのwebサイト制作について
1
+ jQueryPjaxでのwebサイト制作について
test CHANGED
@@ -1,4 +1,4 @@
1
- defunkt版のjQueryPjaxプラグインを使用して、
1
+ jQueryPjaxプラグインを使用して、
2
2
 
3
3
  非同期通信でページ遷移するWEBサイトを作成しています。
4
4
 

1

初心者マークを追加

2017/05/21 07:49

投稿

masao12
masao12

スコア13

test CHANGED
File without changes
test CHANGED
File without changes