<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="author" content="Roderick Divilbiss">
<meta name="copyright" content="? 2005 Roderick Divilbiss">
<title>Country Info</title>
<script type="text/javascript">
<!--
function changeCountry(oSel) {
document.getElementById('details').src = oSel[oSel.selectedIndex].value+'.htm';
}
//-->
</script>
<style type="text/css">
<!--
#dSel { position: absolute; left: 10; top: 10; width: 150; height: 35; right:160; bottom:45 }
#dDet {
float: right;
margin-left:200px;
width: 400;
border: 1px solid #000000;
padding: 10px;
height:100%;
background-color:#D7D8D9;
}
-->
</style>
</head>
<body>
<p>Select an item from the drop down list and the contents of the iframe will change.<br>
<table border="0" cellpadding="0" style="border-collapse: collapse" width="600" id="table1">
<tr>
<td width="100" valign="top">
<select name="country" onchange="changeCountry(this);">
<option selected value="usa">USA</option>
<option value="england">England</option>
<option value="mexico">Mexico</option>
</select>
</td>
<td width="400" valign="top"><iframe id="details" width="380" src="USA.htm"></iframe></td>
</tr>
</table>
</div>
</body>
</html>
© Coyright 2000-2008, Roderick (Rod) W. Divilbiss. Some rights reserved.
Except where otherwise noted, this site, all content, and all source code and markup is licensed under a Creative Commons License
Creative Commons License.
No part of this web site including all application code and examples may be used for commercial purposes without prior written permission from the author,
Roderick W. Divilbiss of Overland Park, Kansas, United States of America.