Like this:
(http://i.imgur.com/nN6cJc7.png)
I won't really need an actual mod for it, just some instructions would be nice.
Thanks
do you mean this? http://wiki.simplemachines.org/smf/Buttons_-_How_do_I_add_buttons_to_SMF_2.0
thanks for the link, but it doesn't seem to talk about tooltips
I've not seen any mods that do that here, but you can always achieve it with CSS. Here's an example of what can be done:
How to create tooltips with CSS (http://www.w3schools.com/howto/howto_css_tooltip.asp)
(You'd have to echo a div class and span class for each button.)
In the subs.php array, add the title attribute to the href action of the menu object
Quote from: Kindred on August 06, 2016, 10:45:05 PM
In the subs.php array, add the title attribute to the href action of the menu object
And that'll create a tooltip? Wow! I'm glad I hang out here; I learn a lot lurking around you guys. :)
Quote from: Kindred on August 06, 2016, 10:45:05 PM
In the subs.php array, add the title attribute to the href action of the menu object
thanks! this works when I add a link myself, like this:
'href' => 'http://website.com/page" title="Tooltip"'
but I can't figure out what to do with the scripturl ones
'href' => $scripturl
anything I do to that just breaks the entire forum...
Guess I'll un-solve the thread then :p
'href' => $scripturl, 'action=something', 'title="Tooltip"',
I think that should work
Quote from: Kindred on August 07, 2016, 09:10:32 AM
'href' => $scripturl, 'action=something', 'title="Tooltip"',
I think that should work
Nope, doesn't work.
Though I could probably replace all the ?action links with actual links and then do it like what I posted, but I don't know if that's a good idea or not.
It's not a good idea, no.
'item' => $scripturl . '?action=whatever" title="my title',
Thanks man, that works.
Doesn't work for the home link though, but I guess the icon for it ((http://www.famfamfam.com/lab/icons/silk/icons/house.png)) is obvious enough.
'href' => $scripturl . '" title="Home',
thanks! :D