Click to See Complete Forum and Search --> : target=_blank not working on Vista?


hume.tony
01-20-2009, 10:47 AM
I'm having a problem making a small line of code work. The idea is to have a link that when rolled over will give a small display of an image and then when clicked sends you to the image in a new window:

<a href="../../figs/image.png" target=_blank onMouseOver="doTooltip(event,0)"
onMouseOut="hideTip()">link</a>


This works perfectly in XP but when I try it in Vista I get either one or the other. Either I can click on it and it opens in a new window but does not show the small display or I tell the browser to allow ActiveX and I get the small display but then the link is broken. In both xp and vista I am using Internet Explorer 7. Is this a known problem or am I in uncharted territory?

skywalker2208
01-20-2009, 10:53 AM
I don't know if this will fix your problem, but you need to put double quotes around the _blank like target="_blank".

Charles
01-20-2009, 11:10 AM
I don't know if this will fix your problem, but you need to put double quotes around the _blank like target="_blank".No you don't, not in HTML. In XHTML you do, when the browser thinks that you are using XHTML, but then it's onmouseover and onmouseout.

hume.tony
01-20-2009, 12:03 PM
Update: Just tried it on No Add-on mode in Vista and it works fine.

felgall
01-20-2009, 01:03 PM
You probably had your browser configured to ignore the target attribute - as more and more people are doing so as to take more control of how their browser works.

hume.tony
01-20-2009, 01:25 PM
Actually someone else configured the browser. Where would I go to find that setting on IE7?

hume.tony
01-20-2009, 03:04 PM
Since I have gotten it to work on IE7 (No Add-ons) Mode I have been trying to get it work on normal IE7 by disabling the add-ons one by one. At this point all add-ons are disabled in the regular IE7 and it still doesn't work.

Is there any difference between IE7 (No Add-ons) Mode and IE7 with all add-ons disabled?