WebsiteBaker Community Forum (upd)

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: Aveta on September 27, 2011, 01:51:56 PM

Title: [solved] How to remove title when hover over menu? - show_menu2
Post by: Aveta on September 27, 2011, 01:51:56 PM
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?
Title: Re: How to remove title when hover over menu - show_menu2
Post by: Aveta on September 29, 2011, 06:11:50 AM
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...
Title: Re: How to remove title when hover over menu - show_menu2
Post by: dbs on September 29, 2011, 07:59:37 AM
hello, had the same wish. with jquery is it easy:
$('#menu a').removeAttr('title');
thx for the idea.

dbs
Title: Re: How to remove title when hover over menu - show_menu2
Post by: DarkViper on September 29, 2011, 08:41:15 AM

if you read the SM2 - Doku  (README.en.txt) then you find the option SM2_NO_TITLE   :wink:  8-)
Title: Re: How to remove title when hover over menu - show_menu2
Post by: Aveta on September 29, 2011, 03:25:46 PM
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!