Hello
Now, I did work in FF, GC and IE7 but still does not work in IE8. In IE8 only the last top menu item was showed, but does not work (the script).
What I did:
1) I did disable the shadow of the script, at this line:
Code:
shadow: {enable:false, offsetx:5, offsety:5},
Before, the shadow caused a bug in the layout of the last top menu item.
2) I did validate my HTML, as you said and it is perfect.
The upgrade version of jquery does not make the difference, the problem happens in both versions.
If I remove the meta tag
Code:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
, works fine in IE8. If I put this tag, does not work in IE8.
Lastly: this apllication is hosted on internal server
, but if you want I can put the start of the code HTML and the menu can be tested with any, since it contains some 500 itens (between <UL> and <LI>).
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
<title></title>
<link href="/ddsmoothmenu/ddsmoothmenu-v.css" rel="stylesheet" type="text/css" />
<link href="/ddsmoothmenu/ddsmoothmenu.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script src="/ddsmoothmenu/ddsmoothmenu.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
/***********************************************
* Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
ddsmoothmenu.init({
mainmenuid: "smoothmenu", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
</script>
</head>
<body>
<div id="smoothmenu" class="ddsmoothmenu">
....
</div>
thank you by your attention,
Bookmarks