Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

joomla tooltip in module

Posted on 2010-09-07
2
Medium Priority
?
399 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
Vimal DM earned 1500 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

730 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