- Posts: 13
- Thank you received: 0
Submenu created, items are shown but not clickable
-
tolga
Inactive member - Topic Author
- New Member
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
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
- Posts: 14116
- Thank you received: 1639
external
Please Log in to join the conversation.
-
tolga
Inactive member - Topic Author
- New Member
- Posts: 13
- Thank you received: 0
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.
-
ivan.milic
Support Staff - Moderator
- Posts: 14116
- Thank you received: 1639
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
- Posts: 13
- Thank you received: 0
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
- Posts: 13
- Thank you received: 0
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.