English > General Questions
Drop down menu
			Harald Leithner:
			
			Thx for you good post.
--- Code:  ---echo $language->title_native;
--- End code ---
Will output the native title.
		
			jstead:
			
			I tried using this $language->title_native in place of the code I am currently using, but it kept returning nothing. Are there any prerequisites for it to work?
		
			nlit:
			
			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();
     });
		
Navigation
[0] Message Index
[*] Previous page
Go to full version