- Posts: 15
- Thank you received: 0
Menu not work
-
amoraj
Inactive member -
Topic Author
- New Member
-
Less
More
12 years 2 months ago - 12 years 2 months ago #26557
by amoraj
Menu not work was created by amoraj
Good morning,
Well, i dont know to do.
I have joomla 2.5.9 spanish version.
I created a menu with several options, each menu option to create a URL type, and no way to make it work, the menu item appears, but pressing it does nothing.
Whether you put a Url internal than external, the menu items do nothing.
Can be of Joomla 2.5.9?
In joomla 2.5.7, with the same template if it works.
No longer to do.
A help please.
Regards and thanks for your attention,
Angel
Well I just discovered that this only happens if I place the menu in the topmenu module, if I place the menu in another module of the template(ex. user1, user2, user3), it works perfectly.
I have something off in the settings?, How I can fix it?.
Thank you very much,
Angel
Well, i dont know to do.
I have joomla 2.5.9 spanish version.
I created a menu with several options, each menu option to create a URL type, and no way to make it work, the menu item appears, but pressing it does nothing.
Whether you put a Url internal than external, the menu items do nothing.
Can be of Joomla 2.5.9?
In joomla 2.5.7, with the same template if it works.
No longer to do.
A help please.
Regards and thanks for your attention,
Angel
Well I just discovered that this only happens if I place the menu in the topmenu module, if I place the menu in another module of the template(ex. user1, user2, user3), it works perfectly.
I have something off in the settings?, How I can fix it?.
Thank you very much,
Angel
Last edit: 12 years 2 months ago by amoraj. Reason: add text
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 2 months ago #26568
by ivan.milic
Replied by ivan.milic on topic Menu not work
Open:
/templates/hot_one_page/js/hot_onepage.js
replace:
jQuery(".scroll, .mp_topmenu a").click(function(event){
event.preventDefault();
jQuery('html,body').animate({scrollTop:jQuery(this.hash).offset().top}, 500);
});
with:
jQuery(".scroll, .mp_topmenu a:not(.external)").click(function(event){
event.preventDefault();
try{
jQuery('html,body').animate({scrollTop:jQuery(this.hash).offset().top}, 500);
}catch(e){
jQuery('html,body').animate({scrollTop:0}, 500);
}
});
Then use " external" for "Link CSS Style" in menu item settings for such menu items
/templates/hot_one_page/js/hot_onepage.js
replace:
jQuery(".scroll, .mp_topmenu a").click(function(event){
event.preventDefault();
jQuery('html,body').animate({scrollTop:jQuery(this.hash).offset().top}, 500);
});
with:
jQuery(".scroll, .mp_topmenu a:not(.external)").click(function(event){
event.preventDefault();
try{
jQuery('html,body').animate({scrollTop:jQuery(this.hash).offset().top}, 500);
}catch(e){
jQuery('html,body').animate({scrollTop:0}, 500);
}
});
Then use " external" for "Link CSS Style" in menu item settings for such menu items
Please Log in to join the conversation.
-
amoraj
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 15
- Thank you received: 0
12 years 2 months ago #26570
by amoraj
Replied by amoraj on topic Menu not work
All Right.
Thankyou very much,
Best regards,
Angel
Thankyou very much,
Best regards,
Angel
Please Log in to join the conversation.
-
JohnSmithers
Inactive member -
- Member
-
Less
More
- Posts: 40
- Thank you received: 0
12 years 1 month ago #27764
by JohnSmithers
Replied by JohnSmithers on topic Menu not work
Hi
Can you explain in first principles how to make the menu link to the separate articles please?
Can you explain in first principles how to make the menu link to the separate articles please?
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 1 month ago #27785
by ivan.milic
Replied by ivan.milic on topic Menu not work
Make sure code in your one_page.js is same as in post #26586
Enter menu items settings, in right panel under "Link Type Options" , parameter "Link CSS Style" , set it's value to " external" - without quotes , first character is blank
Enter menu items settings, in right panel under "Link Type Options" , parameter "Link CSS Style" , set it's value to " external" - without quotes , first character is blank
Please Log in to join the conversation.
-
JohnSmithers
Inactive member -
- Member
-
Less
More
- Posts: 40
- Thank you received: 0
12 years 1 month ago #27844
by JohnSmithers
Replied by JohnSmithers on topic Menu not work
Hi
I think I must be going wrong within the settings,initially. For example, I have changed menu item called "Contact" which now does not link or display at all the contact page.
What should I, from first principles, be placing on the left hand side to make a proper link to this article?
I think I must be going wrong within the settings,initially. For example, I have changed menu item called "Contact" which now does not link or display at all the contact page.
What should I, from first principles, be placing on the left hand side to make a proper link to this article?
Please Log in to join the conversation.
Time to create page: 0.092 seconds