10 replies
by philthegreat
Do you meant by Javascript?
Untitled Document
by philthegreat
<input name="G01judge" type="button"
by philthegreat
If you add all the three answers together, then it is the code you need for a listbox.
If this is not, what you want; please clarify your question with more details.
by setivi
by philthegreat
<!--
// Copyright 1998,1999 Macromedia, Inc. All rights reserved.
function newG01() {
G01 = new MM_interaction('G01',0,1,1,null,0,0,0,'','','c','',0);
G01.add('inpt','choice1',0,1,1,0);
G01.add('inpt','choice2',0,1,1,0);
G01.add('inpt','choice3',0,1,0,0);
G01.add('inpt','choice4',0,1,0,0);
G01.init();
G01.am('segm','Segment: Check Time_',1,1);
G01.am('cond','Time At Limit_','G01.timeAtLimit == true',0);
G01.am('actn','Popup Message','MM_popupMsg(\'You are out of time\')','pm');
G01.am('actn','Set Interaction Properties: Disable Interaction','MM_setIntProps(\'G01.setDisabled(true);\')','sp');
G01.am('end');
G01.am('segm','Segment: Correctness_',1,0);
G01.am('cond','Correct_01','G01.correct == true',0);
G01.am('actn','Popup Message','MM_popupMsg(\'Correct\')','');
G01.am('end');
G01.am('cond','Incorrect_','G01.correct == (false)',0);
G01.am('actn','Popup Message','MM_popupMsg(\'Incorrect\')','');
G01.am('end');
G01.am('cond','Unknown Response_','G01.knownResponse == false',0);
G01.am('actn','Popup Message','MM_popupMsg(\'Unknown Response\')','');
G01.am('end');
G01.am('segm','Segment: Check Tries_',1,1); G01.am('cond','Tries At Limit_','G01.triesAtLimit == true',0);
G01.am('actn','Popup Message','MM_popupMsg(\'You are out of tries\')','pm');
G01.am('actn','Set Interaction Properties: Disable Interaction','MM_setIntProps(\'G01.setDisabled(true);\')','sp');
G01.am('end');
}
by setivi
by philthegreat
if (window.newG01 == null) window.newG01 = newG01;
if (!window.MM_initIntFns) window.MM_initIntFns = ''; window.MM_initIntFns += 'newG01();';
//-->
by setivi
by setivi
by setivi
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending