あなたのスクリプト
jQuery(document).ready(function() {jQuery('.tabs .tab-links a').on('click', function(e){var currentAttrValue = jQuery(this).attr('href');// Show/Hide Tabs jQuery('.tabs ' + currentAttrValue).show().siblings().hide(); // Change/remove current tab to active jQuery(this).parent('li').addClass('active').siblings().removeClass('active'); e.preventDefault(); });
ご覧のとおり、あなたはそれを賞賛するので機能を終了しませんでした。
ので、私はあなたのコードは次のようにあるべきだと思う:
jQuery(document).ready(function() {jQuery('.tabs .tab-links a').on('click', function(e){var currentAttrValue = jQuery(this).attr('href'); });// Show/Hide Tabs jQuery('.tabs ' + currentAttrValue).show().siblings().hide(); // Change/remove current tab to active jQuery(this).parent('li').addClass('active').siblings().removeClass('active'); e.preventDefault();
はjavascriptの問題のようですね。ユーザーは、支援するコードを確認する必要があります。 – chris85
私たちが 'midi.php'ファイルの実際のソースコードを見ることができないので、どんな答えも投機的でしょう –
こんにちは、歓迎StackOverflow!あなたがコードを組み込んで、その部分が機能していないか、問題があると分かっているときに、本当に問題の質が向上します。あなたの質問に質の高い回答が得られる可能性も高まります。 –