Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Strict HTML: mimic target tag/favicon location?

1 view
Skip to first unread message

Moon

unread,
Oct 4, 2008, 6:32:48 AM10/4/08
to
Bergamot wrote in <6i534eF...@mid.individual.net>:

> If it's a new document, use HTML 4.01 Strict. That won't help IE6, but
> that's the way it goes. BTW, after changing the DOCTYPE, validate your
> code and clean up all the Transitional cruft.

Done!

http://moon.descentforum.net/creep/

with 2 issues though:

I liked the funtionality of target="_blank", so people that are unaware of
how to open a link in a new tab (of which I've seen a lot recently) get to
open certain pages that way. This can be useful on my pages like
'Callanwolde'. Click on it and then again on the map and you will get a
huge one that's covering the complete browser window.

Now when you do a right-click you'll get a context menu that has no back
button at the top of it cause you're hovering over an image. Thus you can't
go back as fast you could usually (except of course you know the keyboard
shortcuts which differ from browser to browser). IMO that's a flaw in
browser design: back and forward should be atop of any context menu.

Since they aren't I would like to have the option to open a link in a new
tab (to be closed with ALT+W in all browsers) but apparently it's no longer
supported in strict HTML, is it? So can I mimic it?

Secondly, since I've read conflicting statetments: does the favicon.ico
still have to be placed in the root dir or can it be put into an image
folder with a relative reference? TIA!

Harlan Messinger

unread,
Oct 4, 2008, 9:45:55 AM10/4/08
to
Moon wrote:
> Bergamot wrote in <6i534eF...@mid.individual.net>:
>
>> If it's a new document, use HTML 4.01 Strict. That won't help IE6, but
>> that's the way it goes. BTW, after changing the DOCTYPE, validate your
>> code and clean up all the Transitional cruft.
>
> Done!
>
> http://moon.descentforum.net/creep/
>
> with 2 issues though:
>
> I liked the funtionality of target="_blank", so people that are unaware of
> how to open a link in a new tab (of which I've seen a lot recently) get to
> open certain pages that way. This can be useful on my pages like
> 'Callanwolde'. Click on it and then again on the map and you will get a
> huge one that's covering the complete browser window.
>
> Now when you do a right-click you'll get a context menu that has no back
> button at the top of it cause you're hovering over an image. Thus you can't
> go back as fast you could usually (except of course you know the keyboard
> shortcuts which differ from browser to browser). IMO that's a flaw in
> browser design: back and forward should be atop of any context menu.

That's debatable. A *context* menu lists commands that are meaningful in
the *context* of the item that's been clicked or selected. The browser
continues to have a Back button and such features as View Source are
still available from the menu. I acknowledge the possible usefulness of
having the page-related links anyway, but in Firefox the image context
menu already has at least eight commands, and the menu for a hyperlinked
image has 14, so one could argue that the menu is already as long as it
can be while remaining practical.

>
> Since they aren't I would like to have the option to open a link in a new
> tab (to be closed with ALT+W in all browsers) but apparently it's no longer
> supported in strict HTML, is it? So can I mimic it?

There is no way *at all* to specify in HTML that a document will open in
a new tab as opposed to the current tab or a new window. When a
straightforward click results in a new tab, it's because the user has
configured his browser to treat requests for a new window that way.

What is Alt-W? In Windows, the standard key combination for closing a
document window within an application has always been Ctrl-F4.

> Secondly, since I've read conflicting statetments: does the favicon.ico
> still have to be placed in the root dir or can it be put into an image
> folder with a relative reference? TIA!

For a browser that looks for http://www.example.com/favicon.ico, the
icon has to be located at http://www.example.com/favicon.ico. If you're
using a meta tag to indicate the location of the icon, then it has
always been fine to have it located anywhere with a URL, but then
browsers that use http://www.example.com/favicon.ico won't find it. I
don't know for what browsers and versions that's a concern.

rf

unread,
Oct 4, 2008, 10:07:09 AM10/4/08
to

"Moon" <Mo...@Uni-Duisburg.de> wrote in message
news:1mtpt1oh5wsv9.epbkplspt45k$.dlg@40tude.net...
> Bergamot wrote in <6i534eF...@mid.individual.net>:

>
>
> I liked the funtionality of target="_blank",

You might. I don't. Do your viewers? Have you conducted a poll amongst them?

> so people that are unaware of
> how to open a link in a new tab (of which I've seen a lot recently)

Where have you seen this? Citation required. Most people use their browser
the way *they* want to, not the way *you* want them to.

And how do *you* know that *they* will *always* wish the page opened in a
new window, or tab (which is impossible for you to specify)?

By specifying a target you effectively restrict the viewers choice. You
*force* them to open an new window. This is why target is deprecated. Leave
such things up to your viewer.

As to your huge image, there is a very usable BACK button right up there in
my toolbar, not that I ever use it, I use the back button on my mouse. I
never ever use that context menu back option, in fact I had to start a
browser just to verify that such a thing existed.


Stan Brown

unread,
Oct 4, 2008, 1:38:42 PM10/4/08
to
Sat, 4 Oct 2008 12:32:48 +0200 from Moon <Mo...@Uni-Duisburg.de>:

> I liked the funtionality of target="_blank", so people that are unaware of
> how to open a link in a new tab (of which I've seen a lot recently) get to
> open certain pages that way.

You mean, "are FORCED to, even though if they wanted to do it that
way they'd know how".

--
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/2003/05/05/why_we_wont_help_you

Bergamot

unread,
Oct 4, 2008, 2:54:03 PM10/4/08
to

Harlan Messinger wrote:
>
> What is Alt-W? In Windows, the standard key combination for closing a
> document window within an application has always been Ctrl-F4.

For closing a single tab in a multi-tab window Ctrl+W does the trick,
too, at least for most apps. That's probably what the OP meant. I've
always used that instead of Ctrl+F4.

--
Berg

Harlan Messinger

unread,
Oct 4, 2008, 4:56:32 PM10/4/08
to
Huh. Never knew that. Thanks.

dorayme

unread,
Oct 4, 2008, 5:20:25 PM10/4/08
to
In article <hMKFk.2967$sc2....@news-server.bigpond.net.au>,
"rf" <r...@invalid.com> wrote:

> > so people that are unaware of
> > how to open a link in a new tab (of which I've seen a lot recently)
>
> Where have you seen this? Citation required.

On this, no citation is required. What is a required is a little bet. We
round up some punters (say on the corner of Broadway and City Rd) and
see if they have the slightest clue on your laptop (I haven't got such a
prissy thing).

Then you nick into the nearby Landsdown Hotel and you contemplate your
losses, for hours on end...

> And how do *you* know that *they* will *always* wish the page opened in a
> new window, or tab (which is impossible for you to specify)?

Ah... on this you are right. <g>

--
dorayme

dorayme

unread,
Oct 4, 2008, 5:22:55 PM10/4/08
to
In article <6kq3kjF...@mid.individual.net>,
Harlan Messinger <hmessinger...@comcast.net> wrote:

On a Mac, it is the general command to close any window at all, which
makes it easy to remember and intuitively do, Command W.

--
dorayme

Moon

unread,
Oct 5, 2008, 5:29:35 AM10/5/08
to
Harlan Messinger schrieb:

> I don't know for what browsers and versions that's a concern.

That's my point, I am using meta tags and I would like to reference the
favicon there with only a relative link to my image directory instead of
having the domain name in it. So I guess, I have to do it like this and try
on current browsers to find out myself?!

Moon

unread,
Oct 5, 2008, 5:29:35 AM10/5/08
to
rf schrieb:

> As to your huge image, there is a very usable BACK button right up there in
> my toolbar, not that I ever use it, I use the back button on my mouse.

Which kinda back button do *you* have on *your* mouse?

John Hosking

unread,
Oct 5, 2008, 6:04:27 AM10/5/08
to

Not all mice have just two or three buttons. One that I use at work has
five: left and right on top, with a clickable scroll wheel in between,
plus two more on the sides. By default, the side buttons act as the back
(left) and forward (right) "buttons" on the browser.

--
John
Of course, I'm not rf...

Guy Macon

unread,
Oct 5, 2008, 6:12:50 AM10/5/08
to


Moon wrote:

>That's my point, I am using meta tags and I would like to reference the
>favicon there with only a relative link to my image directory instead of
>having the domain name in it. So I guess, I have to do it like this and try
>on current browsers to find out myself?!

Go ahead an reference the favicon in your meta tags with a relative
link to your image directory. Then, to accomodate any browsers that
simply look in the root, put a copy of your favicon there as well
with nothing in your meta tags referencing it. That should handle
all cases.


--
Guy Macon
<http://www.GuyMacon.com/>

Sherm Pendley

unread,
Oct 5, 2008, 6:20:34 AM10/5/08
to
Moon <Mo...@Uni-Duisburg.de> writes:

I haven't checked other browsers, but FireFox on my Mac binds Ctrl-wheel
to text resizing, and Alt-wheel to history navigation.

sherm--

--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net

dorayme

unread,
Oct 5, 2008, 8:13:07 AM10/5/08
to
In article <48e891c2$1...@news.bluewin.ch>,
John Hosking <Jo...@DELETE.Hosking.name.INVALID> wrote:

I am designing a mouse with about 100 buttons at the moment, it needs a
bit more work and investment (if anyone wants to invest, please send
$Chinese (not US at the moment). It looks a bit crude, I stuck a wheel
on the corner of a spare extended Mac keyboard I have here and ... OK,
it is a bit awkward to use but I am sure that with training it would be
fine... bottom line: it can do *a lot* more things than your average
multi button mouse...

Please, no frivolous enquiries, serious investors only...

--
dorayme

Adrienne Boswell

unread,
Oct 5, 2008, 10:27:30 AM10/5/08
to
Gazing into my crystal ball I observed Moon <Mo...@Uni-Duisburg.de>
writing in news:7jvkbc9ur9l9$.bmfm4fo5...@40tude.net:

I have mouse gestures in both Opera and Firefox.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Stan Brown

unread,
Oct 5, 2008, 10:28:53 AM10/5/08
to
Sun, 5 Oct 2008 11:29:35 +0200 from Moon <Mo...@Uni-Duisburg.de>:

> That's my point, I am using meta tags and I would like to reference the
> favicon there with only a relative link to my image directory instead of
> having the domain name in it.

You do this exactly the same way you would make any relative link.

For an example, see the eighth line of
http://www.tc3.edu/instruct/sbrown/stat5008c/

Moon

unread,
Oct 5, 2008, 10:29:10 AM10/5/08
to
Sherm Pendley schrieb:

> I haven't checked other browsers, but FireFox on my Mac binds Ctrl-wheel
> to text resizing, and Alt-wheel to history navigation.

Thanks, but FF3 on Win does the same only with CTRL-wheel, ALT-wheel has no
effect.

Moon

unread,
Oct 5, 2008, 10:29:10 AM10/5/08
to
Guy Macon schrieb:

> Go ahead an reference the favicon in your meta tags with a relative
> link to your image directory. Then, to accomodate any browsers that
> simply look in the root, put a copy of your favicon there as well
> with nothing in your meta tags referencing it. That should handle
> all cases.

Of course that covers all possibilites, I just wanted to know if current
browsers had adjusted to a more standard behaviour. After all, relative
paths rule ;)

John Hosking

unread,
Oct 5, 2008, 11:05:04 AM10/5/08
to
dorayme wrote:
>
> I am designing a mouse with about 100 buttons at the moment, it needs a
> bit more work and investment (if anyone wants to invest, please send
> $Chinese (not US at the moment). It looks a bit crude, I stuck a wheel
> on the corner of a spare extended Mac keyboard I have here and ... OK,
> it is a bit awkward to use but I am sure that with training it would be
> fine... bottom line: it can do *a lot* more things than your average
> multi button mouse...

But have you got anything designed for *Earthlings*?

>
> Please, no frivolous enquiries, serious investors only...
>

Believe me, the current state of all my investments *is* serious.

--
John
I make it sound as though I have a lot of investments.
Well, I /did/...

Bergamot

unread,
Oct 5, 2008, 11:26:58 AM10/5/08
to

Moon wrote:
>
> Which kinda back button do *you* have on *your* mouse?

I don't use a mouse, at least not for any 'back' operations.

ALT+left arrow

--
Berg

Mark A. Boyd

unread,
Oct 5, 2008, 1:12:14 PM10/5/08
to
dorayme posted in comp.infosystems.www.authoring.html:

> I am designing a mouse with about 100 buttons at the moment, it
> needs a bit more work and investment (if anyone wants to invest,
> please send $Chinese (not US at the moment). It looks a bit crude,
> I stuck a wheel on the corner of a spare extended Mac keyboard I
> have here and ... OK, it is a bit awkward to use but I am sure
> that with training it would be fine... bottom line: it can do *a
> lot* more things than your average multi button mouse...
>
> Please, no frivolous enquiries, serious investors only...

You missed the boat. Logitech has had such a beast for years, though
they call it a keyboard. It has mouse buttons, mouse wheel, browser
control buttons, multimedia controls, etc. It even has a "Shopping"
button that I'm a bit afraid to try - will it teleport me to some
brick-n-mortar store in an unspecified galaxy?

If you can come up with something that washes windows, I might be
interested ;)


--
Mark A. Boyd
Keep-On-Learnin' :)

Guy Macon

unread,
Oct 5, 2008, 1:44:56 PM10/5/08
to


Moon wrote:
>
>Guy Macon <http://www.GuyMacon.com/> schrieb:


>
>> Go ahead an reference the favicon in your meta tags with a relative

>> link to your image directory. Then, to accommodate any browsers that


>> simply look in the root, put a copy of your favicon there as well
>> with nothing in your meta tags referencing it. That should handle
>> all cases.
>

>Of course that covers all possibilities, I just wanted to know if

>current browsers had adjusted to a more standard behaviour. After
>all, relative paths rule ;)

It isn't a question of relative vs. full URL paths in your meta tags.
It is a question of following the paths (relative or full URL) in
your meta tags vs. not reading the meta tags at all and just looking
for the favicon in the root.

The standard behaviour is defined here:
[ http://www.w3.org/2005/10/howto-favicon ]
(The examples have full URLs but of course relative URLs
are fine as well.)

Alas, the status of that Document is "Draft in development;
may change radically at any time."

Favicons are small, and it is likely that you already have a
robots.txt file in the root, so one more file isn't that
difficult to deal with. My recommendation is to use both of
the methods described in [ http://www.w3.org/2005/10/howto-favicon ].
Or, to put it another way, go ahead an reference the favicon in

your meta tags with a relative link to your image directory.

Then, to accommodate any browsers that simply look in the root,

put a copy of your favicon there as well with nothing in your
meta tags referencing it.


For those of us who are standards geeks, here are some references:
http://www.w3.org/2001/tag/issues.html#siteData-36
http://lists.w3.org/Archives/Public/www-tag/2003Feb/0093
http://www.w3.org/2003/02/24-tag-summary (Go to section 2.1)
http://www.w3.org/2005/02/22-tagmem-minutes#item11
http://www.w3.org/2001/tag/2005/12/13-tagmem-minutes#item08
http://www.w3.org/2006/05/02-tagmem-minutes#item02
http://www.w3.org/2007/01/09-tagmem-minutes#item05
http://lists.w3.org/Archives/Public/www-tag/2003Feb/0297.html
http://lists.w3.org/Archives/Public/www-tag/2006Apr/0041.html
http://lists.w3.org/Archives/Public/www-tag/2006Nov/0106.html
http://lists.w3.org/Archives/Public/public-webapi/2006Apr/0245.html (Go to "Known locations don't work")
http://lists.w3.org/Archives/Public/public-webapi/2006Apr/0246.html
http://www.sitemaps.org/
http://www.w3.org/2005/10/howto-favicon


--
Guy Macon <http://www.GuyMacon.com/> Guy Macon <http://www.GuyMacon.com/>
Guy Macon <http://www.GuyMacon.com/> Guy Macon <http://www.GuyMacon.com/>
Guy Macon <http://www.GuyMacon.com/> Guy Macon <http://www.GuyMacon.com/>
Guy Macon <http://www.GuyMacon.com/> Guy Macon <http://www.GuyMacon.com/>


dorayme

unread,
Oct 5, 2008, 4:35:16 PM10/5/08
to
In article <Xns9B2E67CCC4AAEm...@194.177.96.26>,

Yeah ok, I hear you. So, this morning I stuck a hose connection on...
Now will you invest?

--
dorayme

Moon

unread,
Oct 5, 2008, 5:26:36 PM10/5/08
to
Bergamot schrieb:

> I don't use a mouse, at least not for any 'back' operations.
>
> ALT+left arrow

Nice one, but like to keep my right hand on the mouse so some keys on the
left part of the keyboard would be better for me.

Michael Fesser

unread,
Oct 5, 2008, 5:32:12 PM10/5/08
to
.oO(Moon)

In Opera: mouse gesture or right-left-click.

Micha

Mark A. Boyd

unread,
Oct 6, 2008, 1:29:43 PM10/6/08
to
dorayme posted in comp.infosystems.www.authoring.html:

Check's in the mail!

0 new messages