Hans schrieb:
> Saturday, June 28, 2008, 3:02:48 PM, noskule wrote:
>
>
>> ah other way around, tooltips for *images* don't work anymore.
>>
>
> try this markup instead, I replaced one \\s* with \\s+
>
> Markup('[[|tt','<[[|',
>
> "/(?>\\[\\[([^|\\]]*)\\|\\s*)(.*?)\\s+(\"(.*?)\")?\\s*\\]\\]($SuffixPattern)/e",
> "Keep(ToolTipLink(\$pagename,PSS('$1'),PSS('$2'),PSS('$4'),'$5'),'L')");
>
> The only diffference is that you need a space between link text and
> "tooltip":
> [[Link| text "tooltip"]]
> and for the image tooltip you use no space: image.jpg"tooltip"
>
>
> ~Hans
>
>
hm, but wouldn't it be possible to use the same syntax for both cases.
What's the reason for this?
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users