| Author |
Message |
AE Guest
|
Posted: Thu Aug 14, 2003 10:30 am Post subject: DOCTYPE causing problems |
|
|
Hi there,
I'm having some problems with Mozilla/Firebird incorrectly rendering sub menus when I use a DOCTYPE definition (of any type, HTML, XHTML, etc.). If I remove it, the menu works but the page won't then validate and it messes up other things in the page in other browsers.
Is there a fix for this in the works, or a workaround?
Thanks
Dave |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Mon Aug 25, 2003 2:16 am Post subject: |
|
|
| Please, quote your DOCTYPE literally. Or just sand sample page to jssupport@cooldev.com. |
|
| Back to top |
|
 |
AE Guest
|
Posted: Tue Aug 26, 2003 12:36 pm Post subject: |
|
|
The doctype was:
| Code: | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
However, others did the same, such as HTML transitional, etc. |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Tue Aug 26, 2003 1:45 pm Post subject: |
|
|
Bug. Blin...
To work this thing around put menu initialization <SCRIPT> tag into relatively positioned <DIV>:
[code]<div style="position: relative;">
<script type="text/javascript">
var m1 = new COOLjsMenuPRO("menu1", MENU_ITEMS)
m1.initTop();
m1.init();
m1.show();
</script>
</div>[/div]
Then in menuitems.js try to adjust "leveloff" fields. This does work for me. |
|
| Back to top |
|
 |
|