javascript:void and no link
- screengrafixx
- Offline Topic Author
- New Member
- Posts: 8
- Thanks: 0
Hi there,
I have a rather tricky problem:
when I set menu type to "FJ Related Articles Blog Layout" and in maximenu set rollover style to "on click" then I get a javascript:void and there's no link on "machine" (see screenshot). When I set rollover style to "mousover" everything works ok.
here's a link to my dev site: nagel.kroener-design.de/de/branchenloesungen/automotive
Joomla 1.5.23
Maximenu_CK 4.28
Mootools 1.12
I hope anybody can help ...
thanks in advance
JOACHIM
I have a rather tricky problem:
when I set menu type to "FJ Related Articles Blog Layout" and in maximenu set rollover style to "on click" then I get a javascript:void and there's no link on "machine" (see screenshot). When I set rollover style to "mousover" everything works ok.
here's a link to my dev site: nagel.kroener-design.de/de/branchenloesungen/automotive
Attachment maximenu.PNG not found
Joomla 1.5.23
Maximenu_CK 4.28
Mootools 1.12
I hope anybody can help ...
thanks in advance
JOACHIM
Last Edit:12 years 7 months ago
by screengrafixx
Attachments:
Last edit: 12 years 7 months ago by screengrafixx.
Please Log in or Create an account to join the conversation.
try to change the line 90 in moo_maximenu_CK.js to this (add the condition) :
Code:
if (el.hasClass('parent')) el.getElement('a.maximenuCK').setProperty('href','javascript:void(0)');
Joomlack Webmaster and Developer
Last Edit:12 years 7 months ago
by ced1870
Last edit: 12 years 7 months ago by ced1870.
Please Log in or Create an account to join the conversation.
hum, try this instead :
I just detected another issue
Code:
if (el.hasClass('parent') && el.getElement('a.maximenuCK')) el.getElement('a.maximenuCK').setProperty('href','javascript:void(0)');
I just detected another issue
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
- screengrafixx
- Offline Topic Author
- New Member
- Posts: 8
- Thanks: 0
Hi,
thanks for your effort. No, didn't work. Still Javascript:void and no link. Did I make changes correct?
} else if (style == 'click') {
el.getElement('span.titreCK').addEvent('click',function() {
if (el.hasClass('parent') && el.getElement('a.maximenuCK')) el.getElement('a.maximenuCK').setProperty('href','javascript:void(0)');
if (testoverflow == '1') this.testOverflowMaxiCK(menuID);
if (el.status == 'show') {
el.hideMaxiCK();
} else {
thanks for your effort. No, didn't work. Still Javascript:void and no link. Did I make changes correct?
} else if (style == 'click') {
el.getElement('span.titreCK').addEvent('click',function() {
if (el.hasClass('parent') && el.getElement('a.maximenuCK')) el.getElement('a.maximenuCK').setProperty('href','javascript:void(0)');
if (testoverflow == '1') this.testOverflowMaxiCK(menuID);
if (el.status == 'show') {
el.hideMaxiCK();
} else {
Please Log in or Create an account to join the conversation.
ok, so for the last parent "zylinderbohrung" try to set it as an external link that points to # instead of a separator
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
- screengrafixx
- Offline Topic Author
- New Member
- Posts: 8
- Thanks: 0
Time to create page: 0.655 seconds