Having trouble viewing the CSS menu on Internet Explorer 8? Could it be a potential JavaScript issue causing the problem?

Receiving complaints about the menu bar dysfunction in Internet Explorer 8 has left me bewildered. Despite working perfectly on all other browsers and earlier versions of IE, I cannot figure out what's wrong with the code.

You can view the website at:

The CSS for the site can be accessed here:

Here is the code for the menu:

    <script src="/upload/wysiwyg/AC_RunActiveContent.js" type="text/javascript>
    </script>
    <DIV id="header"><a href="/centrallab/home-page.xml"><img src="http://www.iirusa.com/upload/wysiwyg/2011-P-Div/P1625/P1625_Central_Labs_East.jpg" alt="Central Labs East" width="930" height="206" border="0" /></a></DIV>
    <DIV id="container">
    <ul id="nav">
    <li style="background: url(http://www.iirusa.com/upload/wysiwyg/2011-P-Div/P1625/P1625_menu_item_image.gif) no-repeat right center;"><a href="/centrallab/home-page.xml" title="HOME">HOME</a></li>
    <li style="background: url(http://www.iirusa.com/upload/wysiwyg/2011-P-Div/P1625/P1625_menu_item_image.gif) no-repeat right center;"><a href="#">EVENT DETAILS</a> 
    <ul>
        <li><a href="/centrallab/agenda-page.xml" title="Agenda At A Glance">Agenda At A Glance</a></li>
        <li><a href="/centrallab/workshop-page.xml" title="Monday Sessions">Monday Sessions</a></li>
        <li><a href="/centrallab/oncology-page.xml" title="Oncology Summit">Oncology Summit</a></li>
        <li><a href="/centrallab/speakers.xml" title="Speakers">Speakers</a></li>
        <li><a href="/centrallab/Whowillyoumeet.xml" title="Who You Will Meet">Who You Will Meet</a></li>
        <li><a href="/centrallab/attendees-page.xml" title="Attendees List">Attendees List</a></li>
        <li><a href="/centrallab/pricing-venue.xml" title="Pricing & Venue">Pricing & Venue</a></li>
    </ul>
    </li>

    <li style="background: url(http://www.iirusa.com/upload/wysiwyg/2011-P-Div/P1625/P1625_menu_item_image.gif) no-repeat right center;"><a href="#">PARTNERS</a> 
     <ul>
        <li><a href="/centrallab/sponsors-page.xml" title="Sponsors">Sponsors</a></li>
        <li><a href="/centrallab/exhibitors.xml" title="Exhibitors">Exhibitors</a></li>
        <li><a href="/centrallab/become-a-sponsor.xml" title="Become a Sponsor">Become a Sponsor </a></li>
        <li><a href="/centrallab/become-a-exhibitors.xml" title="Become an Exhibitor">Become an Exhibitor </a></li>
        <li><a href="/centrallab/become-a-media-partner.xml" title="Become a Media Partner">Become a Media Partner</a></li>
   </ul>
   </li>
 <li style="background: url(http://www.iirusa.com/upload/wysiwyg/2011-P-Div/P1625/P1625_menu_item_image.gif) no-repeat right center;"><a href="/centrallab/brochure-download.xml" title="Brochure">BROCHURE</a> </li>
 <li style="background: url(http://www.iirusa.com/upload/wysiwyg/2011-P-Div/P1625/P1625_menu_item_image.gif) no-repeat right center;"><a href="">REGISTRATION </a>
    <ul><li><a href="/centrallab/registration-LP.xml" title="Register">REGISTER </a></li>
      <li><a href="/centrallab/pricing-venue.xml" title="Pricing & Venue">Pricing & Venue</a></li>
      </ul></li>
      <li style="background: url(http://www.iirusa.com/upload/wysiwyg/2011-P-Div/P1625/P1625_menu_item_image.gif) no-repeat right center;"><a href="#">CONNECT</a>
      <ul>
      <li><a href="/centrallab/contact-page.xml" title="Contact Us">Contact Us</a></li>
      <li><a href="/centrallab/opt-in-page.xml" title="Opt-in">Opt-in</a></li>
      <li><a href="/centrallab/send_to_friend.xml" title="Send to a Friend">Send to a Friend</a></li>
      <li><a href="http://www.linkedin.com/groupRegistration?gid=151146&amp;goback=.gdr_1219853769141_1.anb_151146_*2" title="LinkedIn" target="_blank">LinkedIn</a></li>
     <li><a href="http://partnershipswithcros.blogspot.com/" title="Blog" target="_blank">Blog</a></li>
     <li><a href="http://twitter.com/partnershipcros?utm_source=sidebar&amp;utm_medium=croshomepage&amp;utm_term=croshomepage&amp;utm_content=followcros&amp;utm_campaign=homepage" title="Twitter" target="_blank">Twitter</a></li>
     <li><a href="http://labroots.com/?appinstanceid=groups&amp;action=view&amp;id=150" title="Labroots" target="_blank">Labroots</a></li>
    </ul></li>
   </ul>
 </DIV>

I suspect there might also be an issue with the JS we are referencing, which is located here:

If you can provide assistance, it would be greatly appreciated and relieve hours of frustration!

Answer №1

The issue lies in IE6 and not IE8. The main problem is that IE6 does not recognize the :hover selector for elements other than an a tag.

Answer №2

My experience with your website on IE8 is that it malfunctions when Compatibility View is enabled.

To prevent this issue, you can ensure the browser does not enter Compatibility View by inserting the following code in your head:

