Skip to content

Commit c2046a5

Browse files
Minor changes, updating "@Updated" date
1 parent 4fab11b commit c2046a5

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h1 class="quizName"><!-- where the quiz name goes --></h1>
1717
<div class="quizHeader">
1818
<!-- where the quiz main copy goes -->
1919

20-
<a class="button startQuiz" href="">Get Started!</a>
20+
<a class="button startQuiz" href="#">Get Started!</a>
2121
</div>
2222

2323
<!-- where the quiz gets built -->
@@ -38,4 +38,4 @@ <h3 class="quizLevel"><strong>Ranking:</strong> <span><!-- where the quiz rankin
3838
<script src="js/slickQuiz.js"></script>
3939
<script src="js/master.js"></script>
4040
</body>
41-
</html>
41+
</html>

js/slickQuiz.js

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* SlickQuiz jQuery Plugin
33
* http://github.com/QuickenLoans/SlickQuiz
44
*
5-
* @updated December 18, 2010
5+
* @updated March 25, 2013
66
*
77
* @author Julie Bellinson - http://www.jewlofthelotus.com
88
* @copyright (c) 2012 Quicken Loans - http://www.quickenloans.com
@@ -38,7 +38,7 @@
3838
depMsg += 'The \'disableNext\' option has been deprecated, please use \'preventUnanswered\' in it\'s place.\n\n';
3939
}
4040

41-
if (depMsg != '') {
41+
if (depMsg !== '') {
4242
if (typeof console != 'undefined') {
4343
console.warn(depMsg);
4444
} else {
@@ -56,7 +56,7 @@
5656
checker: '#' + selector + ' .checkAnswer',
5757
next: '#' + selector + ' .nextQuestion',
5858
back: '#' + selector + ' .backToQuestion'
59-
}
59+
};
6060

6161
var targets = {
6262
quizName: '#' + selector + ' .quizName',
@@ -66,7 +66,7 @@
6666
quizHeader: '#' + selector + ' .quizHeader',
6767
quizScore: '#' + selector + ' .quizScore',
6868
quizLevel: '#' + selector + ' .quizLevel'
69-
}
69+
};
7070

7171
// Set via json option or quizJSON variable (see slickQuiz-config.js)
7272
var quizValues = (plugin.config.json ? plugin.config.json : typeof quizJSON != 'undefined' ? quizJSON : null);
@@ -81,7 +81,7 @@
8181
3: quizValues.info.level3, // 40-59%
8282
4: quizValues.info.level4, // 20-39%
8383
5: quizValues.info.level5 // 0-19%
84-
}
84+
};
8585

8686
// Count the number of questions
8787
var questionCount = questions.length;
@@ -161,16 +161,16 @@
161161

162162
// Appends check answer / back / next question buttons
163163
if (plugin.config.backButtonText && plugin.config.backButtonText != '') {
164-
questionHTML.append('<a href="" class="button backToQuestion">' + plugin.config.backButtonText + '</a>');
164+
questionHTML.append('<a href="#" class="button backToQuestion">' + plugin.config.backButtonText + '</a>');
165165
}
166166

167167
// If response messaging is disabled or hidden until the quiz is completed,
168168
// make the nextQuestion button the checkAnswer button, as well
169169
if (plugin.config.disableResponseMessaging || plugin.config.completionResponseMessaging) {
170-
questionHTML.append('<a href="" class="button nextQuestion checkAnswer">' + plugin.config.nextQuestionText + '</a>');
170+
questionHTML.append('<a href="#" class="button nextQuestion checkAnswer">' + plugin.config.nextQuestionText + '</a>');
171171
} else {
172-
questionHTML.append('<a href="" class="button nextQuestion">' + plugin.config.nextQuestionText + '</a>');
173-
questionHTML.append('<a href="" class="button checkAnswer">' + plugin.config.checkAnswerText + '</a>');
172+
questionHTML.append('<a href="#" class="button nextQuestion">' + plugin.config.nextQuestionText + '</a>');
173+
questionHTML.append('<a href="#" class="button checkAnswer">' + plugin.config.checkAnswerText + '</a>');
174174
}
175175

176176
// Append question & answers to quiz

0 commit comments

Comments
 (0)