
Re: 「レイアウトを追加」ができません。
お世話になります。
昨日のエラーを見直して、
Bootstrapテーマ内のscript.jsに以下のコードがあったため、全部抜いてみたら動きました!
ーーーーーーーーーーーーーー
smoothScroll: function() {
// Smooth Scrolling
$('a[href*=#]:not([href=#carousel-example-generic])').click(function() {
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
if (target.length) {
$('html,body').animate({
scrollTop: target.offset().top
}, 1000);
return false;
}
}
});
},
〜略〜
appMaster.smoothScroll();
ーーーーーーーーーーーーーー
今はこれで学習を進めていこうと思います。
アドバイスをありがとうございました<m(. _ .)m>
nanako
解決しました!
変更前
a[href*=#]:not([href=#carousel-example-generic])
変更後
a:not([href="#"])
もっと勉強します!ありがとうございました!!