[pmwiki-users] 'title' attribute of an HTML link
jean.d.demartini at wanadoo.fr
Mon Jan 30 04:41:49 CST 2006
Patrick R. Michaud a écrit :
> On Wed, Jan 11, 2006 at 05:05:57PM +0100, Jean DEMARTINI wrote:
>> 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'
>> $LinkPageExistsFmt = "<a class='wikilink' href='\$LinkUrl'
>> 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.
> 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.
Is it a problem to transform an internal link into an external link:
to write [[http://....../wiki/pmwiki.php/Main/blahblah | xxxxx]]
instead of [[Main.blahblah | xxxxx]]
More information about the pmwiki-users