解決策が分からないので、是非教えてください。
今回EC-CUBEのサイトにjquery news ticker というニュースティッカーを導入したいのですが、
ローカル状態でブラウザチェックをするときちんと表示されるのですが、サーバー上にアップすると真っ白になります。
パスもキチンと正したはずなのですが、全然だめです。
何卒解決策をお教えください。
追記:
下記のコードの3行目$('#js-news').ticker();にて「Uncaught TypeError: undefined is not a function」というタイプエラーが原因と出ているのですが、どのように修正すればいいかわかりません。
$(function () {
// start the ticker
$('#js-news').ticker();
// hide the release history when the page loads $('#release-wrapper').css('margin-top', '-' + ($('#release-wrapper').height() + 20) + 'px'); // show/hide the release history on click $('a[href="#release-history"]').toggle(function () { $('#release-wrapper').animate({ marginTop: '0px' }, 600, 'linear'); }, function () { $('#release-wrapper').animate({ marginTop: '-' + ($('#release-wrapper').height() + 20) + 'px' }, 600, 'linear'); }); $('#download a').mousedown(function () { _gaq.push(['_trackEvent', 'download-button', 'clicked']) });
});
// google analytics code
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-6132309-2']);
_gaq.push(['_setDomainName', 'www.jquerynewsticker.com']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
※javaは他にも使用しているものがあります。(Jqueryは別)
あなたの回答
tips
プレビュー