Connecting Tech Pros Worldwide Help | Site Map

Strict HTML: mimic target tag/favicon location?

Moon
Guest
 
Posts: n/a
#1: Oct 4 '08
Bergamot wrote in <6i534eFolqk5U1@mid.individual.net>:
Quote:
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
Guest
 
Posts: n/a
#2: Oct 4 '08

re: Strict HTML: mimic target tag/favicon location?


Moon wrote:
Quote:
Bergamot wrote in <6i534eFolqk5U1@mid.individual.net>:
>
Quote:
>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.
Quote:
>
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.
Quote:
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
Guest
 
Posts: n/a
#3: Oct 4 '08

re: Strict HTML: mimic target tag/favicon location?



"Moon" <Moon@Uni-Duisburg.dewrote in message
news:1mtpt1oh5wsv9.epbkplspt45k$.dlg@40tude.net...
Quote:
Bergamot wrote in <6i534eFolqk5U1@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?
Quote:
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
Guest
 
Posts: n/a
#4: Oct 4 '08

re: Strict HTML: mimic target tag/favicon location?


Sat, 4 Oct 2008 12:32:48 +0200 from Moon <Moon@Uni-Duisburg.de>:
Quote:
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/200..._wont_help_you
Bergamot
Guest
 
Posts: n/a
#5: Oct 4 '08

re: Strict HTML: mimic target tag/favicon location?



Harlan Messinger wrote:
Quote:
>
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
Guest
 
Posts: n/a
#6: Oct 4 '08

re: Strict HTML: mimic target tag/favicon location?


Bergamot wrote:
Quote:
Harlan Messinger wrote:
Quote:
>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.
>
Huh. Never knew that. Thanks.
dorayme
Guest
 
Posts: n/a
#7: Oct 4 '08

re: Strict HTML: mimic target tag/favicon location?


In article <hMKFk.2967$sc2.1570@news-server.bigpond.net.au>,
"rf" <rf@invalid.comwrote:
Quote:
Quote:
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...
Quote:
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
Guest
 
Posts: n/a
#8: Oct 4 '08

re: Strict HTML: mimic target tag/favicon location?


In article <6kq3kjF98c5cU1@mid.individual.net>,
Harlan Messinger <hmessinger.removethis@comcast.netwrote:
Quote:
Bergamot wrote:
Quote:
Harlan Messinger wrote:
Quote:
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.
Huh. Never knew that. Thanks.
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
Guest
 
Posts: n/a
#9: Oct 5 '08

re: Strict HTML: mimic target tag/favicon location?


Harlan Messinger schrieb:
Quote:
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
Guest
 
Posts: n/a
#10: Oct 5 '08

re: Strict HTML: mimic target tag/favicon location?


rf schrieb:
Quote:
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
Guest
 
Posts: n/a
#11: Oct 5 '08

re: Strict HTML: mimic target tag/favicon location?


Moon wrote:
Quote:
rf schrieb:
>
Quote:
>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?
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
Guest
 
Posts: n/a
#12: Oct 5 '08

re: Strict HTML: mimic target tag/favicon location?





Moon wrote:
Quote:
>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
Guest
 
Posts: n/a
#13: Oct 5 '08

re: Strict HTML: mimic target tag/favicon location?


Moon <Moon@Uni-Duisburg.dewrites:
Quote:
rf schrieb:
>
Quote:
>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?
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
Adrienne Boswell
Guest
 
Posts: n/a
#14: Oct 5 '08

re: Strict HTML: mimic target tag/favicon location?


Gazing into my crystal ball I observed Moon <Moon@Uni-Duisburg.de>
writing in news:7jvkbc9ur9l9$.bmfm4fo5ki64.dlg@40tude.net:
Quote:
rf schrieb:
>
Quote:
>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?
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
Guest
 
Posts: n/a
#15: Oct 5 '08

re: Strict HTML: mimic target tag/favicon location?


Sun, 5 Oct 2008 11:29:35 +0200 from Moon <Moon@Uni-Duisburg.de>:
Quote:
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/

--
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
Moon
Guest
 
Posts: n/a
#16: Oct 5 '08

re: Strict HTML: mimic target tag/favicon location?


Guy Macon schrieb:
Quote:
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 ;)
Moon
Guest
 
Posts: n/a
#17: Oct 5 '08

re: Strict HTML: mimic target tag/favicon location?


Sherm Pendley schrieb:
Quote:
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.
Bergamot
Guest
 
Posts: n/a
#18: Oct 5 '08

re: Strict HTML: mimic target tag/favicon location?



Moon wrote:
Quote:
>
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
Moon
Guest
 
Posts: n/a
#19: Oct 5 '08

re: Strict HTML: mimic target tag/favicon location?


Bergamot schrieb:
Quote:
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
Guest
 
Posts: n/a
#20: Oct 5 '08

re: Strict HTML: mimic target tag/favicon location?


..oO(Moon)
Quote:
>Bergamot schrieb:
>
Quote:
>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.
In Opera: mouse gesture or right-left-click.

Micha
Closed Thread


Similar HTML / CSS bytes