New page data
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
|
||||
(function($) {
|
||||
'use strict';
|
||||
|
||||
|
||||
$("#modal_trigger").leanModal({top : 100, overlay : 0.6, closeButton: ".modal_close" });
|
||||
|
||||
$(function(){
|
||||
// Calling Login Form
|
||||
$("#login_form").click(function(){
|
||||
$(".social_login").hide();
|
||||
$(".user_login").show();
|
||||
return false;
|
||||
});
|
||||
|
||||
// Calling Register Form
|
||||
$("#register_form").click(function(){
|
||||
$(".social_login").hide();
|
||||
$(".user_register").show();
|
||||
$(".header_title").text('Register');
|
||||
return false;
|
||||
});
|
||||
|
||||
// Going back to Social Forms
|
||||
$(".back_btn").click(function(){
|
||||
$(".user_login").hide();
|
||||
$(".user_register").hide();
|
||||
$(".social_login").show();
|
||||
$(".header_title").text('Login');
|
||||
return false;
|
||||
});
|
||||
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
})(jQuery);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user