Submenu created, items are shown but not clickable

  • tolga
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
9 years 8 months ago - 9 years 8 months ago #44648 by tolga
Hi,

I created the submenu and created items which I linked to some test articles.
The problem is, that I can't click the links. When I click on them, nothing happens.

Please take a look on my site: www.bermpohl.info/jml3

The Submenu is in the left menu at "Das Bermpohl".

The first item there "Testobjekt" is linked to a single article. I selected "Open in: Parent".

Please pay attention on the status bar when you mouse over the link "Testobjekt".
I see, that the link is "......./index.php/neighbours/testobjekt"
Why it shows "neighbours", is that normal?


Submenu:




Statusbar:







This is my only problem at now. Anything else works fantastic.

Thank you very much.

Best regards,
Tolga
Attachments:
Last edit: 9 years 8 months ago by tolga.

Please Log in to join the conversation.

More
9 years 8 months ago #44652 by ivan.milic
On menu items that do go of home page set class :

external

Please Log in to join the conversation.

  • tolga
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
9 years 8 months ago #44656 by tolga
Hi Ivan,

sorry but nothing works with the submenu links.
It doesn't matter if I link to a single existing article or to www.ebay.com ! When I click the link NOTHING happens!


I am really confused and need your help :(
I need to get the site working soon for a client.

Thank you and best regards,
Tolga

Please Log in to join the conversation.

More
9 years 8 months ago #44659 by ivan.milic
Open:

templates/hot_food_spirit/js/hot_food_spirit.js

modify:

jQuery(".scroll, .mp_top2 a, .mp_top3 a").click(function(event){
event.preventDefault();
jQuery('html,body').animate({scrollTop:jQuery(this.hash).offset().top}, 500);
});

to:

jQuery(".scroll:not(.external), .mp_top2 a:not(.external), .mp_top3 a:not(.external)").click(function(event){
event.preventDefault();
jQuery('html,body').animate({scrollTop:jQuery(this.hash).offset().top}, 500);
});


then use external class form menu item as I told you before

Please Log in to join the conversation.

  • tolga
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
9 years 8 months ago #44661 by tolga
Hi Ivan,

thank you, I'll try that later.

ivan.milic wrote: then use external class form menu item as I told you before


I don't understand, what you mean. Sorry :S

Do you have a screenshot?

Please Log in to join the conversation.

  • tolga
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
9 years 8 months ago #44664 by tolga

ivan.milic wrote: Open:

templates/hot_food_spirit/js/hot_food_spirit.js

modify:

jQuery(".scroll, .mp_top2 a, .mp_top3 a").click(function(event){
event.preventDefault();
jQuery('html,body').animate({scrollTop:jQuery(this.hash).offset().top}, 500);
});

to:

jQuery(".scroll:not(.external), .mp_top2 a:not(.external), .mp_top3 a:not(.external)").click(function(event){
event.preventDefault();
jQuery('html,body').animate({scrollTop:jQuery(this.hash).offset().top}, 500);
});


I did that and still no function but when I comment that part with /* and */ , it works.
But now when I click on a menu link (not submenu) the page rapidly jumps to the desired position of the Homepage. Before commenting it was more smooth.....

Please Log in to join the conversation.

Time to create page: 0.227 seconds
Powered by Kunena Forum