Sorry for the delay. Pls find the the sample code herewith. PLS LET ME KNOW POSSIBLE SOLUTIONS.
Just to re-cap, the main issue is:
1. If you check Q2 (which is a flash content) & use 'pause' - go to another q and come back, the flash restarts from from the initial position in FIREFOX. But in IE, it retain the position and we want to retain that property.
2. We avaoid using style.visibility due to other issues and hence ideally tring to find solution using style.display
3. Another new one we found (not a problem) with this flash is that, in IE it start running when the page is loaded, while in Firefox, it runs only if you are in Q2 [and this is preferred], which i think in a way connected with point 1 behaviour.
The trimmed code:
<!DOCTYPE
html PUBLIC "-//
W3C//
DTD HTML 4.01//EN" "
http://www.w3.org/TR/html4/strict.dtd" ><
html>
<head>
<meta
http-equiv="Content-Type" content="text/
html; charset=UTF-8">
<script type="text/javascript">
// Functions used for QxQ
var iNumQuestions = 0;
var iCurrentQuestion = 0;
var aQuestions = new Array();
// hide a question
function hideQuestion(qNumber) {
aQuestions[qNumber].style.display = "none";
}
// show a question
function showQuestion(qNumber) {
aQuestions[qNumber].style.display = "block";
}
// on page load,
function loadQXQ() {
var aDivs = document.getElementsByTagName("DIV");
for (iDiv = 0; iDiv < aDivs.length; iDiv++) {
if (aDivs.item(iDiv).className == "qm_QUESTION") {
aQuestions[iNumQuestions] = aDivs.item(iDiv);
if (iNumQuestions == 0) {
showQuestion(iNumQuestions);
} else {
hideQuestion(iNumQuestions);
}
iNumQuestions++;
}
}
}
function onNextButton() {
if (iCurrentQuestion < 2)
{
hideQuestion(iCurrentQuestion);
iCurrentQuestion++;
showQuestion(iCurrentQuestion);
}
}
function onPreviousButton() {
if (iCurrentQuestion > 0)
{
hideQuestion(iCurrentQuestion);
iCurrentQuestion--;
showQuestion(iCurrentQuestion);
}
}
</script>
</head>
<body id="qm_QUESTION" onload="loadQXQ();">
<form name="QUESTION" autocomplete="off">
<div class="qm_QXQPAGE" id="qm_QXQPAGE_ID">
<div class="qm_QUESTION" id="1">
1 of 3 - FIRST question: <input type="radio" qNum="1" name="LKS_1" value="1"> - Strongly Agree <br/>
</div>
<div class="qm_QUESTION" id="2">
<OBJECT classid="clsid

27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/s...rsion=6,0,40,0"
WIDTH="700" HEIGHT="500" id="
http://www.questionmark.com/us/Learn...n_overview.swf">
<PARAM NAME=movie VALUE="
http://www.questionmark.com/us/Learn...n_overview.swf">
<PARAM NAME=quality VALUE=high>
<EMBED src="
http://www.questionmark.com/us/Learn...n_overview.swf" quality=high WIDTH="700" HEIGHT="500"
NAME="
http://www.questionmark.com/us/Learn...n_overview.swf" ALIGN="" TYPE="application/x-shockwave-flash"
PLUGINSPAGE="
http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>
</div>
<div class="qm_QUESTION" id="3">
3 of 3 - LAST question: <input type="radio" value="1"> - Strongly Agree <br/>
</div>
</div>
<input type="button" class="qm_QXQBUTTON" id="qm_PREV" onClick="onPreviousButton();" value="< Previous Question" alt="< Previous Question" title="< Previous Question"></div>
<input type="button" class="qm_QXQBUTTON" id="qm_NEXT" onClick="onNextButton();" value="Next Question >" alt="Next Question >" title="Next Question >">
</form>
</body>
</
html>