Solved

IE7&8 dropdown not working properly

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

828 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