jDiction Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

jDiction 2.2.0 released. http://jdiction.org/downloads

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - nlit

Pages: [1]
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();
     });

Pages: [1]