Questions tagged [slickquiz]

Slickquiz is a jQuery plugin for creating pretty, dynamic quizzes.

Slickquiz is a jQuery plugin for creating pretty, dynamic quizzes.

11 questions
1
vote
1 answer

Use events on jquery plugin

I have been working with this jquery plugin to use its event on my code but I had no luck. here is the list of events: events.onStartQuiz (function) Default: empty; - a function to be executed once the quiz has started. events.onCompleteQuiz…
Enzo
  • 198
  • 2
  • 11
1
vote
1 answer

Returning Complex JSON structure in PHP

I am writing a PHP script that can return me a JSON file in the below format. I want to create this structure by fetching data from my database tables. I am using SlickQuiz plugin and having a hard time to create an array of objects (i.e. options)…
0
votes
0 answers

How can I add multiple images for each Q in javascript?

It is too difficult for me to add images in this format, with every try, I got error's, im out of my ideas how to keep it working. I wannt to add images in the questions. Each question with each image :S. If anybody can help me out. thanks :S var…
Flamur Beqiraj
  • 1,957
  • 2
  • 13
  • 18
0
votes
1 answer

Selecting rows from sqlite database sometimes shows a same row

I'm making multiple quiz app with sqlite database. I randomly select 5 rows using "ORDER BY RANDOM()" in rawquery, but the same row sometimes comes up in a row. It shows 5 different rows in some case. Random choosing also works correctly as well,…
0
votes
0 answers

AS3 in Creating Interactive Multiple-choice Quiz in Adobe Flash CC with comboBox and Dynamic text

Updated Trying to create a quiz where you select an answer in a comboBox, hitting a submit button and a dynamic text area telling you if the answer is correct or not. Cant figure out the proper scripting. The comboBox and button work on their own…
Rob
  • 15
  • 1
  • 6
0
votes
1 answer

Increment score, jQuery quiz

I have been developing a jQuery quiz and I have been able to add the value of each answer together, I would like to add a function to the quiz that would allow for specific values added to a set of variables after each question has been answered. I…
Sam Crowe
  • 27
  • 1
  • 9
0
votes
2 answers

Jquery help: Call image behavior on slickquiz (customized)

I tried slickquiz on one of my projects, and added images and all on every questions. However, I would like to ask for help if you can point me on how to delay the image before it goes to the next question. The behavior is for every click on "Check…
Louie Miranda
  • 1,071
  • 1
  • 20
  • 36
0
votes
2 answers

Call an image into javascript jQuery

I'm running a quiz using SlickQuiz, I'm amending the .js file and instead of showing the question through text I want to call an image in. here is the code: { "q": "This is the question area where I'd prefer to call an image?", "a": [ …
mickmaster
  • 15
  • 5
-1
votes
1 answer

how to display the contents of a file from highest to lowest

option= input("alphabetically(a), high to low(b)") if option == "a": with open('Class4.txt', 'r') as r: for line in sorted(r): print(line) elif option == "b": def score(line): return…
python
  • 7
  • 6
-4
votes
2 answers

javascript how to use same random value in array

var myName = ['Beth', 'Chris', 'Carl', 'April', 'Cinnamon','Ethan']; I want to be able to pick a number or name from an array and use that same value again? I am using javascript
-5
votes
2 answers

how do i make my python code work? random math quiz

This is my code it has to have + - * in the code and it has to be chosen randomly but it does not work it does not say the correct answer I would appreciate any help thanks. import random import operator question_number = 0 score = 0 ops =…