PHP Classes

File: vendor/formee-3-1/js/formee.js

Recommend this page to a friend!
  Classes of Giovanni Ramos   Multi-Anexos   vendor/formee-3-1/js/formee.js   Download  
File: vendor/formee-3-1/js/formee.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Multi-Anexos
Compose and send e-mail messages with attachments
Author: By
Last change: Update of vendor/formee-3-1/js/formee.js
Date: 1 month ago
Size: 628 bytes
 

Contents

Class file image Download
function equalHeight(group) { var tallest = 0; group.each(function() { var thisHeight = $(this).height(); if(thisHeight > tallest) { tallest = thisHeight; } }); group.height(tallest); } jQuery(document).ready(function() { equalHeight(jQuery(".formee-equal")); }); jQuery(window).resize(function() { equalHeight(jQuery(".formee-equal")); }); addFile = function() { var $this = $(this); $obj = $this.parent().prev('input'); $id = $obj.attr('id'); $('#' + $id).val($this.val()); }; $(function() { $('input:file').bind('change', addFile); });