Re: [css-d] target attribute of anchor

2006-01-15 Thread Matthew Levine
On Jan 15, 2006, at 1:19 PM, Francesco wrote:

 Has the target attribute of the anchor tag been
 deprecated?  If so, how are we now supposed to specify
 a target window?

Francesco,

There are two primary uses for targets: frames and popups.

Many people (myself included) are of the opinion that frames are  
generally unfriendly to your visitors.  HTML, CSS and Javascript have  
evolved to the point that Almost anything that you can do with frames  
you can also do in a single document.  For these solutions, the  
target attribute just isn't necessary.  However, if you absolutely  
require frames, you can use a FRAMESET doctype declaration, which  
will still validate with the (deprecated) target attribute.

There are some cases in which opening new windows (for which targets  
are also used) is a good idea.  The example that springs to mind is  
Amazon's now-standards What's This? link, which brings up a helpful  
explanation in a small popup. For this, a bit of unobtrusive  
Javascript is almost definitely the best way to go, so target is  
again unnecessary.

-- 
Matthew Levine (http://www.infocraft.com/)
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] target attribute of anchor

2006-01-15 Thread David Dorward
On 15/01/06, Francesco [EMAIL PROTECTED] wrote:
 Has the target attribute of the anchor tag been
 deprecated?

No, but it doesn't exist in strict DTDs or in the specs presently
being developed by the W3C.

 If so, how are we now supposed to specify a target window?

You don't. User's can open new windows when they want them.

What does this have to do with CSS?


--
David Dorward http://dorward.me.ukhttp://blog.dorward.me.uk
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/