Hi Guys,

Thank you so much for this nice looking module.

I just want to ask you one small thing, how can i close the login block popup clicking on anywhere on the window instead of clicking on login button again...

Thanks in advance.
Azhar

Comments

computer_jin’s picture

Hi guys,

anyone who can help me on this.

Thanks
Azhar

bluesman2014’s picture

I'd be interested in this functionality too

sandeep.kumbhatil’s picture

You can use the below script which will allow you to close popup if clicked anywhere outside the popup.

Add this below script in drop_down_login.js

$('body',context).click(function(evt) {
  if ($('#drop-down-login-wrapper .login').hasClass('open')) {
     if($(evt.target).closest(".dropdown").length == 0) {
        $('#drop-down-login-wrapper .login').toggleClass('open').siblings('.dropdown').slideToggle("slow");
     }
   }
});
sandeep.kumbhatil’s picture

Assigned: Unassigned » sandeep.kumbhatil
Status: Active » Fixed
sandeep.kumbhatil’s picture

sandeep.kumbhatil’s picture

Status: Fixed » Closed (fixed)