- Posts: 99
- Thank you received: 0
Solved Change alias for the menus (joomla 3.2.0)
-
mojastran
Inactive member - Member
Less
More
10 years 11 months ago - 10 years 11 months ago #35865
by mojastran
Replied by mojastran on topic Change alias for the menus
Hello,
same problem with Music Band template and joomla 3.2.1. Tried this solution, but it doesn't work.
Result =>> about:blank (empty page)
same problem with Music Band template and joomla 3.2.1. Tried this solution, but it doesn't work.
Result =>> about:blank (empty page)
Last edit: 10 years 11 months ago by mojastran.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 11 months ago #35873
by ivan.milic
Replied by ivan.milic on topic Change alias for the menus
So you need this script:
jQuery(document).ready(function(){
jQuery('a[href="javascript:;"]').click(function(e){
e.preventDefault();
});
});
at very bottom of: templates/hot_kindergarten/js/responsive_menu.js
and you need to exactly set urls for items :
jQuery(document).ready(function(){
jQuery('a[href="javascript:;"]').click(function(e){
e.preventDefault();
});
});
at very bottom of: templates/hot_kindergarten/js/responsive_menu.js
and you need to exactly set urls for items :
Code:
http://javascript:;
Please Log in to join the conversation.
-
mojastran
Inactive member - Member
Less
More
- Posts: 99
- Thank you received: 0
10 years 11 months ago #35886
by mojastran
Replied by mojastran on topic Change alias for the menus
As i wrote in my first post:
Tried this solution, but it doesn't work.
Result =>> about:blank (empty page)
Tried this solution, but it doesn't work.
Result =>> about:blank (empty page)
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 11 months ago #35899
by ivan.milic
Replied by ivan.milic on topic Change alias for the menus
send link so we can see if you applied it correctly
Please Log in to join the conversation.
-
mojastran
Inactive member - Member
Less
More
- Posts: 99
- Thank you received: 0
10 years 11 months ago - 10 years 11 months ago #35911
by mojastran
Replied by mojastran on topic Change alias for the menus
I made a test menu item. At
viktory.mojastran.net
click on podjetje / test (see printscreen)
Last edit: 10 years 11 months ago by mojastran.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 11 months ago #35917
by ivan.milic
Replied by ivan.milic on topic Change alias for the menus
In this code you added:
change jQuery('a[href="javascript:;"]') to jQuery('a[href*="javascript:;"]')
Code:
jQuery(document).ready(function(){
jQuery('a[href="javascript:;"]').click(function(e){
e.preventDefault();
});
});
change jQuery('a[href="javascript:;"]') to jQuery('a[href*="javascript:;"]')
Please Log in to join the conversation.
Time to create page: 0.084 seconds