WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • [solved] How to remove title when hover over menu? - show_menu2
  • Print
Pages: [1]   Go Down

Author Topic: [solved] How to remove title when hover over menu? - show_menu2  (Read 5135 times)

Aveta

  • Guest
[solved] How to remove title when hover over menu? - show_menu2
« 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?
« Last Edit: September 29, 2011, 03:38:18 PM by Aveta »
Logged

Aveta

  • Guest
Re: How to remove title when hover over menu - show_menu2
« Reply #1 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…
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8920
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: How to remove title when hover over menu - show_menu2
« Reply #2 on: September 29, 2011, 07:59:37 AM »
hello, had the same wish. with jquery is it easy:
Code: [Select]
$('#menu a').removeAttr('title');thx for the idea.

dbs
Logged
https://onkel-franky.de

Offline DarkViper

  • Forum administrator
  • *****
  • Posts: 3087
  • Gender: Female
Re: How to remove title when hover over menu - show_menu2
« Reply #3 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-)
Logged
Der blaue Planet - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen

"We need education to cope with digitalization - and NOT the digitalization of education.!"

Tägliches Stoßgebet: Oh Herr, wirf Hirn vom Himmel !

Aveta

  • Guest
Re: How to remove title when hover over menu - show_menu2
« Reply #4 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!
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • [solved] How to remove title when hover over menu? - show_menu2
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2