[pmwiki-users] 'title' attribute of an HTML link

Jean DEMARTINI jean.d.demartini at wanadoo.fr
Wed Jan 11 10:31:40 CST 2006


Patrick,

Well, it is as I was suspecting. The problem is deeper than it can seem 
at a first glance. I can be patient and use my 'dirty' method for a 
while. The problem is not blocking as the need is essentially located in 
the navigation side bar which will be easy to revampe.

JDem

Patrick R. Michaud a écrit :

>On Wed, Jan 11, 2006 at 05:05:57PM +0100, Jean DEMARTINI wrote:
>  
>
>>Patrick,
>>
>>I aggree with the fact that to introduce an attribute to define a title 
>>attribute is not a very elegant method and I'm ready to abandonned it.
>>
>>I'have tried the method you propose. It functions quite properly with 
>>external links. Then OK.
>>
>>But, I encountered a problem with internal links. Naively, I'have tried 
>>the following code:
>>
>>$LinkPageSelfFmt = "<a class='selflink' href='\$LinkUrl' 
>>title='\$LinkAlt'>\$LinkText</a>";
>>$LinkPageExistsFmt = "<a class='wikilink' href='\$LinkUrl' 
>>title='\$LinkAlt'>\$LinkText</a>";
>>
>>It does not function because $LinkAlt is not replaced by its value and 
>>we see the string '\$LinkAlt' in the bubble. Things are not so simple. 
>>Sight.
>>    
>>
>
>Yes, at the moment PmWiki doesn't recognize the title= attribute
>for internal page links, only for external links.  I'll have to
>think about that one a bit, the "..." syntax won't work very well
>for page links.
>
>Pm
>  
>






More information about the pmwiki-users mailing list