質問編集履歴
1
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -4,5 +4,43 @@
|
|
4
4
|
パスもキチンと正したはずなのですが、全然だめです。
|
5
5
|
何卒解決策をお教えください。
|
6
6
|
|
7
|
+
追記:
|
7
8
|
|
9
|
+
下記のコードの3行目$('#js-news').ticker();にて「Uncaught TypeError: undefined is not a function」というタイプエラーが原因と出ているのですが、どのように修正すればいいかわかりません。
|
10
|
+
---------------------------------------------------------------------------
|
11
|
+
$(function () {
|
12
|
+
// start the ticker
|
13
|
+
$('#js-news').ticker();
|
14
|
+
|
15
|
+
// hide the release history when the page loads
|
16
|
+
$('#release-wrapper').css('margin-top', '-' + ($('#release-wrapper').height() + 20) + 'px');
|
17
|
+
|
18
|
+
// show/hide the release history on click
|
19
|
+
$('a[href="#release-history"]').toggle(function () {
|
20
|
+
$('#release-wrapper').animate({
|
21
|
+
marginTop: '0px'
|
22
|
+
}, 600, 'linear');
|
23
|
+
}, function () {
|
24
|
+
$('#release-wrapper').animate({
|
25
|
+
marginTop: '-' + ($('#release-wrapper').height() + 20) + 'px'
|
26
|
+
}, 600, 'linear');
|
27
|
+
});
|
28
|
+
|
29
|
+
$('#download a').mousedown(function () {
|
30
|
+
_gaq.push(['_trackEvent', 'download-button', 'clicked'])
|
31
|
+
});
|
32
|
+
});
|
33
|
+
|
34
|
+
// google analytics code
|
35
|
+
var _gaq = _gaq || [];
|
36
|
+
_gaq.push(['_setAccount', 'UA-6132309-2']);
|
37
|
+
_gaq.push(['_setDomainName', 'www.jquerynewsticker.com']);
|
38
|
+
_gaq.push(['_trackPageview']);
|
39
|
+
|
40
|
+
(function() {
|
41
|
+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
42
|
+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
43
|
+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
44
|
+
})();
|
45
|
+
---------------------------------------------------------------------------
|
8
46
|
※javaは他にも使用しているものがあります。(Jqueryは別)
|