質問編集履歴
6
サイトurlを追加しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -2,7 +2,9 @@
|
|
2
2
|
|
3
3
|
カラーミーショップでオリジナルテーマを作っているのですが、バージョンの違いでjQueryが動かないです。両方動かせるようにしたいです。
|
4
4
|
|
5
|
+
https://souvenir-club.shop-pro.jp
|
5
6
|
|
7
|
+
|
6
8
|
### 発生している問題・エラーメッセージ
|
7
9
|
|
8
10
|
どちらか一つのバージョンに設定するとどこかが動かなくなってしまっている。(トップスライダーは動いているが、ハンバーガーメニューが動かない。など)
|
5
現在のコードを最新版にしました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -21,11 +21,13 @@
|
|
21
21
|
### 現在のコード
|
22
22
|
|
23
23
|
```HTML
|
24
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
25
|
+
<html xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:mixi="http://mixi-platform.com/ns#" xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja" dir="ltr">
|
24
26
|
<head>
|
25
27
|
<meta http-equiv="content-type" content="text/html; charset=euc-jp" />
|
26
28
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
27
29
|
<title>souvenir-club</title>
|
28
|
-
<meta name="Keywords" content="
|
30
|
+
<meta name="Keywords" content="SOUVENIR CLUB" />
|
29
31
|
<meta name="Description" content="" />
|
30
32
|
<meta name="Author" content="" />
|
31
33
|
<meta name="Copyright" content="GMOペパボ" />
|
@@ -34,9 +36,9 @@
|
|
34
36
|
<link rel="stylesheet" href="https://souvenir-club.shop-pro.jp/css/framework/colormekit.css" type="text/css" />
|
35
37
|
<link rel="stylesheet" href="https://souvenir-club.shop-pro.jp/css/framework/colormekit-responsive.css" type="text/css" />
|
36
38
|
<link rel="stylesheet" href="https://souvenir-club.shop-pro.jp/css/cross-border-cart.css" type="text/css" />
|
37
|
-
<link rel="stylesheet" href="https://img21.shop-pro.jp/PA01430/787/css/3/index.css?cmsp_timestamp=
|
39
|
+
<link rel="stylesheet" href="https://img21.shop-pro.jp/PA01430/787/css/3/index.css?cmsp_timestamp=20190703112841" type="text/css" />
|
38
40
|
|
39
|
-
<link rel="alternate" type="application/rss+xml" title="rss" href="" />
|
41
|
+
<link rel="alternate" type="application/rss+xml" title="rss" href="https://souvenir-club.shop-pro.jp/?mode=rss" />
|
40
42
|
<script type='text/javascript' src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
|
41
43
|
<meta property="og:title" content="souvenir-club" />
|
42
44
|
<meta property="og:description" content="" />
|
@@ -48,6 +50,8 @@
|
|
48
50
|
</script>
|
49
51
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
50
52
|
<script src="jquery.sample.js"></script>
|
53
|
+
|
54
|
+
<meta name="viewport" content="width=device-width">
|
51
55
|
<script>
|
52
56
|
var Colorme = {"page":"top"};
|
53
57
|
</script>
|
4
エラーメッセージを削除しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -17,33 +17,7 @@
|
|
17
17
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
|
18
18
|
はもともとカラーミーショップ側で読み込んでいるバージョンです。
|
19
19
|
|
20
|
-
```error
|
21
|
-
Failed to load resource: the server responded with a status of 404 ()
|
22
20
|
|
23
|
-
Failed to load resource: the server responded with a status of 404 ()
|
24
|
-
|
25
|
-
Failed to load resource: the server responded with a status of 404 ()
|
26
|
-
|
27
|
-
Failed to load resource: the server responded with a status of 404 ()
|
28
|
-
|
29
|
-
Uncaught TypeError: Cannot read property 'indexOf' of undefined
|
30
|
-
at r.fn.init.r.fn.load (jquery.min.js:4)
|
31
|
-
at HTMLImageElement.<anonymous> (jquery.bxslider.min.js:10)
|
32
|
-
at Function.each (jquery.min.js:2)
|
33
|
-
at r.fn.init.each (jquery.min.js:2)
|
34
|
-
at HTMLImageElement.<anonymous> (jquery.bxslider.min.js:10)
|
35
|
-
at Function.each (jquery.min.js:2)
|
36
|
-
at r.fn.init.each (jquery.min.js:2)
|
37
|
-
at g (jquery.bxslider.min.js:10)
|
38
|
-
at c (jquery.bxslider.min.js:10)
|
39
|
-
at d (jquery.bxslider.min.js:10)
|
40
|
-
|
41
|
-
Uncaught TypeError: Cannot read property 'top' of undefined
|
42
|
-
at HTMLDocument.<anonymous> ((index):450)
|
43
|
-
at j (jquery.min.js:2)
|
44
|
-
at k (jquery.min.js:2)
|
45
|
-
```
|
46
|
-
|
47
21
|
### 現在のコード
|
48
22
|
|
49
23
|
```HTML
|
3
エラーメッセージを更新しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -7,6 +7,16 @@
|
|
7
7
|
|
8
8
|
どちらか一つのバージョンに設定するとどこかが動かなくなってしまっている。(トップスライダーは動いているが、ハンバーガーメニューが動かない。など)
|
9
9
|
|
10
|
+
jQueryのバージョンを
|
11
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
|
12
|
+
にするとスライダーは動きます。しかしハンバーガーメニューなど他のjQueryが動かなくなります。
|
13
|
+
|
14
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
15
|
+
にすると、他のjQueryは動くのですが、スライダーは動かなくなってしまいます。
|
16
|
+
|
17
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
|
18
|
+
はもともとカラーミーショップ側で読み込んでいるバージョンです。
|
19
|
+
|
10
20
|
```error
|
11
21
|
Failed to load resource: the server responded with a status of 404 ()
|
12
22
|
|
2
タイトルを修正しました。
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
|
1
|
+
バージョンの違いで動かないjQueryを両方動かせるようにしたい。
|
body
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
### 前提・実現したいこと
|
2
2
|
|
3
|
-
バージョンの違いで動かない
|
3
|
+
カラーミーショップでオリジナルテーマを作っているのですが、バージョンの違いでjQueryが動かないです。両方動かせるようにしたいです。
|
4
4
|
|
5
5
|
|
6
6
|
### 発生している問題・エラーメッセージ
|
1
不要なコードを削除致しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -90,29 +90,6 @@
|
|
90
90
|
</head>
|
91
91
|
|
92
92
|
|
93
|
-
|
94
|
-
<body>
|
95
|
-
<!DOCTYPE html>
|
96
|
-
<html>
|
97
|
-
|
98
|
-
<head>
|
99
|
-
<meta charset="utf-8">
|
100
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
101
|
-
<title>SOUVENIR CLUB</title>
|
102
|
-
<meta name="keywords" content="">
|
103
|
-
<meta name="description" content="">
|
104
|
-
<meta name="viewport" content="width=device-width">
|
105
|
-
|
106
|
-
<meta property="og:locale" content="ja_JP">
|
107
|
-
<meta property="og:type" content="website">
|
108
|
-
<meta property="og:description" content="">
|
109
|
-
<meta property="og:title" content="">
|
110
|
-
<meta property="og:url" content="">
|
111
|
-
<meta property="og:site_name" content="">
|
112
|
-
<meta property="og:image" content="images/fb.jpg">
|
113
|
-
|
114
|
-
</head>
|
115
|
-
|
116
93
|
```
|
117
94
|
|
118
95
|
### 試したこと
|