test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • rhand Friend
    #162731

    When someone hovers over a menu item in the top CSS navigation they see a small pop-up showing the link title (link title attribute). How can that be hidden? What needs to be commented out or adjusted?

    NB Did look at ja_lime/blocks/mainnav.php, but cannot figure it out just yet..

    rhand Friend
    #386101

    Commented out title attribute stuff in ja_lime/blocks/mainnav.php:

    <?php

    ?>
    <?php $this->genBlockBegin ($block) ?>
    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>
    <?php $this->genBlockEnd ($block) ?>

    <!-- jdoc:include type="menu" level="0" / -->
    <?php if ($this->hasSubmenu() && ($jamenu = $this->loadMenu())) : ?>
    <div id="ja-subnav" class="wrap">
    <div class="main clearfix">
    <?php $jamenu->genMenu (1); ?>
    <!-- jdoc:include type="menu" level="1" / -->
    </div>
    </div>
    <?php endif;?>

    <ul class="no-display">
    <li><a href="<?php echo $this->getCurrentURL();?>#ja-content" <?php // title="<?php echo JText::_("Skip to content");?>"><?php /* echo JText::_("Skip to content");*/?></a></li>
    </ul>

    Then emptied FF cache, JAT3 cache. No joy :((

    Neither did:

    <ul class="no-display">
    <li><a href="<?php echo $this->getCurrentURL();?>#ja-content" <?php /*title="<?php echo JText::_("Skip to content"); */?>"><?php /* echo JText::_("Skip to content");*/?></a></li>
    </ul>

    rhand Friend
    #386137

    Anyone any ideas?

    himangi Friend
    #386177

    Hi,

    You can remove the title text shown on menuhover in top menu by commenting <blockquote>$title = “title=”$tmpname””;</blockquote> in plugins/system/jat3/jat3/core/base.class.php line no. 419

    As of now I am not sure if we can override this file from template, so you will have to use above hack.

    rhand Friend
    #386280

    Thanks Himangi! In <blockquote>plugins/system/jat3/jat3/core/menu</blockquote> I found base.class.php and the code
    $title = "title="$tmpname"";
    on line 404. I will comment it out, but I would prefer not to hack a core file of the JAT3 framewrok plugin. So if anyone knows another way I would love to hear it.

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  rhand 13 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum