1
General Questions / Re: Drop down menu
« on: May 27, 2016, 11:32:53 pm »
Hi, I just wanted to ask,
In joomla 3.5.1 I tried to make the drop down menu as you describe but I can't.
There is something I miss with the last part (.js)
In what exact file I must include the code? And in what part of the file?
Also I think there is a mistake in the code with an open "{" that doesn't close.
Please don't get me wrong, I am not judging you, I am novice and just want to make it work.
Thanks,
$(document).ready(function() {
$('#languagemenu').click(function(){
$('.languageswitcher').slideDown();
});
$('.languageswitcher').mouseleave(function(){
$('.languageswitcher').slideUp();
});
$('.languageswitcher a').click(function(){
$('.languageswitcher').hide();
});
In joomla 3.5.1 I tried to make the drop down menu as you describe but I can't.
There is something I miss with the last part (.js)
In what exact file I must include the code? And in what part of the file?
Also I think there is a mistake in the code with an open "{" that doesn't close.
Please don't get me wrong, I am not judging you, I am novice and just want to make it work.
Thanks,
$(document).ready(function() {
$('#languagemenu').click(function(){
$('.languageswitcher').slideDown();
});
$('.languageswitcher').mouseleave(function(){
$('.languageswitcher').slideUp();
});
$('.languageswitcher a').click(function(){
$('.languageswitcher').hide();
});