Note that
target="_blank" is deprecated and will invalidate any xhtml.
It is a decision of
the W3C that target="_blank" is not used because
it breaks the 'back'
button in the browser and is a handicap for
both visually and
physically disabled users. It is much better to provide
an explanation
somewhere that the user is leaving the main site, usually
this can be done in
the alt and title tags of the link. This gives the
user the option of
right click > open in new window if they want to.
Using something like
<a rel="external"
href=""http://someothersite.com">http://someothersite.com"
alt="external link" title="you are now leaving
thissite.com">someothersite</a>
might be better.
Gav...
-----
Original Message -----
Sent:
Tuesday, August 30, 2005 3:52 AM
Subject:
Re: target="_blank" and other <a> tricks (Re: New Forrest site to
add to list!)
Ah! I see, My IDE is not allowing it, checking
the 2.0 dtd and not letting me save, thinking it is not properly
formatted. I'll have to work around that. THanks!!!!!!
!!!!
Holly
Ross Gardler wrote:
Helena
Edelson wrote:
Hi
Just tested this:
http://forrest.apache.org/dtdx/document-v20.html#link-class
doesn't accept target param in formats:
<a class="fork" href=""> <../index.html>
<a class="jump" href=""> <../index.html>
for Document V2.0.
This is key for branding one site and offering a link to another while
not directing user off the original site.
I don't understand your problem. I thought you originally you said you
want to create an <a> link with target="_blank" in your output.
The above page describes exactly how to do that. If you look at the
generated source for this page you will see that <a class="fork"
href=""> in the input XDoc gets translated to <a
target="_blank" class="fork" href=""> in the output
HTML.
Isn't this what you want? If not please explain exactly what your
problem is because I must have misunderstood your problem.
Ross
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date:
26/08/2005
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 26/08/2005