You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
768 B
JavaScript
36 lines
768 B
JavaScript
6 years ago
|
$(function(){
|
||
|
$("#profileRegistration").click(function(){
|
||
|
if($(this).attr("class")=="regshow"){
|
||
|
$(this).removeClass("regshow");
|
||
|
$(".profileRegistration").hide();
|
||
|
}else{
|
||
|
$(this).addClass("regshow");
|
||
|
$(".profileRegistration").show();
|
||
|
}
|
||
|
});
|
||
|
$(".profileHeadLogin").click(function(){
|
||
|
if($(this).attr("id")=="profile"){
|
||
|
$("#profileHeadLogin").hide();
|
||
|
$(this).attr("id","");}
|
||
|
else{
|
||
|
$("")
|
||
|
$("#profileHeadLogin").show();
|
||
|
$(this).attr("id","profile");
|
||
|
}
|
||
|
})
|
||
|
|
||
|
$(".viewothers").click(function(){
|
||
|
if($(this).attr("id")=="view"){
|
||
|
$("#viewothers").hide();
|
||
|
$(this).attr("id","");}
|
||
|
else{
|
||
|
$("")
|
||
|
$("#viewothers").show();
|
||
|
$(this).attr("id","view");
|
||
|
}
|
||
|
})
|
||
|
|
||
|
$("#loginbotton").click(function(){$("#logform").submit()})
|
||
|
});
|
||
|
|