Showing tables in tooltips

Showing tables in tooltips was created by pararrayos

Posted 11 years 3 months ago #7955
Hi buddy, I've just downloaded and installed your plugin, it's nice!

I made some tests showing text strings and images inside the tooltips, and everything was fine, but, when trying to show tables, it doesn't work, the table appears outside the tooltip.

Is it possible to fix that?

Cheers.
Last Edit:11 years 3 months ago by pararrayos
Last edit: 11 years 3 months ago by pararrayos.

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

Replied by ced1870 on topic Showing tables in tooltips

Posted 11 years 3 months ago #7958
Hi
please give me the HTML code that you are using so I can try to reproduce the issue by my side
Ced

Joomlack Webmaster and Developer

by ced1870

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

Replied by pararrayos on topic Showing tables in tooltips

Posted 11 years 3 months ago #7959
Hi again, buddy. I did a test trying to show a tooltip with a table including an image and a text string, when over a 'normal' image in a joomla article:

{tooltip}<img src="whatever" />{end-texte}<table><tbody><tr><td><img src="whatever2" /></td><td>bla, bla, bla</td></tr></tbody></table>{end-tooltip}

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

Replied by ced1870 on topic Showing tables in tooltips

Posted 11 years 3 months ago #7967
if I put the code in my editor it cleans it so it will close the <p> and all the code is going bad, so the table will not be in the tooltip anymore
I think this is the reason, anyway you should avod this method ...

Joomlack Webmaster and Developer

by ced1870

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

Replied by pararrayos on topic Showing tables in tooltips

Posted 11 years 3 months ago #7973
Well buddy, I'm going to see how to fix this... By the way, the same problem with <table> happens using <div>

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

Replied by ced1870 on topic Showing tables in tooltips

Posted 11 years 3 months ago #7974
in fact you should not insert a html tag that is a block type (div, p, etc) inside the inline tag (span) that is loaded for the tooltip. This is the native HTML rules :)

Joomlack Webmaster and Developer

by ced1870

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

Time to create page: 0.709 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 855 guests and one member online