Solved

IE7&8 dropdown not working properly

Posted on 2011-09-13
3
244 Views
Last Modified: 2012-08-13
My page is working in Chrome, Firefox, Safari, and Opera, but the pull-down menu in IE8 is disappearing when the "Main" is hovered,  and in IE7 the pull-downs are not displaying in the correct place.

http://insurance.illinois.gov/newdefault2/newdefaultflat3.asp
0
Comment
Question by:smitty62
3 Comments
 
LVL 8

Expert Comment

by:PagodNaUtak
ID: 36533330
Change the javascript code as shown below.
<script>
    	$(document).ready(function(){
		$(this).find(".menu_area").show();
		$("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true);
	
 	
	$(".FaceBookBtn").hover(function() {
		$(this).attr("src","images/FaceBookLarge.png");
			}, function() {
		$(this).attr("src","images/FaceBook.png");
	  });

	$(".RSSBtn").hover(function() {
		$(this).attr("src","images/RSSLarge.png");
			}, function() {
		$(this).attr("src","images/RSS.png");
	  });


	$(".TwitterBtn").hover(function() {
		$(this).attr("src","images/TwitterLarge.png");
			}, function() {
		$(this).attr("src","images/Twitter.png");
	  });


	$(".YouTubeBtn").hover(function() {
		$(this).attr("src","images/YouTubeLarge.png");
			}, function() {
		$(this).attr("src","images/YouTube.png");
	  });
    });
  </script>

Open in new window

0
 

Author Comment

by:smitty62
ID: 36536022
The javascript is for the buttons at the very top.  The problem is the dropdown bars "Main  Documentation Programs Consumers Companies Producers"  which is done in CSS.

In IE7 the dropdowns are not expanding in the correct place directly beneath the category, and in IE8 the dropdown is disappearing if the mouse is over the "Mai"  part of "Main".

http://insurance.illinois.gov/newdefault2/newdefaultflat3.asp
0
 
LVL 25

Accepted Solution

by:
Kyle Hamilton earned 500 total points
ID: 36548929
Seems to be working fine in IE7 and 8.

Did you fix this already?
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question