PDA

View Full Version : Chrome CSS Drop Down Menu on IE7 problem



udaytholeti
11-05-2008, 06:06 PM
Hi,

I am facing some problems with the Chrome CSS Drop Down Menu on Internet Explorer 7. When I load the page (http://mitrforall.googlepages.com/home) it loads fine without any errors but when I try to highlight the menu it comes out with an script error that there is some problem with this.standardbody.scrollLeft. It works fine with Mozilla and Chrome browsers. This particular CSS based menu was working fine before (may be 10 to 15 days earlier) but not now. Please let me know if I have to make any modification for the script to work properly on IE.

Regards,
Uday Kiran.

ddadmin
11-05-2008, 09:09 PM
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

There may be other issues, but looking at your page's source, your chrome menu code is duplicated twice on the page. Towards the very bottom, the below block definitely shouldn't be there:


<link style="color: rgb(102, 102, 102); font-family: verdana;" href="chromestyle2.css" type="text/css" rel="stylesheet"></div><script src="chrome.js" type="text/javascript">

/***********************************************
* Chrome CSS Drop Down Menu- 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
***********************************************/

</script><div class="chromestyle" id="chromemenu" style="color: rgb(102, 102, 102); font-family: verdana; font-weight: normal; text-align: center;"><ul><li><font size="2"><a href="http://mitrforall.googlepages.com/Home">Home</a></font></li><li><font size="2"><a href="http://mitrforall.googlepages.com/games">Games</a></font></li><li><font size="2"><a href="http://mitrforall.googlepages.com/home2">About Us</a></font></li><li><font size="2"><a href="http://mitrforall.googlepages.com/">Contact Us</a></font></li><li><font size="2"><a href="http://mitrforall.googlepages.com/sitemap">Site Map</a></font></li><li><font size="2"><a href="http://mitrforall.googlepages.com/map">Map</a></font></li></ul></div><div style="text-align: center;"><i><font size="2"><span style="font-family: times new roman,serif;">Created by: Mitr4all</span></font></i></div></div></p>
<div style="clear: both"></div>