HighDots Forums  

target in strict doctype

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss target in strict doctype in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bill
 
Posts: n/a

Default target in strict doctype - 12-16-2007 , 11:40 AM






Hi

Writing <a href=" " target="_new" ></a> in a "strict" dtd sheet leads to
an error. How can we specify to open the new page in a new window while in
strict dtd ?


Thanks



Reply With Quote
  #2  
Old   
Bill
 
Posts: n/a

Default Re: target in strict doctype - 12-16-2007 , 01:14 PM






Hi

Let's say that the new window is a reference to a law on an official
government site. That page might (and in fact are most often) be long to
load. If the visitor has to switch often between your site page and that
reference might not be a very good idea.

Thanks
Quote:
Why do you want to inflict new windows on your visitors? See Point 2:



Reply With Quote
  #3  
Old   
Bill
 
Posts: n/a

Default Re: target in strict doctype - 12-16-2007 , 03:42 PM




Quote:
government site. That page might (and in fact are most often) be long
to load. If the visitor has to switch often between your site page

Then place a marker next to the link that explains that it might be wise
A warning could be written in the "title" attribute of the "a" link if it
was allowed by strict dtd sparing hits on the server. We're stuck with
adding an "eye catching enough" marker set with the "alt" attribute
displaying the warning. Finally there's no real "economical" solution to
these situations if you want to combine ease of consultation for the brand
new Inet user and resource economy for the server.

You'd be amazed to see how many still don't know how to use a browser !

And adding a "user manual" to a site is not a very good idea for them, for
anybody for instance.


Thanks
Bill








Reply With Quote
  #4  
Old   
Stan Brown
 
Posts: n/a

Default Re: target in strict doctype - 12-16-2007 , 03:56 PM



Sun, 16 Dec 2007 12:40:26 -0500 from Bill <billlab51 (AT) hotmail (DOT) com>:
Quote:
Hi

Writing <a href=" " target="_new" ></a> in a "strict" dtd sheet leads to
an error. How can we specify to open the new page in a new window while in
strict dtd ?
How can you float upward while remaining on the ground?

It's the same answer - you can't, because you have expressed two
incompatible requirements. SO you must stop wanting one of them.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/200..._wont_help_you


Reply With Quote
  #5  
Old   
Stan Brown
 
Posts: n/a

Default Re: target in strict doctype - 12-16-2007 , 03:57 PM



Sun, 16 Dec 2007 14:14:16 -0500 from Bill <billlab51 (AT) hotmail (DOT) com>:
Quote:
Let's say that the new window is a reference to a law on an official
government site. That page might (and in fact are most often) be long to
load. If the visitor has to switch often between your site page and that
reference might not be a very good idea.
In which case users are perfectly capable of opening the link in a
new window (or, using a real browser, in a new tab).

You need to lose the idea that you know better than your visitors how
they should use their browsers. You *and* your visitors will be
happier.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/200..._wont_help_you


Reply With Quote
  #6  
Old   
GTalbot
 
Posts: n/a

Default Re: target in strict doctype - 12-16-2007 , 05:22 PM



On 16 déc, 14:14, "Bill" <billla... (AT) hotmail (DOT) com> wrote:
Quote:
Hi

Let's say that the new window is a reference to a law on an official
government site. That page might (and in fact are most often) be long to
load.

<a href="...url...">Law on official government site</a> [1234 KB]


There you go. If the visitor is on modem dialup, then he just has to
notice the file size. Let the user be in control. Empower the user and
don't interfere with his choice of opening that link
a) in a new tab if that is his choice
b) in a new window if that is his choice
c) in the same window if that is his choice
d) in a new tab in background if that is his choice
e) in a new window in background if that is his choice
f) with Ctrl+enter if that is his choice
g) with a mouse gesture
h) with middle-click, with Ctrl+click
i) etc.

I invite you to read carefully

Window.open: Usability issues at Mozilla Developer Center
http://developer.mozilla.org/en/docs...ability_issues


Quote:
If the visitor has to switch often between your site page and that
reference might not be a very good idea.

Thanks
Let him make that choice: he will adjust accordingly. Over-controlling
is simply bad. Inform the user about what you believe is worth for him
to know like filesize, type of content if, example given, it is a PDF
file or a music file or a video of some sort. This is what WCAG
recommends and also usability gurus like J. Nielsen, V. Flanders, etc.

Regards, Gérard

Quote:


Why do you want to inflict new windows on your visitors? See Point 2:


Reply With Quote
  #7  
Old   
GTalbot
 
Posts: n/a

Default Re: target in strict doctype - 12-16-2007 , 05:35 PM



On 16 déc, 16:42, "Bill" <billla... (AT) hotmail (DOT) com> wrote:
Quote:
government site. That page might (and in fact are most often) be long
to load. If the visitor has to switch often between your site page

Then place a marker next to the link that explains that it might be wise

A warning could be written in the "title" attribute of the "a" link if it
was allowed by strict dtd sparing hits on the server.
The title attribute is allowed in strict DTD. You can also use an icon
like one of the 12 that are in use on the web at

7.2.3 Always identify links which will create (or will re-use) a new,
secondary window
http://developer.mozilla.org/en/docs...ability_issues

Again, try to code your link so that the secondary window can be
reused if it happens and use code that offers, proposes a choice
without forcing it. There is an important difference here.

We're stuck with
Quote:
adding an "eye catching enough" marker set with the "alt" attribute
displaying the warning.
I don't understand you, I'm not following you. What's that "eye
catching enough" marker and what does it have to do with the alt
displaying a warning?

Quote:
Finally there's no real "economical" solution to
these situations if you want to combine ease of consultation for the brand
new Inet user and resource economy for the server.

You'd be amazed to see how many still don't know how to use a browser !

Maybe you gravely under-estimate your users...

Regards, Gérard


Reply With Quote
  #8  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: target in strict doctype - 12-16-2007 , 06:14 PM



Bill wrote:
Quote:
government site. That page might (and in fact are most often) be long
to load. If the visitor has to switch often between your site page
Then place a marker next to the link that explains that it might be wise

A warning could be written in the "title" attribute of the "a" link if it
was allowed by strict dtd sparing hits on the server. We're stuck with
adding an "eye catching enough" marker set with the "alt" attribute
displaying the warning.
The alt attribute? You only want it to be seen by IE users?

Finally there's no real "economical" solution to
Quote:
these situations if you want to combine ease of consultation for the brand
new Inet user and resource economy for the server.
I keep wondering why people these days devote so much concern to new
Internet users. Unlike ten years ago, it is now unlikely that more than
the smallest fraction of your users are just becoming acquainted with
their Web browser.

Quote:
You'd be amazed to see how many still don't know how to use a browser !
You'd be amazed how many people are tired of websites opening up new
windows for them all the time.


Reply With Quote
  #9  
Old   
rf
 
Posts: n/a

Default Re: target in strict doctype - 12-16-2007 , 06:23 PM




"Bill" <billlab51 (AT) hotmail (DOT) com> wrote


Quote:
You'd be amazed to see how many still don't know how to use a browser !
You would be amazed at what the young people can do with a browser these
days.

--
Richard.




Reply With Quote
  #10  
Old   
Andreas Prilop
 
Posts: n/a

Default Re: target in strict doctype - 12-17-2007 , 11:04 AM



On Sun, 16 Dec 2007, Bill wrote:

Quote:
How can we specify to open the new page in a new window while in
strict dtd ?
The web would be completely unusable if this were done
on *every* site.

Just don't open new windows (as an author).

--
In memoriam Alan J. Flavell
http://groups.google.com/groups/sear...Alan.J.Flavell


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.