People like you shouldn't be allowed near CMS or PHP. Just kidding. But I think there's some kind of CMS and/or PHP nightmare going on here. The page has 3 DOCTYPE declarations, 3 opening html tags, three heads, and three body tags.
Only one of each are allowed. This probably occurred because of PHP includes, perhaps as part of a CMS. However it happened, it should be fixed, and things should be arranged so that all scripts and styles are in the head of the page and all markup in the body.
That said, there doesn't appear to be any problem with z-index here, and the state of affairs described above doesn't appear to be a major problem, at least not in Firefox 6.1 - other browsers might not be as able to error correct all that.
The main problem with the script is that you have two copies of jQuery on the page:
Code:
<script type="text/javascript" src="../Javascript/mega_menu/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="../Javascript/mega_menu/jquery.hoverIntent.js"></script>
<script type="text/javascript" src="../Javascript/mega_menu/jquery.hovermini.js"></script>
<script type="text/javascript"> $(document).ready(function() {
function megaHoverOver(){
$(this).find(".sub").stop().fadeTo('fast', 1).show();
//Calculate width of all ul's
(function($) {
jQuery.fn.calcSubWidth = function() {
rowWi . . .
and:
Code:
. . . </div>
</div>
</div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
//Set Default State of each portfolio piece
$(".paging").show();
$(".paging a:first").addC . . .
You only need one. Get rid of the second one and the menu works, at least in Firefox 6.1.
Bookmarks