Search…

X3 Photo Gallery Support Forums

Search…
 
rokudamerlin
Experienced
Topic Author
Posts: 161
Joined: 01 Dec 2012, 02:00

tooltip in navbar ?

28 Jan 2018, 19:35

Hey Karl,
look my website www.vektorstyle.de i have add in the navbar the facebook icon .. now i have test to a "alt" code for display by the "hover" the name facebook ..but this was not the god way ;)

now i have a better idea ..what better looks .. can i add via the function "tooltip" in custom code .. that the hover over the Menue "Link type" display the tooltip ?
or can you me say the class for the tooltip ?

i find this is a better was for display it .. the footer looks not so good ..

a function for the future ?
hope you understand me good and can help me

greez
stefan
VektorStyle.de
Graphic - Web - Printdesign | X3
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: tooltip in navbar ?

28 Jan 2018, 22:45

You could add your icon to the MENU LABEL field like this:
Code
<i data-tooltip title="Facebook" class="fa fa-facebook-square fa-2x has-tip"></i>
Notice the data-tooltip attribute and has-tip class.

It's not perfect, because the tooltip hover area is for the ICON and not the entire LINK including padding. It would be much more complicated to add a tooltip directly to the parent link though.
a function for the future ?
Yes possibly.
 
rokudamerlin
Experienced
Topic Author
Posts: 161
Joined: 01 Dec 2012, 02:00

Re: tooltip in navbar ?

29 Jan 2018, 05:37

wow thanks for help - this is fantastic !!
VektorStyle.de
Graphic - Web - Printdesign | X3