Remove MouseOver Show Title Effect form Menu

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Thu Apr 12, 2012 10:12 am
Hi Guys

Have an annoying issue to fix.
When I place my curser over a link in most cases a little popup (mouseover effect) will show with the same name of the link that I have placed my curser on.
ie If I place my curser on the Contact Us link on my main menu a popup shows next to my curser that says Contact Us. This is rather annoying as it not only is repetitive labeling but also gets in the way of what you're looking at, especially when going down the dropdown menu :(
For some reason this does not happen when I place my curser over the gavick.com menu links, but this is what I want to achieve.
So anyone know how to turn the flashy stuff off? :(

Thanks
Dan
User avatar
Junior Boarder

Konrad M
Thu Apr 12, 2012 12:36 pm
Hi,
Can you give us url to your site ?
User avatar

GK User
Fri Apr 13, 2012 12:37 am
Hi Konrad

Please find the url below:
http://www.zidanc.com/beautythrunature
Thanks in advance for your help

Dan
User avatar
Junior Boarder

Konrad M
Fri Apr 13, 2012 11:58 am
Hi
Unfortunetly this is attribute "title" which is generated in each menu element in href. And if is definded browser show it. So I can't help you.
User avatar

GK User
Mon Apr 16, 2012 1:57 am
Hi Konrad

Thanks for checking it out.
I can understand that its part of the href default rules, but how come the gavick.com menu doesnt have the same issue? Even checking it now on this site, placing the curser over any of the menus links doesnt show the popup (ie if I put mouse over products, it just shows the list and no popup that also shows Products, where as on my site mouse over Products would have a popup saying Products as well)
mouseover-link-popup.jpg


Also the links in the custom html modules at the bottom of my site's page dont have the title popup showing, which is what I want to have on my menu.

Is there any thing that you can think of that would make these links different?

Cheers
Dan
User avatar
Junior Boarder

Konrad M
Mon Apr 16, 2012 5:35 am
You can try this. Go to \templates\gk_mystore\lib\menu\GKBase.class.php and find
Code: Select all
if ($tmpname) {
                if ($tmp->type == 'separator') {
                    $data = '<a href="#" ' . $active . ' ' . $id . ' ' . $title . '>' . $txt . '</a>';
                } else {
                    if ($tmp->url != null) {
                        switch ($tmp->browserNav) {
                            default:
                            case 0:
                                // _top
                                $data = '<a href="' . $tmp->url . '" ' . $active . ' ' . $id . ' ' . $title .
                                    '>' . $txt . '</a>';
                                break;
                            case 1:
                                // _blank
                                $data = '<a href="' . $tmp->url . '" target="_blank" ' . $active . ' ' . $id .
                                    ' ' . $title . '>' . $txt . '</a>';
                                break;
                            case 2:
                                $data = '<a href="' . $tmp->url . '" target="_blank" ' . $active . ' ' . $id .
                                    ' ' . $title . '>' . $txt . '</a>';
                                break;
                        }
                    } else {
                        $data = '<a ' . $active . ' ' . $id . ' ' . $title . '>' . $txt . '</a>';
                    }
                }
            }


and change to:
Code: Select all
if ($tmpname) {
                if ($tmp->type == 'separator') {
                    $data = '<a href="#" ' . $active . ' ' . $id . ' ' . '>' . $txt . '</a>';
                } else {
                    if ($tmp->url != null) {
                        switch ($tmp->browserNav) {
                            default:
                            case 0:
                                // _top
                                $data = '<a href="' . $tmp->url . '" ' . $active . ' ' . $id . ' ' .
                                    '>' . $txt . '</a>';
                                break;
                            case 1:
                                // _blank
                                $data = '<a href="' . $tmp->url . '" target="_blank" ' . $active . ' ' . $id . '>' . $txt . '</a>';
                                break;
                            case 2:
                                $data = '<a href="' . $tmp->url . '" target="_blank" ' . $active . ' ' . $id . '>' . $txt . '</a>';
                                break;
                        }
                    } else {
                        $data = '<a ' . $active . ' ' . $id . '>' . $txt . '</a>';
                    }
                }
            }
User avatar

GK User
Wed Nov 14, 2012 8:53 pm
You just need to detect and remove the code in red in GK.Base.class.php :

template/lib/menu/GKBase.class.php

$title = "title=\"$tmpname\""; --------> $title = "";

Uljan
User avatar
Fresh Boarder


cron