file Tooltip with html content

More
9 years 11 months ago #4079 by LAMF
Tooltip with html content was created by LAMF
Is it possible to get html based content in a tooltip?
What I would like is to be able to get a prview of an article with a pre-defined amount of lines from that article and possibilities for an image as well.
This would be great for eample in a web shop to give visitors fast snapshots of articles Links/Text or thumbnail on a page without having to browse for the new page..

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

More
9 years 11 months ago #4080 by carsten888
Replied by carsten888 on topic Re:Tooltip with html content
yes, you can use html in the tooltip. But for what you want to use, sounds like a lot of work to maintain. However, there are news-modules, which offer this functionality. I might save you a lot of work if you would use one of those modules (with preview, image, specific amount of lines etc. all automatic) . If you like to p[lace this module into an article, use this free extension for that:
www.pages-and-items.com/extensions/plugin-module-in-article

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

More
9 years 11 months ago #4081 by LAMF
Replied by LAMF on topic Re:Tooltip with html content
Ok I have downloaded this extension but that "only" gives you the great opportunity to add a module whereever you want in an article. It's a super plug-in but not to use as a tooltip right?
I want to be able to show content related to a product or a link when hover the link/image or text part of an article to have a "preview" of the content/the shop article.

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

More
9 years 11 months ago #4083 by carsten888
Replied by carsten888 on topic Re:Tooltip with html content
As I told you in my previous post, you can then load a news-module (search the joomla extension directory) which does all those things automatic for you, so you do not have to add html manually each time a new article is created.

But if you rather enter the html manually, thats fine to.
www.pages-and-items.com/extensions/plugin-pure-css-tooltip

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

More
9 years 11 months ago #4086 by LAMF
Replied by LAMF on topic Re:Tooltip with html content
Ok I see.
I tried to edit with html code direct and it works perfect!

Another thing:
Is it possible to have the info window to po-up above the link instead of under it?
I have set the css params like this:
top: -80px;
	left: -30px;
But it's not optimal as it has to rely on a certain size of the pop-up window (depending on how much content there is in the pop-up window)

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

More
9 years 11 months ago #4087 by LAMF
Replied by LAMF on topic Re:Tooltip with html content
I solved it.
Just set the css to:
bottom: 20px;
instead of top: 20px;

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

Time to create page: 0.139 seconds
Powered by Kunena Forum
 
spicy-sacerdotal