PDA

View Full Version : Mouseover effect doesn't work in IE


Flinth-design
02-02-2011, 06:48 AM
I have made a site in Dreamweaver. I have a mouseover on an image.
When the mouse goes over the image I want to see a text.
On Google chrome it works but it doesn't work in Internet Explorer.

<div onmouseover title="Art.no. 410/40-10M
L=90 B=40 H=44
Deze kooi is ook in het wit verkrijgbaar.
Tegen meerprijs kunt u links en/of rechts
boven deurtjes krijgen."><a href="images/kooi domus 1 nieuw.jpg" rel="lightbox" title="rel="lightbox" title="Art.no. 410/40-10 | L=90 B=40 H=44 | Deze kooi is ook in het wit verkrijgbaar. | Tegen meerprijs kunt u links en/of rechts boven deurtjes krijgen."><img src="images/kooi domus 1 nieuw klein.jpg" class="rechts" /></div>

A big tag but it is for someone who has a birdshop and the specifications has to be on the net.. I don't see another solution for this.

http://www.birdshopeindhoven.nl/kooien.html is the link to the site I make now.. Oh yeah, I can't get the site centred too. I have in css
div#page-wrap {
width:800px;
margin: 0 auto;
} but it doesn't work as I want it to be. It are 3 columns but on the left the gab is bigger than on the left.

So, a lot of text but hopefully someone can help me with this.
Thanks so much on forehand.

gentleone
02-02-2011, 10:42 AM
What is this?
<div onmouseover title=
This doesn't make sense and IE thinks too is my guess.

gentleone
02-02-2011, 10:47 AM
I've looked at the page and I see what you're doing. Why do you wrap those images in a div in order to get the lightbox to work.

Placing only the images and set the title attribute on the img tags would be enough.

Flinth-design
02-02-2011, 02:18 PM
But there is the problem. In IE the title attribute doesn't work.
Is there some code for it so it works in IE?

My client wants the lightbox in order to see a larger picture of the cages.
The picture is small now but I have to make other pictures.

gentleone
02-02-2011, 02:24 PM
The code of that div is a bit of a mess. There are 2 title attributes and 2 rel attributes in your lightbox link, so that could also cause IE not showing the title. Better to clean up that first.

rel="lightbox" title="rel="lightbox" title="Art.no. 410/40-10 | L=90 B=40 H=44 | Deze kooi is ook in het wit verkrijgbaar. | Tegen meerprijs kunt u links en/of rechts boven deurtjes krijgen."