Hello,
I have an external Javascript Quiz that I would like to insert in Adobe Edge Composition.
With yepnope I included the files. That works.
But I would like to add the Quiz to the div (jsCustomTest) on the stage. But that doesn't work.
Can anyone tell me what the right script is. This is how I do it now:
yepnope({nope:[
'quiz/css/reset.css',
'quiz/css/style.css',
'quiz/lib/jquery-1.10.2.min.js',
'quiz/js/jsCustomTest-min.js',
],complete: init});
function init (){
var userTest sym.$("jsCustomTest");
}
In the script of the quiz. They talk about targetDiv. See script below:
var userTest={settings:{
dataFile:"jsCustomTest.xml",
formListener:"submit.php",
targetDiv:"jsCustomTest",
showQuestionsOneByOne:{enabled:false,mode:"hide"},
useDefaultResult:true,
calculation:"popular",
resultPage:"HTMLPage",
selfDestruction:{enabled:true,destructionTimer:5e3}}
I hope someone can help me. If you need more info let me know.
Thanks