X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=web%2Fhtdocs%2Fhelp.html;h=c2113560e4ea76b2cf48136d960779ee0fb2520c;hp=d0ea5964a8fabb353e45b6557b607b4120c06503;hb=df8043ca3393100e8dd8ab2758ffe551b53577a8;hpb=bbed7ec5c016672bc05c00df0066e96fa7db5fd9 diff --git a/web/htdocs/help.html b/web/htdocs/help.html index d0ea596..c211356 100644 --- a/web/htdocs/help.html +++ b/web/htdocs/help.html @@ -1,27 +1,75 @@ -%# $Id: help.html,v 1.1 2006-12-01 16:51:32 mike Exp $ +%# $Id: help.html,v 1.5 2006-12-06 14:07:17 mike Exp $ <%args> $help +<%doc> +For some totally irrational, retarded and undocumented reason, the +element in XHTML 1.0 Strict does not have the "target" element, so +instead I have to use XHTML 1.0 Transitional. Well, great. If you +enjoy reading TOTALLY unhelpful answers, try + http://www.w3.org/MarkUp/2004/xhtml-faq#target +which says: + + Why was the target attribute removed from XHTML 1.1? + + It wasn't. XHTML 1.0 comes in three versions: strict, + transitional, and frameset. All three of these were + deliberately kept as close as possible to HTML 4.01 as + XML would allow. XHTML 1.1 is an updated version of + XHTML 1.0 strict, and no version of HTML strict has + ever included the target attribute. The other two + versions, transitional and frameset, were not updated, + because there was nothing to update. If you want to + use the target attribute, use XHTML 1.0 transitional. + +And, yes, this is the ONLY mention of "target" in the W3C's FAQ. + +If you want slightly more information, a thread at + http://www.thescripts.com/forum/thread96361.html +asks and answers the question: + + If this attribute is indeed deprecated, which seems to + be the case, is there an alternative to + target="_blank" to open hyperlinks in a new/blank + window? + + Not that I know of, other than using javascript. + +Nice one, W3C! Way to improve cross-browser portability! + + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> IRSpy help: <% $help %>

IRSpy help: <% $help %>

-% $m->comp("/help/$help.html"); +<%perl> +my @path = split /\//, $help; +foreach my $i (0 .. $#path) { + my $partialPath = join("/", @path[0..$#path-$i]); + eval { $m->comp("/help/$partialPath.html") }; + print "

[No help for '$partialPath']

\n" if $@; +} + +

+ +