Re: [phpwiki-checkins] SF.net SVN: phpwiki:[7704] trunk/lib/plugin/CreateToc.php

Marc-Etienne Vargenau <[email protected]> Wed, 22 Sep 2010 15:59:48 +0200
Newsgroups gmane.comp.web.wiki.phpwiki.talk
Message-ID <[email protected]>
Le 21/09/2010 16:18, Reini Urban a écrit :
> 2010/9/21 Marc-Etienne Vargenau<[email protected]>:
>> Le 21/09/2010 09:08, [email protected] a écrit :
>>> Revision: 7704
>>>             http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7704&view=rev
>>> Author:   rurban
>>> Date:     2010-09-21 07:08:56 +0000 (Tue, 21 Sep 2010)
>>>
>>> Log Message:
>>> -----------
>>> revert 7551-7553. we use named anchors to jump to, not internal ids
>>>
>>> Modified Paths:
>>> --------------
>>>       trunk/lib/plugin/CreateToc.php
>>>
>>> Modified: trunk/lib/plugin/CreateToc.php
>>
>> Hello Reini,
>>
>> I do not really agree with this one.
>> Both ids and names can be used for anchors, and name is
>> deprecated for<a>. It no longer exists in XHTML 1.1 and HTML 5.
>
> hmm, so if we are in quirks mode we should use name to be able to jump
> to #anchor,
> and if strict xhtml (ENABLE_XHTML_XML) we should use id, right?

I think using "name" should work in all cases, except in very
old browsers (NS4). It works in IE6.

Regards,

Marc-Etienne

-- 
Marc-Etienne Vargenau
Alcatel-Lucent France, Route de Villejust, 91620 NOZAY, FRANCE
+33 (0)1 30 77 28 33, [email protected]

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev