Damn i hate IE! lol
Im using IE8 and im having the same problem... I've checked the html and the js and its all OK...
IE keep saying: 'divclass' is null or not an object."
Heres the link:
http://www.alteracis.com.br/happyden...estemenu2.html
(the dropdown comes on SOBRE in the menu.)
HTML code:
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="Content-Type" content="text/html; charset=UTF-8" />
<title>Happydent's</title>
<link rel="stylesheet" href="site.css" type="text/css" media="screen" />
<link href="scroll.css" rel="stylesheet" type="text/css" />
<link href="scrollstyles.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="scroll.js"></script>
<script type="text/javascript" src="load.js"</script>
<link rel="stylesheet" type="text/css" href="drop/anylinkmenu.css" />
<script type="text/javascript" src="drop/menucontents.js" charset="ISO-8859-1"></script>
<script type="text/javascript" src="drop/anylinkmenu.js" charset="ISO-8859-1">
/***********************************************
* AnyLink JS Drop Down Menu v2.0- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Project Page at http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm for full source code
***********************************************/
</script>
<script type="text/javascript">
//anylinkmenu.init("menu_anchors_class") //Pass in the CSS class of anchor links (that contain a sub menu)
anylinkmenu.init("menuanchorclass")
</script>
</head>
<body>
<div id="menu" align="center"><img src="menu/logo.jpg" width="258" height="137" /><a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','menu/home2.jpg',1)"><img src="menu/home.jpg" alt="home" name="home" width="75" height="137" border="0" id="home" /></a><img src="menu/div.jpg" width="9" height="137" />
<a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('sobre','','menu/sobre2.jpg',1)" class="menuanchorclass" rel="anylinkmenu4">
<img src="menu/sobre.jpg" alt="sobre" name="sobre" width="73" height="137" border="0" id="sobre" /></a><img src="menu/div.jpg" width="9" height="137" /><a href="servicos.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('servicos','','menu/servicos2.jpg',1)"><img src="menu/servicos.jpg" alt="serviços" name="servicos" width="98" height="137" border="0" id="servicos" /></a><img src="menu/div.jpg" width="9" height="137" /><a href="parceiros.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('parceiros','','menu/parceiros2.jpg',1)"><img src="menu/parceiros.jpg" alt="parceiros" name="parceiros" width="109" height="137" border="0" id="parceiros" /></a><img src="menu/div.jpg" width="9" height="137" /><a href="contato.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('contato','','menu/contato2.jpg',1)"><img src="menu/contato.jpg" alt="contato" name="contato" width="112" height="137" border="0" id="contato" /></a></div>
the .js files:
http://www.alteracis.com.br/happyden...anylinkmenu.js
http://www.alteracis.com.br/happyden...enucontents.js
How to fix that? Its possible to fix this issue in ie8???
Thanks guys!
Bookmarks