You need jQuery and jQuery-Fancybox for this example. This example uses the extension t3jquery and sk_fancybox. Note: this example works only with radio-button-questions (only one answer possible)! Test it with this TypoScript:
plugin.tx_myquizpoll_pi1.isPoll = 0 plugin.tx_myquizpoll_pi1.templateFile = EXT:myquizpoll/examples/template_quiz_jquery.html plugin.tx_myquizpoll_pi1.myVars.answers { input_id = 1 input_label = 1 } plugin.tx_myquizpoll_pi1.userData.askAtQuestion = 0 # customise this both PIDs! plugin.tx_myquizpoll_pi1.resultsPID = 269 plugin.tx_myquizpoll_pi1.finalPID = 271 plugin.tx_myquizpoll_pi1.pageQuestions = 1 plugin.tx_myquizpoll_pi1.answerChoiceMax = 4 # if you dont always include jQuery: includeLibs.t3jquery = EXT:t3jquery/class.tx_t3jquery.php page.11 = USER page.11.userFunc = tx_t3jquery->addJqJS
###VAR_QUESTION_IMAGE### |
###NO_SUBMIT###
###DOUBLE_ENTRY###
###NOT_LOGGEDIN###
###CHEATING###
No more questions. You can use here these Markers too: ###RESTART_QUIZ###, ###RESULT_POINTS###: ###VAR_RESULT_POINTS### / ###VAR_MAX_POINTS### (###TOTAL_POINTS###: ###VAR_TOTAL_POINTS### / ###VAR_TMAX_POINTS###)###NO_MORE###