integration/js/common.js
brancheditorjs
changeset 15 56937307d7f4
child 16 7536b92a7775
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/integration/js/common.js	Thu Oct 25 13:31:02 2012 +0200
@@ -0,0 +1,21 @@
+$(function(){
+
+    $(".open-popin").click(function(){
+        var target = $(this).attr("href");
+        if($(target).is(':visible')){
+            $(target).hide();
+        }else{
+            $(target).show();
+        }
+        return false;
+    });
+    
+    $(".change-account").click(function() {
+        $(".user").hide();
+        $(".user.login").show();
+    });
+    $(".signup-button").click(function() {
+        $(".user").hide();
+        $(".user.signup").show();
+    });
+});
\ No newline at end of file