WebsiteBaker Support (2.8.x) > Templates, Menus & Design

[solved] How to remove title when hover over menu? - show_menu2

(1/1)

Aveta:
Hello everyone,

I would like to remove title in yellow box that appears when you hover over menu.
I'm using slightly altered ALL CSS2 template menu.

<?php show_menu2(0, SM2_ROOT, SM2_START+1, SM2_ALL, false, "\n</li>", false, false, false, '<ul id="header_menu" class="menu">'); ?>

Can anyone help please?

Aveta:
Title tag appears only when $aOptions is set to SM2_ALL, if $aOptions is set to anything else <title> tag doesn't show up.
Is there a way to use SM2_ALL without title appearing, or to remove it somehow?

Any help would be appreciated…

dbs:
hello, had the same wish. with jquery is it easy:

--- Code: ---$('#menu a').removeAttr('title');
--- End code ---
thx for the idea.

dbs

DarkViper:

if you read the SM2 - Doku  (README.en.txt) then you find the option SM2_NO_TITLE   :wink:  8-)

Aveta:
Thanks guys, I solved it  8-)

Jquery certainly does the job but EXTENDED OPTIONS is a better way.
It took me a while to figure this out but finally I got it.  :-D

Much appreciated!

Navigation

[0] Message Index

Go to full version