質問編集履歴
2
書式の改善
title
CHANGED
File without changes
|
body
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
### 発生している問題
|
11
11
|
|
12
|
-
iOSでiframe内のページ内
|
12
|
+
iOSでiframe内のページ内移動を行いたいです。
|
13
13
|
|
14
14
|
### 該当のソースコード
|
15
15
|
|
@@ -78,7 +78,7 @@
|
|
78
78
|
|
79
79
|
色々試してうまくいかず、
|
80
80
|
http://dotnsf.blog.jp/archives/1068683697.html
|
81
|
-
こちら
|
81
|
+
こちらを参考にiframeの外からページ内移動なども試してみましたが、
|
82
82
|
やはりiOSのみ正常にいかない状態でした。
|
83
83
|
|
84
84
|
調べていくと、iOSでのiframeは結構やっかいなので極力使わない方がいい等ありますが、
|
1
書式の改善
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
iOSでiframe内のページ内
|
1
|
+
iOSでiframe内のページ内移動を行いたい
|
body
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
### 前提・実現したいこと
|
2
2
|
|
3
|
-
|
3
|
+
jQueryとiframeであるシステムを作っています。
|
4
4
|
iframe内のページ内スクロールについて、
|
5
5
|
PCやAndroidでは正常に動く機能が、iOSのみ機能しません。
|
6
6
|
|
@@ -13,8 +13,8 @@
|
|
13
13
|
|
14
14
|
### 該当のソースコード
|
15
15
|
|
16
|
-
iframe_test.
|
16
|
+
iframe_test.html(iframe読み込み処理を行っているファイルとなります)
|
17
|
-
```
|
17
|
+
```html
|
18
18
|
<html lang="ja">
|
19
19
|
<head>
|
20
20
|
<meta charset="UTF-8">
|
@@ -41,13 +41,13 @@
|
|
41
41
|
</head>
|
42
42
|
<body>
|
43
43
|
<div id="iframe-div">
|
44
|
-
<iframe id="iframe" src="/iframe_test_sub.
|
44
|
+
<iframe id="iframe" src="/iframe_test_sub.html" name="iframe" scrolling="yes" frameborder="no" style=""></iframe>
|
45
45
|
</div>
|
46
46
|
</body>
|
47
47
|
</html>
|
48
48
|
```
|
49
|
-
iframe_test_sub.
|
49
|
+
iframe_test_sub.html(iframe読み込み先のファイルとなります)
|
50
|
-
```
|
50
|
+
```html
|
51
51
|
<html lang="ja">
|
52
52
|
<head>
|
53
53
|
<meta charset="UTF-8">
|
@@ -59,17 +59,17 @@
|
|
59
59
|
</script>
|
60
60
|
</head>
|
61
61
|
<body>
|
62
|
-
<div id="header">iframe_test_sub.
|
62
|
+
<div id="header">iframe_test_sub.html - header</div>
|
63
|
-
iframe_test_sub.
|
63
|
+
iframe_test_sub.html<br />
|
64
|
-
iframe_test_sub.
|
64
|
+
iframe_test_sub.html<br />
|
65
|
-
iframe_test_sub.
|
65
|
+
iframe_test_sub.html<br />
|
66
66
|
・
|
67
67
|
・
|
68
68
|
・
|
69
|
-
iframe_test_sub.
|
69
|
+
iframe_test_sub.html<br />
|
70
|
-
iframe_test_sub.
|
70
|
+
iframe_test_sub.html<br />
|
71
|
-
iframe_test_sub.
|
71
|
+
iframe_test_sub.html<br />
|
72
|
-
<div id="footer">iframe_test_sub.
|
72
|
+
<div id="footer">iframe_test_sub.html - footer</div>
|
73
73
|
</body>
|
74
74
|
</html>
|
75
75
|
```
|