xhtml open in new window ?
Whether you're a seasoned veteran or a struggling beginner, Web Radiance is the web development and web design forum for you. You'll find answers to all your HTML, CSS, SEO, and Programming needs. Pull up a chair and stay awhile.
xhtml open in new window ?
#1
Posted 24 February 2007 - 03:52 PM
#2
Posted 24 February 2007 - 04:35 PM
#3
Posted 24 February 2007 - 09:51 PM
#4
Posted 24 February 2007 - 10:35 PM
Most people, now-a-days, see it as a sleazy thing to do.
#5
Posted 25 February 2007 - 12:52 AM
#6
Posted 25 February 2007 - 03:18 AM
#7
Posted 25 February 2007 - 05:29 AM
The reason that target has been deprecated is because frames are a big 'no-no' now and, to be frank, whether a new window is needed or not is a decision that should be made by the visitor, not by you.
When it comes to ads, most ads are loaded via Javascript anyway nowadays, so that problem doesn't exist.
Why does the notion exist that, if it's an external page, then it should open in a new window? It's because you're trying to force the user to stay on your site. But if they want to stay on your site, they will - either by opening the link in a new window anyway, or by going back to your site after they're finished with the link. If they were finished with your site, then they'll simply close the new window, then close your window and that's that.
#8
Posted 25 February 2007 - 02:31 PM
There's all sorts of things that I think aren't good ideas that I have to ultimately do because it's their money. "Click here" links are another classic annoyance that I'm often forced into.
#9
Posted 25 February 2007 - 03:23 PM
#10
Posted 25 February 2007 - 04:47 PM
As for reloading the previous page with the back button - I use Opera so that doesn't happen - I hit back and it goes back instantaneously (Firefox does too as a rule). But either way, there's nothing stopping you from opening a new window if you want.
#11
Posted 25 February 2007 - 06:55 PM
#12
Posted 25 February 2007 - 08:53 PM
#13
#14
Posted 25 February 2007 - 10:53 PM
In my book, javascript is the best option.
#15
Posted 05 March 2007 - 02:43 AM
http://adactio.com/atmedia2005/
#16
Posted 05 March 2007 - 07:19 AM
Popup describes it's presentation. The others describe what it is. It's a more semantic approach.
#17
Posted 05 March 2007 - 06:35 PM
#18
Posted 05 March 2007 - 07:09 PM
#19
#20
Posted 06 March 2007 - 08:28 AM
sam, on Mar 5 2007, 07:09 PM, said:
I'd challenge that statement. The whole point of taking it out of xHTML is to increase it's semantics. Remove the presentation and behavior from the markup. Opening a new window on click is a behavior what javascript is intended for. The validator doesn't mark it as wrong be cause of the action of opening a new window, but because the act of opening a new window does not belong in the markup.
Also, even if javascript is off, your site will still work. I don't see any reason not to "progressively enhance" your site, with specific links opening in external windows.


Help
This topic is locked
MultiQuote












