Topic: Open in new window - is there a legal way? (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Australia |
![]() Hi all, is there a legal way of opening a link in a new window (Without Javascript) |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() |
Maniac (V) Mad Scientist From: New California |
![]() I asked this same question a while back and this was the method suggested to me here in this very forum: code: <a href="yourimage.jpg" onclick="window.open(this.href,'_blank');return false;"><img ... /></a> Does this count as "without javascript"? I'm pretty sure it doesn't, but this does validate nicely |
Bipolar (III) Inmate From: Australia |
![]() hmm im pretty sure that counts as javascript... if someone had javaScript turned off i dont think that would work... however im not an expert in that area so i could easily be wrong. |
Paranoid (IV) Inmate From: the space between us |
![]() well, i think it doesnt get validated as xhtml strict, because it works fine with xhtml transitional.... |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() People use XHTML strict for one of two reasons |
Bipolar (III) Inmate From: Australia |
![]() Yeh, i would fall into class 2... Most of my pages do successfully get through as strict, and work in most browsers - i guess im of the opinion if there is a away (and its not a massive workaround) then i will do it to get strict, mind you i still use transitional where required. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() We have looked into this issue quite a few times and I've never found any solution completely satisfactory. My conclusion is that I will (when I have the time) look into modular XHTML and add in the frame module giving me back valid access to the target tag. If people want to open the link in the same window or another window they can still do so through the right click options as far as I'm aware. |
Bipolar (III) Inmate From: Australia |
![]() Yeh i did look a bit into modular XHTML and cusom DTD's to do the job.... |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() Lol, I don't think you really understand accessibility. It is not about ease of use for normal people (who don't understand how their applications work). Making an accessible website is the act of making your website accessible by those with disabilities. What you are talking about isn't accessibility but is usability. This is the difference between Jacob Nielsen and Joe Clark. It is a somewhat important distinction. Although making a usable website often includes also making it accessible. |
Bipolar (III) Inmate From: Australia |
![]() Yeh i guess the right word would have been useable in that case. So call it a useability issue.. |