<script language="JavaS cript">
<!--
document.write( '<form name="combo"><s elect name="example" size="1
onChange="Draw( )">');
document.write( '<option value=none>Maak je keuze');
document.write( '<option value=none>--------------------');
document.write( '<option value="een">Tre nd 1');
document.write( '<option value="twee">Tr end 2');
document.write( '<option value="drie">Tr end 3');
document.write( '</select>');
document.write( '</form>');
//-->
</script>
</div>
<div style="POSITION : absolute; TOP: -70px;" align="center" >
<SCRIPT Language="JavaS cript">
function Draw() {
i
(document.combo .example.option s[document.combo. example.selecte dIndex].valu
!= "none") {
var tre = "<!--" + "# include VIRTUAL=/usr/"
document.combo. example.options[document.combo. example.selecte dIndex].valu
+ ".txt -->" ;
alert(tre)
venster = window.open("", "","width=400,h eight=600");
venster.documen t.write(tre);
}
</SCRIPT>
men! whats wrong.. venster.documen t.write(tre) do not wor
hijwe
-----------------------------------------------------------------------
Posted via http://www.forum4designers.co
-----------------------------------------------------------------------
View this thread: http://www.forum4designers.com/message35833.htm
Comment