Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

[SOLVED] Tooltip in content

01-15-2010, 02:54 AM
# 1 (permalink)
Skipper_Ri
Hello,

How to integrate the tooltip in the article? What code should enter? Is this correct?

Code:

<p id="simple">Simple text tooltip
<script type="text/javascript">// <![CDATA[
window.addEvent('domready', function(){

new ToolTip({tipper:'regular', message:'This one is a regular tooltip. Mouse out and Poof! It is gone. Magic stuff (eat your heart out David Blaine).<br />Like the example above, it supports images and HTML.'});

});
// ]]></script>
</p>
Thanks in advance
01-15-2010, 04:44 AM
# 2 (permalink)
orion_
Hello

Here are the instructions about the tooltip:

Tooltips
01-15-2010, 04:51 AM
# 3 (permalink)
Skipper_Ri
Yes, I read it, but can never get the correct display tooltips. Can you, please write here with the correct display?

Thanks in advance
01-15-2010, 07:09 AM
# 4 (permalink)
orion_
Quote:
Originally Posted by Skipper_Ri
Yes, I read it, but can never get the correct display tooltips. Can you, please write here with the correct display?

Thanks in advance
There are several versions of the tooltip you can use, but the one you pasted in here is the regular one, so I will explain using that one..

First let me ask you what editor you are using?
When I tested this, I did it on a fresh demo installation, with default editor, and noticed it stripped off the id tag..which is the one that makes the tooltip work.

So as soon as I installed good joomla editor, and added the id in again, the tooltip worked.

This code you paste in right above the </head> tag of your index file:

<script type="text/javascript">

window.addEvent('domready', function(){

new ToolTip({tipper:'regular', message:'This one is a regular tooltip. Mouse out and Poof! It is gone. Magic stuff (eat your heart out David Blaine).<br>Like the example above, it supports images and HTML.'});

});

</script>

Then in your article you must paste this code into the html

<a id="regular" title="Normal ToolTip" href="#">regular ToolTip</a>

Notice the id, it is nessesary for it to work
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

Members Login

Username
Password