Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 08:36:18 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155552 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: [solved] How to remove title when hover over menu? - show_menu2  (Read 588 times)
Aveta

Offline Offline

Posts: 3


« on: September 27, 2011, 12: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?
« Last Edit: September 29, 2011, 02:38:18 PM by Aveta » Logged
Aveta

Offline Offline

Posts: 3


« Reply #1 on: September 29, 2011, 05: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…
Logged
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #2 on: September 29, 2011, 06:59:37 AM »

hello, had the same wish. with jquery is it easy:
Code:
$('#menu a').removeAttr('title');
thx for the idea.

dbs
Logged

DarkViper
Development Team
*****
Offline Offline

Posts: 1253


« Reply #3 on: September 29, 2011, 07:41:15 AM »


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

Anleitungen lesen und selber nachdenken ist anstrengend...  Da lass ich doch lieber andere für mich denken...

In 1984:  Nineteen Eighty-Four is a unrealistic utopia!!
In 2012:  Nineteen Eighty-Four is a little piece only of our reality!!
Aveta

Offline Offline

Posts: 3


« Reply #4 on: September 29, 2011, 02:25:46 PM »

Thanks guys, I solved it  cool

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.  grin

Much appreciated!
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!