Hallo,
Ik zit nu al een tijdje te stuntelen met een dropdown menu met een landen selectie.
In FireFox werkt m'n menu fantastisch en ziet er mooi gestyled uit.
Wanneer ik m'n menu in IE bekijk, komt wel m'n iframe in zicht, maar zonder inhoud.
Ik weet nu niet of het probleem bij de script ligt of bij de CSS.
Wie-O-wie kan mij helpen hiermee??
Ik heb de volgende codes.
De pagina:
Content voor het iframe:
Alvast erg bedankt.
Ik zit nu al een tijdje te stuntelen met een dropdown menu met een landen selectie.
In FireFox werkt m'n menu fantastisch en ziet er mooi gestyled uit.
Wanneer ik m'n menu in IE bekijk, komt wel m'n iframe in zicht, maar zonder inhoud.
Ik weet nu niet of het probleem bij de script ligt of bij de CSS.
Wie-O-wie kan mij helpen hiermee??
Ik heb de volgende codes.
De pagina:
HTML:
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<style type="text/css">
body{margin:0px;font-family:verdana;font-size:11px;background-color:#ffffff}
a{
position:relative;
z-index:24;
width: 30;
}
a:hover{
z-index: 25;
background-color: #ffffff}
a span{
display: none
}
a:hover span{
display: block;
position:absolute;
top: 18px;
left: 0px;
width: 200px;
border: 1px solid #cccccc;
}
input{
width:203px;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #999999;
background-color: #FFFFFF;
height: 22px;
border: 1px solid #999999;
vertical-align: middle;
text-decoration: none;
padding-left: 10px;
padding-top: 3px;
padding-bottom: 3px;
}
td {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #999999;
}
</style>
</head>
<body>
<p align="center"> </p>
<div align="center">
<table>
<tr>
<td>
<form id="countrysel" method="get" name="countrysel">
Select country: <a href="javascript:void(0)">
<input name="country" type="text" size="30" value="Select Country" readonly>
<span>
<iframe src="index.html" frameborder="0" scrolling="auto" height="150" width="200" style="overflow-x: hidden;"></iframe></span></a>
</form>
</td>
</tr>
</table>
</div>
<p align="center"> </p>
</body>
</html>
Content voor het iframe:
HTML:
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<style type="text/css">
body{margin:0px;background-color: #ffffff}
ul{border-bottom:margin:0px;padding:0px;margin-left: 2px;padding-left: 0;list-style-type: none;font-family: verdana;font-size:9px;text-transform: capitalize;}
img{ vertical-align: middle}
a{border-bottom:1px solid #CCCCCC; display: block;width: 200px;background-color: #ffffff;padding:4px;}
a:link, a:visited{color: #666666;text-decoration: none;}
a:hover{background-color: #D5EAFF;color: #999999;font-weight:bold;}
</style>
</head>
<body>
<ul>
<li><a href = "http://www.sokkia.net" target="_blank" onclick = "parent.document.countrysel.country.value = 'Nederland'"><img src="flags/nl.gif" alt="" width="16" height="11" border="0" /> Nederland</a>
<li><a href = "http://www.sokkia.net" target="_blank" onclick = "parent.document.countrysel.country.value = 'Deutschland'"><img src="flags/de.gif" alt="" width="16" height="11" border="0" /> Deutschland</a>
<li><a href = "http://www.sokkia.net" target="_blank" onclick = "parent.document.countrysel.country.value = 'Spain'"><img src="flags/es.gif" alt="" width="16" height="11" border="0" /> Spain</a>
<li><a href = "http://www.sokkia.net" target="_blank" onclick = "parent.document.countrysel.country.value = 'Belgium'"><img src="flags/be.gif" alt="" width="16" height="11" border="0" /> Belgium</a>
<li><a href = "http://www.sokkia.net" target="_blank" onclick = "parent.document.countrysel.country.value = 'Nederland'"><img src="flags/nl.gif" alt="" width="16" height="11" border="0" /> Nederland</a>
<li><a href = "http://www.sokkia.net" target="_blank" onclick = "parent.document.countrysel.country.value = 'Deutschland'"><img src="flags/de.gif" alt="" width="16" height="11" border="0" /> Deutschland</a>
<li><a href = "http://www.sokkia.net" target="_blank" onclick = "parent.document.countrysel.country.value = 'Spain'"><img src="flags/es.gif" alt="" width="16" height="11" border="0" /> Spain</a>
<li><a href = "http://www.sokkia.net" target="_blank" onclick = "parent.document.countrysel.country.value = 'Belgium'"><img src="flags/be.gif" alt="" width="16" height="11" border="0" /> Belgium</a>
</ul>
</body>
</html>
Alvast erg bedankt.