Solved Change alias for the menus (joomla 3.2.0)

More
10 years 11 months ago - 10 years 11 months ago #35865 by mojastran
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)
Last edit: 10 years 11 months ago by mojastran.

Please Log in to join the conversation.

More
10 years 11 months ago #35873 by ivan.milic
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 :
Code:
http://javascript:;

Please Log in to join the conversation.

More
10 years 11 months ago #35886 by mojastran
As i wrote in my first post:
Tried this solution, but it doesn't work.

Result =>> about:blank (empty page)

Please Log in to join the conversation.

More
10 years 11 months ago #35899 by ivan.milic
send link so we can see if you applied it correctly

Please Log in to join the conversation.

More
10 years 11 months ago - 10 years 11 months ago #35911 by mojastran
I made a test menu item. At viktory.mojastran.net click on podjetje / test (see printscreen)
Attachments:
Last edit: 10 years 11 months ago by mojastran.

Please Log in to join the conversation.

More
10 years 11 months ago #35917 by ivan.milic
In this code you added:
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
Powered by Kunena Forum