Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:03
displaying menu in fixed div tag fails
Poster: hautzi
Dated: Tuesday June 20 2006 - 22:51:31 BST
hello,
at our website, we use a fixed header-div where the menu is displayed in:
the included menu:
Code:
<!-- Header-->
<div id="oben">
<span class="ueberschrift">
{if $pageTitle.loginname}<strong>{$pageTitle.loginname}</strong>,{/if}
du bist {if $pageTitle.pre}{$pageTitle.pre}{else}hier:{/if} <strong>{$pageTitle.shorten|default:"unbekannt"}</strong>
</span>
<span id="banneroben" class="nohover"><script>dn_ads(2);</script></span>
<!-- ***** This is the section of code you need to paste into your web pages ***** -->
<script type="text/javascript" src="/lib/js/menu/milonic_src.js"></script>
<noscript><a href="http://www.milonic.com/">DHTML JavaScript Menu Powered by Milonic</a></noscript>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type='text/javascript' src='/lib/js/menu/mmenuns4.js'><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type='text/javascript' src='/lib/js/menu/mmenudom.js'><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="/lib/js/menu/menu_data.js"></script>
<!-- **** JavaScript Menu HTML Code -->
</div>
<div id="oben">
<span class="ueberschrift">
{if $pageTitle.loginname}<strong>{$pageTitle.loginname}</strong>,{/if}
du bist {if $pageTitle.pre}{$pageTitle.pre}{else}hier:{/if} <strong>{$pageTitle.shorten|default:"unbekannt"}</strong>
</span>
<span id="banneroben" class="nohover"><script>dn_ads(2);</script></span>
<!-- ***** This is the section of code you need to paste into your web pages ***** -->
<script type="text/javascript" src="/lib/js/menu/milonic_src.js"></script>
<noscript><a href="http://www.milonic.com/">DHTML JavaScript Menu Powered by Milonic</a></noscript>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type='text/javascript' src='/lib/js/menu/mmenuns4.js'><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type='text/javascript' src='/lib/js/menu/mmenudom.js'><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="/lib/js/menu/menu_data.js"></script>
<!-- **** JavaScript Menu HTML Code -->
</div>
the "oben" css-definition:
Code:
#oben {
position:fixed;
z-index:0; /* fuer den Internet Explorer*/
background-image:url(/images/head.jpg);
background-repeat:no-repeat;
top:0px;
margin:0px;
height:105px;
width:100%;
border:0;
}
position:fixed;
z-index:0; /* fuer den Internet Explorer*/
background-image:url(/images/head.jpg);
background-repeat:no-repeat;
top:0px;
margin:0px;
height:105px;
width:100%;
border:0;
}
in opera everything works correctly - but in firefox the submenu-items scroll down with the page
is there a possibility to fix the submenuitems as well?
the error occurs on the following website:
http://rd.diginights.com
user: menu
pass: menu