The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> target="_blank" in standard mode?
jimlongo
post Oct 2 2006, 11:09 AM
Post #1


This is My Life
*******

Group: Members
Posts: 1,128
Joined: 24-August 06
From: t-dot
Member No.: 16



What do you use instead of this old behavior in standard mode? wub.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 2 2006, 11:20 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Nothing. Or if you must, JavaScript. wub.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Oct 2 2006, 11:24 AM
Post #3


.
********

Group: WDG Moderators
Posts: 9,653
Joined: 10-August 06
Member No.: 7



QUOTE(jimlongo @ Oct 2 2006, 06:09 PM) *

What do you use instead of this old behavior in standard mode? wub.gif


Assuming you mean "with a strict doctype", you must use javascript. You can also use a transitional doctype, probably the only solution with frames.

Note that this has nothing to do with "standards mode". You can use the following transitional doctype to trig "standards mode" in most browsers except Konqueror:

CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


See also http://hsivonen.iki.fi/doctype/
User is online!PM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jimlongo
post Oct 2 2006, 11:38 AM
Post #4


This is My Life
*******

Group: Members
Posts: 1,128
Joined: 24-August 06
From: t-dot
Member No.: 16



QUOTE(Christian J @ Oct 2 2006, 12:24 PM) *

Note that this has nothing to do with "standards mode". You can use the following transitional doctype to trig "standards mode" in most browsers except Konqueror:
CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

See also http://hsivonen.iki.fi/doctype/


According to my reading of the table in this document that DOCTYPE triggers Almost Standard mode in most browsers.

So tell me again why I'd want to use a Strict Doctype? wacko.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 2 2006, 11:55 AM
Post #5


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Because with Strict you get rid of old junk and also all the new junk that HTML 4 added. What's left is pure structural HTML (well, almost). Barebones HTML, if you wish. The rest is for CSS. It makes for much neater and more readable code for one. wub.gif

Strict is what HTML should have been all along, or at least the closest to that ideal that we have.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Oct 2 2006, 12:03 PM
Post #6


.
********

Group: WDG Moderators
Posts: 9,653
Joined: 10-August 06
Member No.: 7



QUOTE(jimlongo @ Oct 2 2006, 06:38 PM) *

According to my reading of the table in this document that DOCTYPE triggers Almost Standard mode in most browsers.

So tell me again why I'd want to use a Strict Doctype? wacko.gif


You don't have to, as long as your layout doesn't break in some browser's full std mode (assuming some future browser would use full std despite the Transitional DTD). Or you could get rid of the TARGET attribute...
User is online!PM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jimlongo
post Oct 2 2006, 12:08 PM
Post #7


This is My Life
*******

Group: Members
Posts: 1,128
Joined: 24-August 06
From: t-dot
Member No.: 16



QUOTE(Christian J @ Oct 2 2006, 01:03 PM) *

QUOTE(jimlongo @ Oct 2 2006, 06:38 PM) *

So tell me again why I'd want to use a Strict Doctype? wacko.gif

You don't have to

But I respect your opinions so I Want To

anyway . . . one page at a time.

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Oct 2 2006, 12:13 PM
Post #8


.
********

Group: WDG Moderators
Posts: 9,653
Joined: 10-August 06
Member No.: 7



QUOTE(jimlongo @ Oct 2 2006, 07:08 PM) *

But I respect your opinions so I Want To


Then get rid of TARGET. tongue.gif

BTW, don't respect anyone's opinion. People have been known to be wrong...
User is online!PM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 06:57 PM