WAAnchorTag>>newTarget / WAAnchorTag>>target:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

WAAnchorTag>>newTarget / WAAnchorTag>>target:

John Thornborrow
Hello all,

Given these messages are considered deprecated, what is everyone using
in their place?

Thanks,
John.

www.pinesoft.co.uk


Pinesoft Computers are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA



This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: WAAnchorTag>>newTarget / WAAnchorTag>>target:

Philippe Marschall
2007/7/20, John Thornborrow <[hidden email]>:
> Hello all,
>
> Given these messages are considered deprecated, what is everyone using
> in their place?

They were deprecated because they are deprecated in HTML which means
you are not allowed to use them in strict mode. There is no
replacement. The W3C standpoint no this to let the user decide where
to open a link.

Philippe

> Thanks,
> John.
>
> www.pinesoft.co.uk
>
>
> Pinesoft Computers are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA
>
>
>
> This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com
>
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: WAAnchorTag>>newTarget / WAAnchorTag>>target:

Michel Bany

On 20 Jul 2007, at 17:14 , Philippe Marschall wrote:

> 2007/7/20, John Thornborrow <[hidden email]>:
>> Hello all,
>>
>> Given these messages are considered deprecated, what is everyone  
>> using
>> in their place?
>
> They were deprecated because they are deprecated in HTML which means
> you are not allowed to use them in strict mode. There is no
> replacement. The W3C standpoint no this to let the user decide where
> to open a link.
>

See http://www.sitepoint.com/article/standards-compliant-world

They recommend the following for achieving newTarget while remaining  
strict:

        html anchor
                        url:  ... ;
                        relationship: 'external';
                        with:  ... .
        html script: 'externalLinks()'.

All the necessary javascript for supporting the above is available since
Seaside2.7a1-mb.142.

Enjoy,
Michel.


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside