I am having problem with IE. This is the code that I am using, and it works good in every browser except in IE. If somebody can help PLEASE:
<script language="Javascript" type="text/javascript"> <!--
function showTerms() {
var newWin = window.open('http://slee.com/thisgoesnowhere','','width=500,height=450,menubar= no,location=no,status=no,scrollbars=yes,toolbar=no ,resizable=yes');
}
// this doesn't work
//window.onload = setLeftColHeight();
function setLeftColHeight() {
var obj = document.getElementById('middleheight');
if (obj) {
var h = obj.height;
}
}
// -->
</script>
<FORM METHOD="post" ACTION="/cgi-bin/mivavm?/Merchant2/merchant.mvc+">
<table border="0" cellpadding="0" cellspacing="0">
<div id="header"> <img
src="http://slee.com/joomla/templates/jw_inetgazette2/images/righttaglineblue.gif" style="float: right;" border="0"> </div>
<div id="logo"> <img
src="http://slee.com/joomla/templates/jw_inetgazette2/images/ig_shield_blue.png">
</div>
<div id="horizontal">
<map name="sleemap">
<area shape="rect" coords="151,1,227,28"
href="http://www.slee.com/joomla/index.php?option=com_content&task=view&id= 16&Itemid=31">
<area shape="rect" coords="228,1,332,28"
href="http://www.slee.com/joomla/index.php?option=com_content&task=view&id= 12&Itemid=86">
<area shape="rect" coords="333,1,441,28"
href="http://www.slee.com/joomla/index.php?option=com_content&task=view&id= 75&Itemid=89">
<area shape="rect" coords="442,1,581,28" href="http://slee.com/cgi-bin/mivavm?/Merchant2/merchant.mvc">
<area shape="rect" coords="584,1,659,28"
href="http://www.slee.com/joomla/index.php?option=com_weblinks&Itemid=23">
<area shape="rect" coords="660,1,736,28"
href="http://www.slee.com/joomla/index.php?option=com_content&task=section& id=3&Itemid=88">
<area shape="rect" coords="737,1,840,28"
href="http://www.slee.com/joomla/index.php?option=com_contact&catid=12&Item id=73">
</map>
<img src="http://slee.com/joomla/templates/jw_inetgazette2/images/slee_image_map.png"
alt="Image Map" border="0" usemap="sleemap" height="33px" width="930" />
</div><div style="clear: both;"></div>
</body>
</html>
It shows error in "document.getElementById". I am not that good with Java, so if somebody can help.