Page 1 of 1

Spacelab - Mouseover glossary box not showing

Posted: Mon Mar 10, 2014 10:05 am
by kalechinees
Hey all,
I'm running phpMyFAQ 2.8.7 with Spacelab theme. With the default skin, everything works fine but as soon as I switch theme the hover box won't appear.
Looks like something to do with the CSS but I can't seem to find out where :(

It looks like the hover box is called by this line:
<abbr data-original-title="Hoverbox" rel="tooltip">link name</abbr>

However simply adding the 'abbr' and '.tooltip' css lines to the new style.min.css of the spacelab template don't seem to work....

Code: Select all

abbr[title],
abbr[data-original-title] {
  cursor: help;
  border-bottom: 1px dotted #999999;
}
abbr.initialism {
  font-size: 90%;
  text-transform: uppercase;
}
Anybody has experienced this?


update: with the spacelab theme, the div.tooltip doesn't show up at all...

Re: Spacelab - Mouseover glossary box not showing

Posted: Fri May 30, 2014 10:37 am
by vertigokitesurfing
Hi,

I'm also having the same problem. The glossary tooltip only shows in the default theme and not spacelab or ameilia

Re: Spacelab - Mouseover glossary box not showing

Posted: Tue Jul 22, 2014 6:42 am
by david.szeto
Me too. Same problem.

Re: Spacelab - Mouseover glossary box not showing

Posted: Fri Aug 01, 2014 6:06 pm
by cameron
Found the issue (missing "bbr" from script function).

Change the below code on the /template/spacelab/artikel.tmp template:
From:

Code: Select all

            <script>
                $(function(){
                    $('a[rel="tooltip"]').tooltip();
                });
            </script>
To:

Code: Select all

            <script>
                $(function(){
                    $('abbr[rel="tooltip"]').tooltip();
                });
            </script>