From: Marc-Etienne V. <Mar...@al...> - 2010-09-22 13:59:59
|
Le 21/09/2010 16:18, Reini Urban a écrit : > 2010/9/21 Marc-Etienne Vargenau<Mar...@al...>: >> Le 21/09/2010 09:08, ru...@us... 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, Mar...@al... |