my main problem is that the client uses mac ie and has one with mac os 9 and one with 10. the problems are much worse with the version of ie on the version 9 mac. and unfortunately i have no way of testing the code without asking the client!
i have created a test page here:
http://www.futonshop.co.uk/menutest.php
the source for this page is:
Code: Select all
<?
ob_start();
include("../webscripts/debug.php");
//include("../webscripts/basket.php");
include("../webscripts/futonlib.php");
include("../webscripts/dblib.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Website Administration - <? echo $sitedomainname; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT language=JavaScript src="milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</script>
<SCRIPT language="JavaScript" src="admin_menu.js" type=text/javascript></SCRIPT>
<link href="text.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="720" border="0" align="center">
<tr>
<td width="200"><img src="images/logo.gif" align="top"></td>
<td width="510"> </td>
</tr>
<tr>
<td colspan="2" height="21" align="left">
<SCRIPT language="JavaScript">
with(milonic=new menuname("Main Menu")){
style=menuStyle;
screenposition="center";
alwaysvisible=1;
orientation="horizontal";
position="relative";
aI("text=Site Configuration;showmenu=SiteConfiguration;");
aI("text=Shop Maintenance;showmenu=ShopMaintenance;");
aI("text=Accounting System;showmenu=AccountingSystem;");
aI("text=Customer Management;showmenu=CustomerManagement;");
aI("text=Webhosting Tools;showmenu=WebhostingTools;");
drawMenus();
}</script>
</td>
</tr>
</table>
</body>
</html>
http://www.futonshop.co.uk/admin_menu.js
the problem on the newer mac is the menu moves itself on mouse over, jumping about 50 pixels to the left.
the problem on the older mac is far more pronounced. the top level renders albeit in the wrong place, then on mouse over it ads an extra line to the top level menu (the sub menu does not display). each time you mouse over another option in the top level menu the menu grows by an extra line.
any help will be gratefully recieved - the client is a little unhappy at the moment, thinking their website is broken!
many thanks