Quote Originally Posted by DivaVocals View Post
OOOOOOOOOHHHHH Cindy.. I'm baaaaaack.. Yep adding more complexity to your life.. again..

Trying to figure out how to add a tooltip on hover to my buttons.. For now will use the button text defines for the tooltip just to get things going.. I will probably eventually add a complete set of separate defines just for tooltips.

I found this: http://codepen.io/cbracco/pen/qzukg

I'm thinking I need to modify the includes/functions/html_output.php

But not sure HOW to modify it to add the tooltip.
Tee-hee, no complexity added! The tooltip functionality (although undocumented) is built-in.

In a language/extra_definition file, just set up a construct similar to:
Code:
define ('CSS_BUTTON_POPUPS_IS_ARRAY', 'true');
define ('CSSBUTTONS_CATALOG_POPUPS_SHOW_BUTTON_NAMES_TEXT', ': No title defined; see ' . __FILE__);
$css_button_text = array ( 'button_add_to_cart.gif' => 'Click here to add the product to the cart',
                                   );
... and expand the array to suit. The downside is that you need to define the title text for all the buttons as any undefined button will have a title that reads something akin to:
Code:
button_back.gif: No title defined, see <whatever the extra_definition's file name is>