1. Lars Melzer
  2. Commercial Templates
  3. Thursday, 10 March 2016
  4.  Subscribe via email
Hello.

For mobile sight have i this code editing
allowParentLinks: true,

How can this fuction working in the hompage-design? I use the template "florence".

Regards, Lars
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Lars

Sorry but I do not understand your query. Would you have a URL to an example of your issue so I may better understand?

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Ciarán.

My Projektsite:
m.com/index.php/labels/guidi">http://test.hide-m.com/index.php

Parents menu items are not linked in the browser.
I click on Labels -> GUIDI the submenu are listed entries only. The page GUIDI but not displayed.
For me it's better the page GUIDI also displayed. -> m.com/index.php/labels/guidi">http://test.hide-m.com/index.php/labels/guidi

In the Mobile View is already working, because I have set the code "allowParentLinks" to TRUE.

Are they available for the browser menu?

Greeting Lars
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Lars

May I suggest the following forum post on this query.. http://www.joomla51.com/forum/8-commercial-templates/7922-menu-with-submenus-won-t-open-its-content#19956

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hello.

I've already tried, but does not work well.

$ (This) .removeAttr ('href');

Yes, it works - but now the sub-menu items are always visible.

Greeting Lars
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Lars

If we set your template to follow the link then there would be no way to access the sub menu items. The only option I can think of is to leave your sub items visible at all times. To disable the accordion style menu and instead display all menu items remove the following from your templates scripts.js (../templates/j51_florence/js/ scripts.js line5-22)...


// Main Menu
$('.hornav li.parent > a').on('click', function(){
$(this).removeAttr('href');
var element = $(this).parent('li');
if (element.hasClass('open')) {
element.removeClass('open');
element.find('li').removeClass('open');
element.find('ul').slideUp();
}
else {
element.addClass('open');
element.children('ul').slideDown();
element.siblings('li').children('ul').slideUp();
element.siblings('li').removeClass('open');
element.siblings('li').find('li').removeClass('open');
element.siblings('li').find('ul').slideUp();
}
});


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.