[thelist] XHTML 1.0 Strict -no target attribute allowed?

Vlad Alexander (XStandard) vlad.alexander at xstandard.com
Sat Oct 23 06:44:00 CDT 2004


Hi Courtenay,

> On a slightly different note, what about for people with no
> javascript, but with frames?

There are no frames in XHTML 1.0 Strict.

Regards,
-Vlad
http://xstandard.com
Standards-compliant XHTML (Strict / 1.1) WYSIWYG editor


----- Original Message ----- 
From: "Courtenay" <court3nay at gmail.com>
To: <thelist at lists.evolt.org>
Sent: Friday, October 22, 2004 10:46 PM
Subject: Re: [thelist] XHTML 1.0 Strict -no target attribute allowed?


> >   <a onclick="window.open(this.href); return false;"
onkeypress="window.open(this.href); return false;" href="abc">text</a>
>
> also if you're concerned about strict, you're probably wanting to
> separate presentation from content, so some javascript in the head
> section is required (in a function that is body.onloaded)
>
> var hrefs = document.getElementsByTagName('A');
> for (i in hrefs)
> {
>   if (href[i].className == 'pop_me')
>      href[i].onclick = function() { window.open(this.href); return
false; }
> }
>
> then in the link
>
> <a href='abc.htm' class='pop_me'>text</a>
>
> then any link with class pop_me will load in a new window, and your
> code will look pretty. you'll also save yourself some bandwidth by not
> repeating the onclick.
>
>
>
> On a slightly different note, what about for people with no
> javascript, but with frames?
> -- 
>
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>




More information about the thelist mailing list