57 lines
1.4 KiB
JavaScript
57 lines
1.4 KiB
JavaScript
|
//PASSWORD SHOW
|
||
|
$(".passwrd-icon").click(function() {
|
||
|
|
||
|
$(".passwrd-icon").toggleClass("icon-y");
|
||
|
|
||
|
var input = $( ".password_hide");
|
||
|
if (input.attr("type") == "password") {
|
||
|
input.attr("type", "text");
|
||
|
} else {
|
||
|
input.attr("type", "password");
|
||
|
}
|
||
|
});
|
||
|
$(".con-pass ").click(function() {
|
||
|
|
||
|
$(".con-pass").toggleClass("icon-y");
|
||
|
|
||
|
var input1 = $( ".password_hide_c");
|
||
|
if (input1.attr("type") == "password") {
|
||
|
input1.attr("type", "text");
|
||
|
} else {
|
||
|
input1.attr("type", "password");
|
||
|
}
|
||
|
});
|
||
|
|
||
|
$(".passwrd-con").click(function() {
|
||
|
$(".passwrd-con").toggleClass("icon-con-y");
|
||
|
var input = $(".paswd1");
|
||
|
if (input.attr("type") == "password") {
|
||
|
input.attr("type", "text");
|
||
|
} else {
|
||
|
input.attr("type", "password");
|
||
|
}
|
||
|
});
|
||
|
|
||
|
|
||
|
//mobile-menu
|
||
|
$(".mobileMenu").click(function(){
|
||
|
$(".sideMenu").toggleClass("side-menu-open");
|
||
|
});
|
||
|
$(function(){
|
||
|
var $ppc = $('.progress-pie-chart'),
|
||
|
percent = parseInt($ppc.data('percent')),
|
||
|
deg = 360*percent/100;
|
||
|
if (percent > 50) {
|
||
|
$ppc.addClass('gt-50');
|
||
|
}
|
||
|
$('.ppc-progress-fill').css('transform','rotate('+ deg +'deg)');
|
||
|
$('.ppc-percents span').html(percent+'%');
|
||
|
});
|
||
|
$(document).ready(function(){
|
||
|
if ( $('.listWithDrpdwn').hasClass('active') ) {
|
||
|
$('.dropdown-toggle').attr("aria-expanded","true");
|
||
|
$('.collapse').addClass('show')
|
||
|
}
|
||
|
});
|
||
|
|
||
|
|