IE7 a:hover doesn't work - fine in Safari, FF

Hi everyone,

I'm trying to implement a JS gallery (http://smoothgallery.jondesign.net/), which is going fine except for a problem in IE7. When you mouseover a link, an image should appear via use of the :hover pseudo-class to change the image opacity from 0 to 0.8 (or 80, depending on your currency!). It works fine in Safari and Firefox, but doesn't do anything in IE7. If someone could look at the attached code and/or the example at:

http://www.punkrockportraits.com/pages/gallery.php?id=8

I would be very grateful. I've included "zoom", "width" and "position" as possible fixes mentioned elsewhere, but have had no luck whatsoever.
/* Image is not visible normally */
.jdGallery a.right, .jdGallery a.left
{
	position: absolute;
	height: 99%;
	width: 40%;  /* Adjust this for width of arrow link (HWW) */
	cursor: pointer;
	z-index:10;
	filter:alpha(opacity=0);
	-moz-opacity:0.0;
	-khtml-opacity: 0.0;
	opacity: 0.0;
}
 
/* Image SHOULD become visible on :hover */
.jdGallery a.right:hover, .jdGallery a.left:hover
{
	filter:alpha(opacity=80);
	-moz-opacity:0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
	width: 100%;
	zoom: 1;
	position: absolute;
}

Open in new window

haydnwilliamsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

alien109Commented:
try adding the href property to your left and right anchor tags.
0
myderrickCommented:
Try a.right:link or .right a:link (with .right a:hover)

eg
.jdGallery a.right:link, .jdGallery a.left:link
{
        position: absolute;
        height: 99%;
        width: 40%;  /* Adjust this for width of arrow link (HWW) */
        cursor: pointer;
        z-index:10;
        filter:alpha(opacity=0);
        -moz-opacity:0.0;
        -khtml-opacity: 0.0;
        opacity: 0.0;
}

MD
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
GaryCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.