friendica_2021.01_tupambae_.../include/main.js

34 lines
813 B
JavaScript
Raw Normal View History

function openClose(theID) {
if(document.getElementById(theID).style.display == "block") {
document.getElementById(theID).style.display = "none"
}
else {
document.getElementById(theID).style.display = "block"
}
}
2010-07-12 09:49:06 +02:00
function openMenu(theID) {
document.getElementById(theID).style.display = "block"
}
2010-07-12 09:49:06 +02:00
function closeMenu(theID) {
document.getElementById(theID).style.display = "none"
}
2010-07-13 01:43:59 +02:00
function commentOpen(obj,id) {
if(obj.value == 'Comment') {
obj.value = '';
obj.className = "comment-edit-text-full";
openMenu("comment-edit-submit-wrapper-" + id);
}
}
function commentClose(obj,id) {
if(obj.value == '') {
obj.value = 'Comment';
obj.className="comment-edit-text-empty";
closeMenu("comment-edit-submit-wrapper-" + id);
}
}
2010-07-12 09:49:06 +02:00