script problemer i IE
HejJeg har et script som virker fint i FF men i IE viser den bare arrayet på siden uden dropdown boxen.
Her kommer selve scriptet. I kan godt få hele siden men den er i PHP så ved ikke om det er den rigtige gruppe.
<script type="text/javascript">
topArray = new Array();
topArray[0] = new Option('<nobr>Please Select</nobr>', "http://localhost/standard/catalog/index.php");
topArray[1] = new Option('<nobr>Canon</nobr>', "http://localhost/standard2/catalog/index.php?manufacturers_id=6&osCsid=53b66db1ddfc2277581600397f239bad");
topArray[2] = new Option('<nobr>Fox</nobr>', "http://localhost/standard2/catalog/index.php?manufacturers_id=4&osCsid=53b66db1ddfc2277581600397f239bad");
topArray[3] = new Option('<nobr>GT Interactive</nobr>', "http://localhost/standard2/catalog/index.php?manufacturers_id=8&osCsid=53b66db1ddfc2277581600397f239bad");
topArray[4] = new Option('<nobr>Hewlett Packard</nobr>', "http://localhost/standard2/catalog/index.php?manufacturers_id=9&osCsid=53b66db1ddfc2277581600397f239bad");
topArray[5] = new Option('<nobr>Logitech</nobr>', "http://localhost/standard2/catalog/index.php?manufacturers_id=5&osCsid=53b66db1ddfc2277581600397f239bad");
topArray[6] = new Option('<nobr>Matrox</nobr>', "http://localhost/standard2/catalog/index.php?manufacturers_id=1&osCsid=53b66db1ddfc2277581600397f239bad");
topArray[7] = new Option('<nobr>Microsoft</nobr>', "http://localhost/standard2/catalog/index.php?manufacturers_id=2&osCsid=53b66db1ddfc2277581600397f239bad");
topArray[8] = new Option('<nobr>Sierra</nobr>', "http://localhost/standard2/catalog/index.php?manufacturers_id=7&osCsid=53b66db1ddfc2277581600397f239bad");
topArray[9] = new Option('<nobr>Warner</nobr>', "http://localhost/standard2/catalog/index.php?manufacturers_id=3&osCsid=53b66db1ddfc2277581600397f239bad");
writeSelectBox(topArray, "select2", 1, "window.open(this.options[this.selectedIndex].value, '_top')", "margin-left: 10; width: 140;");
</script>
