[pmwiki-users] text and image as link content in same [[ ]]

11 views
Skip to first unread message

a.sond...@gassi-tv.de

unread,
Mar 11, 2012, 8:44:00 AM3/11/12
to pmwiki...@pmichaud.com
Hi

I am trying to put some text and an image in the same link markup:
[[ linktarget | some text goes here http://host/image.ext ]]

This is necessary in order to trigger the hover state of the text when the mouse cursor moves over the image. This also why I cannot use separate link markups, e. g. text in another link wikimarkup than the image.

Can this be achieved using readily available pmwiki markup or do I have do define a custom markup for that in config.php?

Thanks
Josh


--
GASSI TV® brand & marketing

office +49 2238 4629519
mobile +49 1511 5794189
fax +49 2238 963023
email <a.sond...@gassi-tv.de>
web <http://gassi-tv.de>

moving pixies GmbH
Aurikelweg 22
DE-50259 Pulheim
Geschäftsführer: Daniel Sonderhoff
Amtsgericht Köln, HRB 74273


Save the world — Don't print this e-mail!


_______________________________________________
pmwiki-users mailing list
pmwiki...@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Petko Yotov

unread,
Mar 18, 2012, 9:39:38 AM3/18/12
to pmwiki...@pmichaud.com
a.sond...@gassi-tv.de writes:
> I am trying to put some text and an image in the same link markup:
> [[ linktarget | some text goes here http://host/image.ext ]]
>
> Can this be achieved using readily available pmwiki markup or do I have do
> define a custom markup for that in config.php?

Sorry, there is currently no core markup that does this and I coundn't find
a clean way to add it to the core. So I'll leave it to recipe authors.

Petko

Dominique Faure

unread,
Mar 19, 2012, 1:55:13 AM3/19/12
to a.sond...@gassi-tv.de, pmwiki...@pmichaud.com
On Sun, Mar 11, 2012 at 13:44, <a.sond...@gassi-tv.de> wrote:
> Hi
>
> I am trying to put some text and an image in the same link markup:
> [[ linktarget | some text goes here http://host/image.ext ]]
>
> This is necessary in order to trigger the hover state of the text when the mouse cursor moves over the image. This also why I cannot use separate link markups, e. g. text in another link wikimarkup than the image.
>
> Can this be achieved using readily available pmwiki markup or do I have do define a custom markup for that in config.php?

Hi,
Feel free to have a try on the DomTT recipe, which implement the kind
of features you're looking for.

--
Dominique

a.sond...@gassi-tv.de

unread,
Mar 24, 2012, 6:50:13 PM3/24/12
to Dominique Faure, pmwiki...@pmichaud.com
Dear Dominique,

Thanks for your reply. I had a look at the recipe’s page (http://www.pmwiki.org/wiki/Cookbook/DomTT) and could not quite find the functionality I am looking for. The DomTT recipe does not allow me to put an image and text content in the same [[ ]] pmwiki link markup.


Best regards / Mit freundlichem Gruß,

i. A. Josh Sonderhoff
Purchasing Manager

--
cell: +49 1511 5794189
mail: jo...@movingpixies.com
web: http://movingpixies.com

moving pixies GmbH
Aurikelweg 22
DE-50259 Pulheim
Geschäftsführer: Daniel Sonderhoff
Amtsgericht Köln, HRB 74273


Save the world — Don't print this e-mail!

V.Krishn

unread,
Mar 25, 2012, 2:30:51 AM3/25/12
to pmwiki...@pmichaud.com
On Sunday, March 25, 2012 04:20:13 AM a.sond...@gassi-tv.de wrote:
> [[ linktarget | some text goes here http://host/image.ext ]]

What html output is expected from the markup?
It may be possible to do the same with text outside markup [[ ]] .

--
Regards.
V.Krishn

Simon

unread,
Mar 28, 2012, 4:01:45 AM3/28/12
to a.sond...@gassi-tv.de, pmwiki...@pmichaud.com
Try   [[ linktarget | some text goes here]] [[ linktarget | http://host/image.ext ]] 

cheers

Simon

Jason Counsel

unread,
Mar 28, 2012, 3:01:30 PM3/28/12
to pmwiki...@pmichaud.com
I think this will do what you are looking for:

[[Math2204|Attach:mathgraph.gif"What is the equation of this curve? Find out in Math 2204/2205!"]]

Look at the bottom of this page at the graph: www.laval.k12.nf.ca/pub/index.php?n=Math.HomePage - inside the quotations will become the hover text.  This functionality is built into pmwiki.

Cheers - Jason

Jason Counsel

unread,
Mar 28, 2012, 3:30:12 PM3/28/12
to pmwiki...@pmichaud.com
Go to http://www.pmwiki.org/wiki/PmWiki/Images for more information on how to do this.

Cheers - Jason


From: Jason Counsel <jason_...@yahoo.ca>
To: "pmwiki...@pmichaud.com" <pmwiki...@pmichaud.com>
Sent: Wednesday, March 28, 2012 4:31:30 PM
Subject: Re: [pmwiki-users] text and image as link content in same [[ ]]
Reply all
Reply to author
Forward
0 new messages