<meta http-equiv="X-UA-Compatible" content="IE=edge">

The menus function flawlessly on IE8 outside of Compatibility View mode.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Angular 6 - Outdated Functions

I'm having trouble updating the request options as they are now deprecated. I can't seem to locate the alternative option for this. Can anyone offer some assistance? import { Injectable } from '@angular/core'; import { HttpClient } fr ...

Retrieve data from multiple JSON tables using a JavaScript loop

Check out this Codepen for a working example. I am relatively new to Javascript, so I may not be approaching this problem the best way. If you have any suggestions on how I could improve my approach, I would greatly appreciate it; always looking to learn ...

"Successfully uploading files with Ajax on Postman, however encountering issues when attempting to do so in

I am currently working on allowing specific users to upload videos to the API using Ajax. The process works smoothly in Postman, however, when attempting the same action from a web browser, I encounter a 500 Internal Server Error. Unfortunately, I do not ...

Effortless JSON parsing with Angular 2 Http GET request

After sending an HTTP get request to my server API, I am attempting to parse the JSON object that is returned. Below is the code snippet for the Http call: getPayoutReport(param1, param2, param3) { //perform necessary actions //set up a requestUr ...

The error message "MediaMetadata is not defined as no-undef and cannot be used as a constructor" appeared when trying to use MediaMetadata

I have successfully implemented a playlist player using howler.js in vuejs. Now, I am looking to enhance it by integrating the MediaMetadata API. While the MediaSession API is functioning well with controls like notification bar, keyboard controls, and rem ...

Interact with the :before pseudo element when hovering over an element

Is there a way to manipulate the :before pseudo element when hovering over the main element? My goal is for the pseudo element to change its height when I hover over the main element. This is how my code looks: HTML <div class="object">& ...

html - automatically populating input fields when the page loads

Currently, I have an HTML form embedded in the view and I am looking for a way to automatically populate specific input fields with json variables obtained from the server. Instead of manually writing JavaScript code for each field, my goal is to access th ...

Customizing font size in React with Material UI: A comprehensive guide on adjusting the font size of the Select component

I'm currently working on a web application that utilizes React along with Material UI. My goal is to adjust the font size of the Select component. I've attempted to achieve this by utilizing the MenuProps property, as shown in the following code ...

What is the best way to dynamically load a personalized JavaScript file for individual users depending on their PHP login credentials?

Currently, I am conducting a web-based experiment in which students log into a website to take practice tests for a class. Initially, the students land on a login page that includes the following code: include_once("core/config.php"); include_once("core/ ...

limited growth of float variable

I am utilizing CSS code to create column a and column b, using float in the code to dynamically expand column a as content is added to column b. However, this expansion is not occurring as expected. To see my code, please visit http://jsfiddle.net/hadinetc ...

struggling to determine the connection status between tables (Many-to-many or one-to-one)

Seeking assistance: I am working with two tables (member, event) where each member attends multiple events and each event has multiple attendees. Do these relationships represent a many-to-many or one-to-one relationship? ...

What is the best way to remove an element from an array and add a new one?

Here is the array that I am working with: [ { "id": "z12", "val": "lu", "val2": "1", }, { "id": "z13", "val": "la", "val2" ...

PUPPETER - Unpredictable pause in loop not functioning as expected

Having an issue with this specific part of the code: (async () => { const browser = await puppeteer.launch({ headless: false, // slowMo: 250 // slow down by 250ms }); const page = await browser.newPage(); //some code // CODE ABOVE WORKS, ...

A button that is positioned with a low z-index may be unresponsive to

I am working on aligning an image and a button next to each other so that the image slightly overlaps the button. However, I have noticed that in doing so, the button becomes unclickable. .button{z-index:-1!important;} .image{z-index:1!important;} Any s ...

Learning to implement $first in an Angular ng-repeat to dynamically add a new table row

I am currently facing an issue with displaying a Google map for addresses in my Angular application. The problem seems to be related to the asynchronous nature of HTML and JS, but I am struggling to find a solution. The issue is that even though the map vi ...

NodeJS npm module installed globally is unable to run the main/bin JavaScript file using node command

Here is an example of my package.json: { "name": "example-module", "version": "1.0.0", "bin": "./bin/example-module.js", "main": "./bin/example-module.js", "description": "Example module description", "homepage": "http://my.home.page.com", " ...

Creating a Hover Effect for DIV Elements Using Pure CSS, No JavaScript Needed

Imagine a straightforward, horizontal navigation on a website: | Home | About | Products | Contact | Impress | ... or something like that... A rectangular element is positioned above the navigation. Now, I want this rectangle to automatically shift hori ...

Run the GetServerSideProps function every time the button is clicked

Struggling with my NextJS app development, I encountered an issue while trying to fetch new content from an API upon clicking a button. The server call is successful, but the update only happens when I refresh the page rather than triggering it with the bu ...

What is the best way to accurately establish a new name for the evolving scope

var tags_offset=[]; $scope.getRelations = function(id, ref, subRef=0){ tags_offset[ref+'-'+subRef]=0; $http.get( CONS.appHttp+ '/tags.php?ID='+id +'&ref='+ref +'&contentType='+subRe ...

Various image dimensions cause divs to shift unevenly

Here is the current setup: <div class="row"> <div class="col-md-4 content-column"> <img class="btn-center btn-desktop" src="images/buttons/btn-desktop.svg" alt="desktop button"> <h2 class="btn-deskt ...