Board Logo

MSIE6 crashes when using TMGold
herko - 1/23/2004 at 02:56 PM

I have this very odd problem with Tigra Menu Gold. I want to use the menu in a template for the dynamic website script XOOPS (www.xoops.org). In fact, I want to use it for the xoops.org websites themself.

First thing that is important to know is that the menu will be shown on every page, as the template is site wide. This makes setting the path in menu.js a little difficult, so I used a full URL there (in this case http://localhost/themes/xoops/menu_files/). This works fine on my localhost, and on the server as well.

The template I have created uses CSS and DIV's for placement of everything on the page, so also with the menu. The relevant part of the header of the file looks like this:

Code:

<script type="text/javascript" src="http://localhost/themes/xoops/menu_files/menu.js"></script>
<script type="text/javascript" src="http://localhost/themes/xoops/menu_files/menu_items.js"></script>
<script type="text/javascript" src="http://localhost/themes/xoops/menu_files/template.js"></script>
<link rel="stylesheet" href="http://localhost/themes/xoops/menu_files/menu.css"></head>

<body style="text-align:center;">
<div style="width:776px;margin:0px auto;text-align:left;">
<div class="headera"><img src="http://localhost/themes/xoops/images/topheader.png" alt="" border="0" /></div>

<div id="pageMenu">
<div style="margin-left: 20px; height: 18px; vertical-align: top;">
<script type="text/javascript">
<!--
new menu (MENU_ITEMS0, MENU_POS0);
//-->
</script>
</div></div>


This produces a beautifull menu in Mozilla Firebird and Netscape, but in MSIE 6 it shows all menu items overlapping eachother, with the last item on top.

It gets even stranger, because when that last visible menu item folds out, MSIE6 crashes with a message that resembles

Quote:

The instruction 0x636c5f54 refers to memory at 0x0000021a. The read- or write action ("read") on the memory has failed.


And then MSIE closes. Since Mozilla and Netscape both work fine, I suspect the error is somewhere within the menu.dom.js file, as that file is used by MSIE.

Can anyone help?? Please??

Herko


herko - 1/23/2004 at 03:14 PM

I think I've narrowed it down to the menu.js file, I think the menu.dom.js file can't handle the URL in the menu.js file. I sthis true, and can it be solved?

Herko


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/