Solved

joomla tooltip in module

Posted on 2010-09-07
2
396 Views
Last Modified: 2012-08-01
hi, i search many tootip tutorial but none work.. I am writing the tooltip in a php_mod.

please help..

I tried with exactly the exampel given in joomla tutorial as below still nothing display as tooltip.

echo JHTML::tooltip('This is a tooltip attached to text', 'Text Tooltip Title',
                    '', 'Hover on this text to see the tooltip');

I did include JHTML::_('behavior.tooltip') in the header

 source : [http://docs.joomla.org/Tutorial:How_to_add_tooltips_to_your_Joomla!_website]



0
Comment
Question by:bcv2010
2 Comments
 
LVL 7

Accepted Solution

by:
Vimal DM earned 500 total points
ID: 33635001
Hai,

try like this,

1)

<?php
echo JHTML::_('tooltip', "This is the Form name, It must be Unique." );
JHTML::tooltip('This is the tooltip text', 'Tooltip title', 'tooltip.png', '', '', false);
?>

2)

<?php $toolTipArray = array('className' => 'custom', 'showDelay'=>'500', 'hideDelay'=>'500', 'fixed'=>'true'
, 'onShow'=>"function(tip) {tip.effect('opacity', {duration: 500, wait: false}).start(0,1)}"
, 'onHide'=>"function(tip) {tip.effect('opacity', {duration: 500, wait: false}).start(1,0)}");
JHTML::_('behavior.tooltip', '.zoomTip', $toolTipArray);
?>
<span class="zoomTip" title="zoomTip Title::This is using class 'zoomTip' using external JS script.">ZoomTip hover text</span>



Thanks.
0
 

Author Comment

by:bcv2010
ID: 33751840
2 works but 1 doesn't work..
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
joomla t3 framework 2 263
Joomla - best mobile option 3 313
Joomla 1 191
Responsive site in Joomla 3 112
Welcome Friends, This is the tutorial for how to create new simple module in joomla 1.5. In the module has two important files. One is XML file and another file is PHP controller file. First you need to create the XML file. (CODE) …
Have you ever wanted to use that sweet jQuery gallery plugin on your Joomla site but couldn't get it working due to jQuery conflicts or your lack of knowledge about what's under the Joomla hood? This article will step you through the process of impl…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question