More progress on the application page.
Created and styled the forms for updating user/timeline information. Wired the hidden forms to links that expose them using jQuery.
This commit is contained in:
19
www/js/ts.js
Normal file
19
www/js/ts.js
Normal file
@ -0,0 +1,19 @@
|
||||
function toggleUserInfo(event) {
|
||||
$("#user-info").slideToggle("slow");
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
function showChangePwd(event) {
|
||||
$("#change-pwd").slideToggle("slow");
|
||||
}
|
||||
|
||||
function updateUser(event) {
|
||||
alert("TODO: update user via AJAX.");
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
function toggleTimelineInfo(event) {
|
||||
$("#timeline-info").slideToggle("slow");
|
||||
event.preventDefault();
|
||||
}
|
||||
|
Reference in New Issue
Block a user