Mediabox CK et lien dans titre

Mediabox CK et lien dans titre was created by Le Grizzly

Posted 11 years 1 month ago #8436
Bonjour ced1870

Je galère pour insérer un lien hypertexte dans le titre d'une lightbox de Mediabox CK.
Je ne suis pas un pro en html et je n'arrive pas à trouver le bon code.

Voici la balise de ma lightbox :
<a href="images/Image.svg" title="Image::Wikipedia" rel="lightbox[514 355]">

Et voici ce que j'essaye de mettre à la place de Wikipedia :
<a href=" en.wikipedia.org " title="Wikipedia, the free encyclopedia" target="_blank">Wikipedia, the free encyclopedia

Si vous avez une solution, je suis preneur.

Merci

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Mediabox CK et lien dans titre

Posted 11 years 1 month ago #8454
salut
regardes la démo 2 sur mon site :
www.joomlack.fr/extensions-joomla/mediabox-ck

il faut mettre un truc du genre
Code:
<a href="images/Image.svg" title="Baseball::Wallpaper from &lt;a href="http://g1wallz.com/" title="Wallpapers android" target="_blank"&gt;G1Wallz.com&lt;/a&gt;" rel="lightbox[514 355]">

dans le titre il faut encoder les < et > par
Code:
&lt;
et
Code:
&gt;

Joomlack Webmaster and Developer

Last Edit:11 years 1 month ago by ced1870
Last edit: 11 years 1 month ago by ced1870.

Please Log in or Create an account to join the conversation.

Replied by Le Grizzly on topic Mediabox CK et lien dans titre

Posted 11 years 1 month ago #8474
Bonsoir Ced

Merci de ta réponse.
Malheureusement, je dois passer à coté de quelquechose, mais je n'y arrive pas.

Voici le code que j'essaye d'intégrer :
Code:
<p><a href="images/Epaves/Bacchus/Pavillon_RFA.svg" title="Pavillon de la Royal Fleet Auxiliary::&lt;a href="http://en.wikipedia.org" title="Wikipedia, the free encyclopedia" target="_blank"&gt;http://en.wikipedia.org;/a&gt;" rel="lightbox[710 355]"><img src="images/Epaves/Bacchus/Pavillon_RFA.png" border="0" alt="Pavillon de la Royal Fleet Auxiliary (Wikipedia)" title="Pavillon de la Royal Fleet Auxiliary (Wikipedia)" style="display: block; margin-left: auto; margin-right: auto;" /></a></p>

Voici le résultat après enregistrement:
Code:
<p><a href="images/Epaves/Bacchus/Pavillon_RFA.svg" target="_blank" title="Wikipedia, the free encyclopedia" rel="lightbox[710 355]"><img src="images/Epaves/Bacchus/Pavillon_RFA.png" border="0" alt="Pavillon de la Royal Fleet Auxiliary (Wikipedia)" title="Pavillon de la Royal Fleet Auxiliary (Wikipedia)" style="display: block; margin-left: auto; margin-right: auto;" /></a></p>

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Mediabox CK et lien dans titre

Posted 11 years 1 month ago #8475
moi ce que je vois c'est que tu as mis 2 balises "title", donc forcément ...
vires la 2e !

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by Le Grizzly on topic Mediabox CK et lien dans titre

Posted 11 years 1 month ago #8540
Bonjour ced1870

J'ai bien galéré, mais j'ai enfin réussi.

Merci vraiment pour ton aide

Please Log in or Create an account to join the conversation.

Time to create page: 0.652 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1202 guests and no members online