質問編集履歴

9

タグ

2019/06/08 06:28

投稿

old_dog
old_dog

スコア51

test CHANGED
File without changes
test CHANGED
File without changes

8

タグ追加

2019/06/08 06:28

投稿

old_dog
old_dog

スコア51

test CHANGED
File without changes
test CHANGED
File without changes

7

誤字

2019/06/08 06:28

投稿

old_dog
old_dog

スコア51

test CHANGED
File without changes
test CHANGED
@@ -50,7 +50,7 @@
50
50
 
51
51
 
52
52
 
53
-  var iw_d = $('gm-style-iw-d');
53
+  var iw_d = $('.gm-style-iw-d');
54
54
 
55
55
  iw_d.css({'cssText':'background:#aaf !important'});
56
56
 

6

追加

2019/06/08 04:43

投稿

old_dog
old_dog

スコア51

test CHANGED
File without changes
test CHANGED
@@ -17,6 +17,10 @@
17
17
  ### 対象とする要素
18
18
 
19
19
  `<div class="gm-style-iw-t::after>`
20
+
21
+
22
+
23
+ `<div class="gm-style-iw-d>`
20
24
 
21
25
 
22
26
 

5

文法

2019/06/08 04:42

投稿

old_dog
old_dog

スコア51

test CHANGED
File without changes
test CHANGED
@@ -42,13 +42,13 @@
42
42
 
43
43
  iw_t_after.remove();
44
44
 
45
- // iw_t_after.css('background-color','#aaa'); など
45
+ // iw_t_after.css({'cssText':'background-color:#aaa !important'}); など
46
46
 
47
47
 
48
48
 
49
49
   var iw_d = $('gm-style-iw-d');
50
50
 
51
- iw_d.css('background','#aaf');
51
+ iw_d.css({'cssText':'background:#aaf !important'});
52
52
 
53
53
  </script>
54
54
 

4

文法

2019/06/08 04:41

投稿

old_dog
old_dog

スコア51

test CHANGED
File without changes
test CHANGED
@@ -42,7 +42,7 @@
42
42
 
43
43
  iw_t_after.remove();
44
44
 
45
- // iw_t_after.css('background-color:#aaa'); など
45
+ // iw_t_after.css('background-color','#aaa'); など
46
46
 
47
47
 
48
48
 

3

書式訂正

2019/06/08 04:31

投稿

old_dog
old_dog

スコア51

test CHANGED
File without changes
test CHANGED
@@ -44,6 +44,12 @@
44
44
 
45
45
  // iw_t_after.css('background-color:#aaa'); など
46
46
 
47
+
48
+
49
+  var iw_d = $('gm-style-iw-d');
50
+
51
+ iw_d.css('background','#aaf');
52
+
47
53
  </script>
48
54
 
49
55
  ```
@@ -56,7 +62,11 @@
56
62
 
57
63
  <style>
58
64
 
65
+ .gm-style-iw-d {background:#aaf !important}
66
+
59
- .gm-style-iw-t::after { background:#eee !important}
67
+ .gm-style-iw-t::after { background:#aaf !important}
68
+
69
+
60
70
 
61
71
  </style>
62
72
 

2

文法訂正 !imortant追加

2019/06/08 04:23

投稿

old_dog
old_dog

スコア51

test CHANGED
File without changes
test CHANGED
@@ -56,7 +56,7 @@
56
56
 
57
57
  <style>
58
58
 
59
- .gm-style-iw-t::after { background:#eee }
59
+ .gm-style-iw-t::after { background:#eee !important}
60
60
 
61
61
  </style>
62
62
 

1

タイトルを修正しました

2019/06/08 04:17

投稿

old_dog
old_dog

スコア51

test CHANGED
@@ -1 +1 @@
1
- jquery 要素の取得と操作
1
+ jquery google.mapsの要素の取得と操作
test CHANGED
@@ -47,3 +47,17 @@
47
47
  </script>
48
48
 
49
49
  ```
50
+
51
+
52
+
53
+ 下記のように<style>に設定すると反映される
54
+
55
+ ```
56
+
57
+ <style>
58
+
59
+ .gm-style-iw-t::after { background:#eee }
60
+
61
+ </style>
62
+
63
+ ```