|
Posted by dorayme on 10/01/06 02:52
In article
<1159668686.119524.113510@m7g2000cwm.googlegroups.com>,
petermichaux@gmail.com wrote:
> dorayme wrote:
> >
> > Best to post the url for this as email and ng postings can pay
> > tricks on url presentations
>
> I'm not sure what you mean.
Just that you should try to put up your efforts on a server so we
can see what you are doing, you give us an address of where to
look.
> > >
> > > <a href="http://www.7Search.com/" target="new">7Search.com</a>
> > >
> >
> > Not heard of "new" as a value here? Don't use strict if you need
> > target. You using frames?
>
> I'm not using frames. The target is for a new window that may already
> be open. For example, if I have the following in a page then the first
> click opens a new window. More clicks change that same new window.
>
> <p><a href="http://www.google.com" target="foo">google.com</a></p>
> <p><a href="http://www.yahoo.com" target="foo">yahoo.com</a></p>
>
> How to convert this kind of behavior to strict doctype?
Where did you get the idea to use the word "new"? I may be
missing something.
If you want a link to open in a new window, you can use the
construction <a href="destination.html" target="_blank">
You can use this in docs with
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
They will not validate. This is not the end of the world. You can
still do it. Many browsers will not blink and it will work as you
want.
Your other choice is to use a transitional doc type.
The other thing you can do, and this is generally the best thing
to do: review your wanting to control the windows of website
user. Now that there is tabbed browsing and greater familiarity
with browsers, it is often best to simply leave all this stuff to
the user. This is another reason a URL is desirable. So your
business can be seen completely and we can poke our noses in and
say what is what and how things should or should not be. :-)
--
dorayme
Navigation:
[Reply to this message]
|