Hallo,
ich verlange nicht, dass das Problem nachgebaut wird. Ich habe nur nach Erfahrungen mit diesem oder einem ähnlichen Problem gefragt.
Dennoch, hier das dazugehörige Javascript:
function QFormNavigation ( theme )
{
this.activeForm = null;
this.theme = theme;
this.init = function()
{
var parent = this;
var v = '';
var fi;
var QNavInp = new Array();
var QNavForm = document.getElementById("qfnav");
QNavInp = QNavForm.getElementsByTagName("input");
for ( var i = 0; QNavInp[i]; i++ )
{
/* QForm Navigation action */
QNavInp[i].onclick = function(){parent.callForm( this.value );}
/* QForm Navigation Historyback */
v = QNavInp[i].checked == true ? QNavInp[i].value : v ;
fi = this.theme == QNavInp[i].value ? i : fi ;
}
/* QForm Navigation Historyback */
if(v != '')
{
this.callForm ( v );
}else{
QNavInp[fi].checked = true;
this.callForm ( this.theme );
}
}
this.callForm = function( f )
{
try{
if(this.activeForm!=null){this.activeForm.style.display = 'none';}
} catch(e){
alert(e);
}
this.activeForm = document.getElementById( f );
this.activeForm.style.display = 'block';
}
this.getForm = function( f )
{
}
}