youngApprentice
Programmer
Here's a typical situation:
you have a link set to open a window if JavaScript is enabled, with the parent window going to the link if JavaScript is not enabled.
<a href="/myFolder/myPage.htm" title="my title" onClick="popAWindow('/myFolder/myPage.htm','500','400'); return false;">My Link Text</a>
This works in Firefox, IE 6, IE 7, Netscape 9, Opera, etc. for Windows XP but does not work in IE 7 on Windows Vista, while still working in FF, Netscape, and Opera in Vista. In Windows Vista, the window pops up and the parent page goes to the content, ignoring the return false.
Anyone have a good workaround? Is removing the href attribute a valid solution when JS is enabled?
TIA,
youngApprentice
you have a link set to open a window if JavaScript is enabled, with the parent window going to the link if JavaScript is not enabled.
<a href="/myFolder/myPage.htm" title="my title" onClick="popAWindow('/myFolder/myPage.htm','500','400'); return false;">My Link Text</a>
This works in Firefox, IE 6, IE 7, Netscape 9, Opera, etc. for Windows XP but does not work in IE 7 on Windows Vista, while still working in FF, Netscape, and Opera in Vista. In Windows Vista, the window pops up and the parent page goes to the content, ignoring the return false.
Anyone have a good workaround? Is removing the href attribute a valid solution when JS is enabled?
TIA,
youngApprentice