サイト:http://designsweeter.com/ IE以外のすべてのブラウザで動作します(9を含む任意のバージョン)。 jQuery、Modernizr、およびslidesJsを使用しています。 しかし、私のjavascriptのどれも働いていません。任意の手掛かりはなぜですか? http://designsweeter.com/scripts.jsどのようにJavascriptそれは私のサイトのIEで壊れた?
Unminified(彼らは私のjsファイルにあるのと同じ順序): は、ここでのjsファイルです
modernizr:http://www.modernizr.com/downloads/modernizr-2.0.6.js jqueryの1.6:http://code.jquery.com/jquery-1.6.1.js jqueryの緩和:http://gsgd.co.uk/sandbox/jquery/easing/jquery.easing.1.3.js slidesjs:http://designsweeter.com/non-packed-js/slides.js jQueryのスムーズスクロール:
$(document).ready(function() {
$("a.topLink").click(function() {
$("html, body").animate({
scrollTop: $($(this).attr("href")).offset().top + "px"
}, {
duration: 500,
easing: "swing"
});
return false;
});
});
ありがとうございます!
ワウ。私は、不安定なJavascriptを見たいと思っています。これまでに何を試しましたか?疑いはありますか? – Pwnna
エラーコンソールには何かがありますか? – sarnold
ああ、私は未確認のまま投稿するつもりです。 – alt