Fórumok

Linking To Images

thumbnail
Josh Asbury, módosítva 15 év-val korábban

Linking To Images

Expert Bejegyzések: 498 Csatlakozás dátuma: 2006.09.08. Legújabb bejegyzések
I am working on creating some image roll-overs using JQuery, and I would like for them to link to the images on click. This works fine in Firefox and Safari, but IE sees things differently. If you visit this page in Firefox, hover over one of the images and click it, the image is served just fine. However, if you do the same in IE, it appears that it tries to download the image.

Does anyone know how I can get around this?
thumbnail
Miguel P, módosítva 15 év-val korábban

RE: Linking To Images

Regular Member Bejegyzések: 172 Csatlakozás dátuma: 2005.04.27. Legújabb bejegyzések
Hi Josh!
I detected this problem some time ago with pictures with the tag target="_blank". You say that it works in Safari but in my computer only works in Firefox and Chrome browsers.

The problem is in the MIME recognition, I.E shows a "Search" button and it links to :

http://shell.windows.com/fileassoc/mimeassoc.asp?mime=image%2Fjpg

Could you have solved it?
thumbnail
Josh Asbury, módosítva 15 év-val korábban

RE: Linking To Images

Expert Bejegyzések: 498 Csatlakozás dátuma: 2006.09.08. Legújabb bejegyzések
No, I never did. Thanks for the insight, though. I'll see if I can figure something out.

As a workaround, though, I wound up just adding some jQuery to my journal contents that served as mouse-over functions.