Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

jQuery IE Hover Problem

Featured Replies

SOLVED!! See Bottom...

 

Hi,

I recently starting using jQuery in my site design and after a few tutorials felt comfortable enough to start using it at will. I was generally playing around with making a few nav bars when I came across a problem... in IE.

 

Here's the problem:

 

1. I was using the .hover -> .animate effect to make a fading nav bar

 

2. I set it so that when the image was hovered over, it changed the opacity of the upper image to 0, revealing the lower image

 

3. When hovered off, the upper image would return to have an opacity of 1 and my rollover effect was complete

 

4. This was all fine and dandy until I wanted to make them links, so I changed to to instead of grabbing the image, grab the 'a' anchor tag

 

5. This worked fine in Firefox and Chrome, but IE had other ideas, and it simply doesn't want to show the lower image

 

Sorry about the density of the problem but does anyone know a way around this? Below is the link to the page as well as the CSS and the javascript.

 

Thanks for any help!

 

Page: http://dl.dropbox.com/u/415818/jQuery%20Stuff/index.html

 

Javascript: http://dl.dropbox.com/u/415818/jQuery%20Stuff/scripts.js

 

CSS: http://dl.dropbox.com/u/415818/jQuery%20Stuff/style.css

 

 

SOLVED: Well, that was a waste of time, I just turned the get to 'a' instead of '.nav'. IE just needed a little push!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.