Solved

IE7&8 dropdown not working properly

Posted on 2011-09-13
3
241 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

919 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now