aboutsummaryrefslogtreecommitdiffstats
path: root/web/js
diff options
context:
space:
mode:
authorJosh Angell <josh@supercooldesign.co.uk>2012-02-21 14:00:28 +0000
committerJosh Angell <josh@supercooldesign.co.uk>2012-02-21 14:00:28 +0000
commit4fee075f5c077bcf65b9611f9f1719cab9f3615a (patch)
tree75dc7718096ac647fb8f4ac4fc2cf492c26c4d78 /web/js
parent441f079ad3ebb22233540d7eb1c7b591c7c5fc98 (diff)
Add js for on show on focus in forms, plus some other styling bits for form buttons
Signed-off-by: Josh Angell <josh@supercooldesign.co.uk>
Diffstat (limited to 'web/js')
-rw-r--r--web/js/fixmystreet.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/js/fixmystreet.js b/web/js/fixmystreet.js
index 005693fd3..75ccc3a9c 100644
--- a/web/js/fixmystreet.js
+++ b/web/js/fixmystreet.js
@@ -270,4 +270,10 @@ $(function(){
var foo = $('.wrapper').height() - 500;
$('html, body').animate({scrollTop:foo}, 1000);
});
+
+
+ $('.form-focus-hidden').hide();
+ $('.form-focus-trigger').on('focus', function(){
+ $('.form-focus-hidden').fadeIn(500);
+ });
}); \ No newline at end of file