User tests: Successful: Unsuccessful:
Labels |
Added:
?
|
Category | ⇒ | JavaScript |
Note to any testers make sure you test on IE8 as this method was changed as part of 3.3 beta 3 where tips were broken in IE8
I don't want to give up the hope to find some testers for this pull request but unfortunately Joomla! itself doesn't use Mootools tooltips any more.
If you would like to test it to give feedback please install Joomla-3.2-Hello-World-Component Step 10, create a menu item and append the following code lines to the file components/com_helloworld/views/helloworld/tmpl/default.php:
<?php JHtmlBehavior::tooltip()?>
<a class="hasTip btn btn-large btn-info" title="Title of the Mootools tooltip::Text of the Mootools tooltip. More text of the Mootools tooltip." href="http://www.example.com">Test the Mootools tooltip here!</a>
This additional code shows up a test button in the front end of the component and when you hover above it it will display a mootools tooltip.
Test it with and without the pull request patch and you will see the difference.
Thank's @brianteeman for testing!
If you have a closer look at the two pictures above (showing the tooltips before and after the patch) it is not only that the href is not displayed any longer. Without the patch Mootools is not able to distinguish between the title and the text of the tooltip.
You can see that in the first picture, there is no headline and you can see the double double point (MyFavourites::Here you can ...). After the patch you can see a centered headline and no double double point any more.
The reason for that is, that before the patch, the jQuery element storage is used to store title and text of the tooltip. Unfortunately Mootools has no access to it, so we have to store title and text in the Mootools element storage (see first two lines of the patch). The third line of the code change ensures, that a Mootools element is made out of this
, which ensures the code is also working in IE8.
There must be more out there than just me using third party components (e.g. JoomGallery) which are still using the Mootools tooltips und would like to see them working again in Joomla 3.4.0.
I'm not giving up to get some testers ... ;-)
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-02-25 00:55:36 |
@Erftralle can you re-add your images via this link it looks like that they are missing now: http://issues.joomla.org/tracker/joomla-cms/5958/edit
Thanks!
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5958.