PHP Classes

File: js/albums.js

Recommend this page to a friend!
  Classes of Ann   Purp Project   js/albums.js   Download  
File: js/albums.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/albums.js
Date: 1 year ago
Size: 514 bytes
 

Contents

Class file image Download
$(document).ready(function($) { $('.apopup_open').click(function() { $('.apopup_fade').fadeIn(); return false; }); $('.apopup_close').click(function() { $(this).parents('.apopup_fade').fadeOut(); return false; }); $(document).keydown(function(e) { if (e.keyCode === 27) { e.stopPropagation(); $('.apopup_fade').fadeOut(); } }); $('.apopup_fade').click(function(e) { if ($(e.target).closest('.apopup').length == 0) { $(this).fadeOut(); } }); });