| Name | Size | Mode | Actions |
|---|---|---|---|
| libs/ | - | 0755 | rm |
| jquery-ui-1.8.23.custom.min.js | 11252 | 0644 | editdlrm |
| jquery.mobile-1.2.0.min.js | 113181 | 0644 | editdlrm |
| main.js | 4749 | 0644 | editdlrm |
| plugins.js | 98662 | 0644 | editdlrm |
| supersized.js | 26049 | 0644 | editdlrm |
/home/vianto5/.trash/cititower.mx/wp-content/themes/montreal/js/main.js (4749B)
Processing...
'); //Extract action URL from commentform var formurl=commentform.attr('action'); //Post Form with data $.ajax({ type: 'post', url: formurl, data: formdata, error: function(XMLHttpRequest, textStatus, errorThrown){ statusdiv.html('You might have left one of the fields blank, or be posting too quickly
'); }, success: function(data, textStatus){ if(data=="success") statusdiv.html('Thanks for your comment. We appreciate your response.
'); else statusdiv.html('Thanks for your comment. We appreciate your response.
'); commentform.find('textarea[name=comment]').val(''); } }); return false; }); $('#newsletter').submit(function(){ var action = $(this).attr('action'); $("footer #message").slideUp(750,function() { $('footer #message').hide(); $.post(action, { email: $('#email').val() }, function(data){ $('footer #message').html(data); $('footer #message').slideDown('slow'); if(data.match('success') != null) $('#newsletter').slideUp('slow'); } ); }); return false; }); //MEDIA PLAYER $('audio,video').mediaelementplayer({ videoWidth: '100%', videoHeight: '100%', audioWidth: '100%', features: ['playpause','progress','tracks','volume'], videoVolume: 'horizontal' }); //TEST FOR TOUCH DEVICES if (Modernizr.touch){ jQuery('#navigationmain ul').css( { 'display' : 'none' } ); jQuery('select.selectnav').css( { 'display' : 'block', 'padding' : '10px', 'font-family' : 'inherit', 'width' : '60%', 'border-radius' : '4px', 'font-size' : '14px', 'margin-bottom' : '10px', 'margin-top' : '15px', 'float' : 'right' } ); } }); // navivation