質問編集履歴
3
ソース編集
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,6 +24,8 @@
|
|
24
24
|
|
25
25
|
<div ng-bind-html="htmltext" class="list">
|
26
26
|
|
27
|
+
//以下がbindで表示された中身
|
28
|
+
|
27
29
|
<p></p>
|
28
30
|
|
29
31
|
<p>中身</p>
|
@@ -41,6 +43,8 @@
|
|
41
43
|
・
|
42
44
|
|
43
45
|
・
|
46
|
+
|
47
|
+
//ここまで
|
44
48
|
|
45
49
|
</div>
|
46
50
|
|
2
ソース編集
test
CHANGED
File without changes
|
test
CHANGED
@@ -22,7 +22,27 @@
|
|
22
22
|
|
23
23
|
<div class="wrap">
|
24
24
|
|
25
|
-
<div ng-bind-html="htmltext" class="list">
|
25
|
+
<div ng-bind-html="htmltext" class="list">
|
26
|
+
|
27
|
+
<p></p>
|
28
|
+
|
29
|
+
<p>中身</p>
|
30
|
+
|
31
|
+
・
|
32
|
+
|
33
|
+
・
|
34
|
+
|
35
|
+
<a>中身</a>
|
36
|
+
|
37
|
+
<p></p>
|
38
|
+
|
39
|
+
・
|
40
|
+
|
41
|
+
・
|
42
|
+
|
43
|
+
・
|
44
|
+
|
45
|
+
</div>
|
26
46
|
|
27
47
|
</div>
|
28
48
|
|
1
ソースの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,21 +4,11 @@
|
|
4
4
|
|
5
5
|
Monacaという開発環境でハイブリットアプリケーションの作成をしているのですが、元々あるaタグのurlを取得(クリックした際)し、それをInappBrowserで開きたいと思っています。
|
6
6
|
|
7
|
-
aタグに関しては別のサーバーからのhtml情報を取得しそのまま反映させているので手を加えることができない状態です。(
|
7
|
+
aタグに関しては別のサーバーからのhtml情報を取得しそのまま反映させているので手を加えることができない状態です。(下記のソースのようにng-bind-html="htmltext"で引っ張ってきており、htmltextで表示した中にaタグが入っています)
|
8
8
|
|
9
9
|
Javascript等を使用してページ内のURLをクリックしたときだけそのURL遷移先をInappBrowserで表示することはできないでしょうか。
|
10
10
|
|
11
11
|
|
12
|
-
|
13
|
-
### 発生している問題・エラーメッセージ
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
```
|
18
|
-
|
19
|
-
エラーメッセージ
|
20
|
-
|
21
|
-
```
|
22
12
|
|
23
13
|
|
24
14
|
|
@@ -26,9 +16,17 @@
|
|
26
16
|
|
27
17
|
|
28
18
|
|
29
|
-
```
|
19
|
+
```html
|
30
20
|
|
21
|
+
<ons-page id="list_inside.html">
|
22
|
+
|
23
|
+
<div class="wrap">
|
24
|
+
|
25
|
+
<div ng-bind-html="htmltext" class="list"></div>
|
26
|
+
|
31
|
-
|
27
|
+
</div>
|
28
|
+
|
29
|
+
</ons-page>
|
32
30
|
|
33
31
|
```
|
34
32
|
|
@@ -38,12 +36,10 @@
|
|
38
36
|
|
39
37
|
|
40
38
|
|
39
|
+
document.getElementsByTagName('a').getAttribute('href');
|
40
|
+
|
41
|
-
|
41
|
+
等試しましたが取れませんでした。
|
42
42
|
|
43
43
|
|
44
44
|
|
45
|
-
|
45
|
+
シングルページアプリケーションなので、イベント処理をどのように行うのが良いのかもわかっていません。
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
ここにより詳細な情報を記載してください。
|