Preserved Topic: XHTML Strict alternative for "target"? |
|
---|---|
Author | Thread |
Maniac (V) Mad Scientist From: New California |
posted 09-22-2002 08:48
How are we supposed to open links in new windows? I can't find an alternative to using target="new" in the anchor tags. |
Bipolar (III) Inmate From: Berlin, Germany |
posted 09-22-2002 09:46 |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 09-22-2002 10:25
If you take a look at W3C Mailing List archive, you'll see that W3C people are pretty much ignorant about this "issue". Some of their excuses why target attribute doesn't exist in strict DTD are that it belongs in frameset DTD and that it's often misused for ad popups (and that's actually none of their business). Some people pointed out that by removing target attribute from strict DTD they can?t use it for creating pages for Mozilla/Netscape SideBars (and that a "legitimate" use for target attribute, but the W3C people always pull out that crap about popups and their misuse). |
Maniac (V) Mad Scientist From: New California |
posted 09-22-2002 10:39
I'm in a learning mode right now as I try to upgrade some of my pages to XHTML. That's very interesting, mr.maX thanks for the info. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 09-22-2002 18:46
I believe they also strongly discourage opening pages in new windows, since it disables the back button for one, and someone using a screen reader doesn't visually see that a new window has opened up, so it's inaccessable. |
Maniac (V) Mad Scientist From: New California |
posted 09-23-2002 00:55
I won't tell you how upset that kind of thinking makes me sometimes. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 09-23-2002 01:20
What kind of thing? Popups? |
Maniac (V) Mad Scientist From: New California |
posted 09-23-2002 01:58
No, people removing valuable features in an attempt to solve problems like the abuse of popups. Cliches like "throwing the baby out with the bath water" and "cutting off one's nose to spite one's face" come to mind. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 09-23-2002 02:47
Ah. I thought that might be it. But to be honest I doubt that's why they removed it. The W3C is usually very sensible about things like that; it wouldn't be like them to merely remove a feature because they saw that it was being misused. |
Maniac (V) Mad Scientist From: New California |
posted 09-23-2002 02:57
Well, what I've been doing is just running my pages through the validators as a way to learn as I go. Whenever I hit a snag, that's when I go out and find out what's behind it. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 09-23-2002 03:13
I have to plead ignorance to much of the newest w3c schema's but this does seem silly. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 09-23-2002 03:47
I hadn't planned on entering the contest, no. I rarely enter contests... I can only make things (pov-ray images, dhtml pages, etc) when a randomly occuring bit of inspiration hits me at the same moment that I have some free time. Rarely does that bit of inspiration coincide with the theme of a contest. It's only happened once so far. =) |
Maniac (V) Mad Scientist From: New California |
posted 09-23-2002 03:59
I just want to be able to open links in a new window sometimes. A perfect example of that is when I click any link from this board and it opens in a new window. I really like links doing that in some specific cases. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 09-23-2002 04:05
Ah, but you see, shift+clicking or right clicking and going to "open in new window" provides the same functionality, the difference being that the user makes the choice of what happens. When a link is *set* to open in a new window, the user has no choice but to open it in a new window. |
Maniac (V) Mad Scientist From: New California |
posted 09-23-2002 04:17
Hmmm... relying on the savvy user to choose a new window or not may not be such a bad idea. I'll think about that. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 09-24-2002 04:29
Just a note if you just do |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 09-24-2002 04:39
Bit: Please read http://www.youngpup.net/?request=/articles/how-to-create-popups.xml =) |
Obsessive-Compulsive (I) Inmate From: Detroit, Michigan |
posted 02-18-2003 20:26
Man oh man, I hardly think it's rude to use opening links in a new window. I am often looking at a persons "Links" page, and I HATE when the links don't open in a new window, always have. Normal links are ok, like links to different parts of a site, but when your linking to, say another blog, you want them to have their own special window, and still have your window open too. I often open links to other blogs in new windows because I'm still investigating the other site. Ya know!? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 02-18-2003 20:58
Well, yes, but that's because you're an experienced computer user. |
Neurotic (0) Inmate Newly admitted From: UK |
posted 03-04-2003 14:18
bitdamaged, I don't think you've addressed the whole problem... |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 03-07-2003 16:37
This: quote:
|
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 03-07-2003 16:42
The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 03-07-2003 16:48
The poster has demanded we remove all his contributions, less he takes legal action. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 03-07-2003 17:12
*Gasp* |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 03-07-2003 17:19
InI: Yeah that was what I was thinking of - the least hassle way of doing this would be to create a targetBlank() function which you would pass the URL to and the rest would be set in there. |
Maniac (V) Inmate From: Boston, MA, USA |
posted 03-07-2003 17:40
Thanks Ini. Guess I'll have to do the extra typing. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 03-07-2003 17:57
The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 03-07-2003 18:02
Steve: The problem is with IE5/Mac not with Mac OS and if MS ever pull their fingers out and provide you with a newer version then it would be fixed. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 03-07-2003 18:23
OK just threw this together using the GN's popup window generator: code: function targetBlank (url) {
|
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 03-07-2003 18:32 |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 03-07-2003 18:40
The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Inmate From: Milwaukee |
posted 03-07-2003 18:53
Really? People left after I left, and now I'm back and we're getting new people all of a sudden. I think it's because my sparkling personality makes the Asylum well worth reading! Not like the rest of you colorless drones. |
Bipolar (III) Inmate From: Berlin (almost) |
posted 03-07-2003 19:16
PT - never thought of it that way yet |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 03-07-2003 20:48
kuckus: Thanks a lot much appreciated - channelmode must be some odd option (like fullscreen) that seems worth switching off - interesting effect though. |
Maniac (V) Inmate From: Boston, MA, USA |
posted 03-07-2003 20:59
FWIW, all three of kuckus' examples worked fine for me. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 03-10-2003 22:20
The poster has demanded we remove all his contributions, less he takes legal action. |