PHP Classes

File: js/header.js

Recommend this page to a friend!
  Classes of Ann   Purp Project   js/header.js   Download  
File: js/header.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Purp Project
Application to manage photo albums
Author: By
Last change: Update of js/header.js
Date: 1 year ago
Size: 981 bytes
 

Contents

Class file image Download
$(document).ready(function(){ $(document).mouseup( function (e) { let container = $(".popUpMenu"); if (container.has(e.target).length === 1){ if($(".focus").has(e.target).length === 1){ if($(e.target).parent().next().css("visibility") == "hidden"){ $(".hidden").css("visibility", "hidden"); $(e.target).parent().next().css("visibility", "visible"); } else { $('.listUsers').children().remove(); $(e.target).parent().next().children(".inpSearch").val(""); $(e.target).parent().next().css("visibility", "hidden"); } } } else { $('.listUsers').children().remove(); container.children(".hidden").children(".inpSearch").val(""); container.children(".hidden").css("visibility", "hidden"); } }); });